# Host groups arn't getting assinged to OpenShift nodes using Dynatrace Operator

**URL:** <https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-operator, hosts-classic\
**Created:** [April 16, 2024, 2:43pm UTC](https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159 "2024-04-16T14:43:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_M](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@Michael\_M](https://community.dynatrace.com/u/Michael_M)\
**Post date:** [April 16, 2024, 2:43pm UTC](https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159/1 "2024-04-16T14:43:21Z")

</div>

Hi all,

I’m currently trying to assign a host group to my OpenShift nodes via the Dynatrace Operator,  
to get the benefits of assigning different settings to them then other systems in my environment.

Currently, there is no host group assigned to the hosts but the OneAgent is already running on them.  
They are running in ClassicFullStack.

As I’m still on version 0.15 of the operator I’m using the args option in the dynakube YAML and what I can see in the logs of the PODs the parameter is passed down to the installer but the groups doesn’t show up in the UI.

The agent version I’m using is 1.285.156.20240411-155145

Any idea what I’m doing wrong here?

Regards

Michael

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 16, 2024, 2:57pm UTC](https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159/2 "2024-04-16T14:57:57Z")

</div>

Are you using apponly, native or classic?

---

<div class="post-metadata">

**Author:** ![Michael\_M](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@Michael\_M](https://community.dynatrace.com/u/Michael_M)\
**Post date:** [April 16, 2024, 3:01pm UTC](https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159/3 "2024-04-16T15:01:04Z")

</div>

Hi PacoPorro,

Sorry, forgot that one. Currently ClassicFullStack and planing in May or June to migrate to CloudNative

---

<div class="post-metadata">

**Author:** ![Michael\_M](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@Michael\_M](https://community.dynatrace.com/u/Michael_M)\
**Post date:** [April 23, 2024, 9:01am UTC](https://community.dynatrace.com/t/host-groups-arnt-getting-assinged-to-openshift-nodes-using-dynatrace-operator/45159/4 "2024-04-23T09:01:48Z")

</div>

For everyone who as similar problem: Don’t use double quotes to enclose the value.

My first try was something like this out of habit:  
--set-host-group=“value”

As soon as I removed them, it worked fine.  
--set-host-group=value

To verify if the installer has set the host group, you can create a Dynatrace OneAgent Diagnostig bundle and look in the \*/logs/installer/installation\_\*.log file.
