<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/282234#M3233</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried &lt;EM&gt;infra-only + app-mon&lt;/EM&gt;, and also &lt;EM&gt;cloud-native full-stack&amp;nbsp;&lt;/EM&gt;(without &lt;STRIKE&gt;CSI&lt;/STRIKE&gt;&amp;nbsp;). Fine.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 12:13:08 GMT</pubDate>
    <dc:creator>gilles_tabary</dc:creator>
    <dc:date>2025-07-24T12:13:08Z</dc:date>
    <item>
      <title>OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276474#M3018</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;We are on Managed.&lt;/P&gt;&lt;P&gt;We are testing app-monitoring in OpenShift with Dynatrace OpenShift operator 1.5.1 :&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/whats-new/dynatrace-operator/dto-fix-1-5-1" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/whats-new/dynatrace-operator/dto-fix-1-5-1&lt;/A&gt;&amp;nbsp;(the requirements are satisfied: Cluster v1.312.51&amp;nbsp;+ AG v1.311 + OA&amp;nbsp; v1.311.72).&lt;/P&gt;&lt;P&gt;When a &lt;EM&gt;deployment&lt;/EM&gt; try to start &lt;EM&gt;replicat&lt;/EM&gt; we get this error : r&lt;SPAN&gt;unAsUser 1001 not allowed, must be in the range [1001060000, 1001069999].&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;30s Warning FailedCreate replicaset/x0m-56854c4ffd Error creating: pods "x0m-56854c4ffd-" is forbidden: unable to validate against any security context constraint: [provider "anyuid": Forbidden: not usable by user or serviceaccount, provider "trident-controller": Forbidden: not usable by user or serviceaccount, provider restricted-v2: .initContainers[1].runAsUser: Invalid value: 1001: must be in the ranges: [1001060000, 1001069999], provider "restricted": Forbidden: not usable by user or serviceaccount, provider "nonroot-v2": Forbidden: not usable by user or serviceaccount, provider "nonroot": Forbidden: not usable by user or serviceaccount, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "logging-scc": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork-v2": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider "hostaccess": Forbidden: not usable by user or serviceaccount, provider "trident-node-linux": Forbidden: not usable by user or serviceaccount, provider "node-exporter": Forbidden: not usable by user or serviceaccount, provider "privileged": Forbidden: not usable by user or serviceaccount]&lt;/LI-CODE&gt;&lt;P&gt;AFAIU Dynatrace Operator should not try to assign a User ID for it's OneAgent agent / code module, because OpenShift handles automatically the assignment. OpenShift doc&amp;nbsp;@&amp;nbsp;&lt;A href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/authentication_and_authorization/managing-pod-security-policies#security-context-constraints-example_configuring-internal-oauth" target="_self"&gt;security-context-constraints-example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Any feed back from someone on that ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 10:04:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276474#M3018</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-05-06T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276700#M3027</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;this should be investigated in a support ticket. Attach also support archive and information regarding the Openshift version.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 20:05:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276700#M3027</guid>
      <dc:creator>yanezza</dc:creator>
      <dc:date>2025-05-07T20:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276732#M3032</link>
      <description>&lt;P&gt;Could it be that setting a runAsUser value at&amp;nbsp;&lt;A title="https://github.com/dynatrace/dynatrace-operator/blob/main/pkg/webhook/mutation/pod/v2/init.go#l75" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/pkg/webhook/mutation/pod/v2/init.go#L75" rel="noreferrer" target="_blank"&gt;https://github.com/Dynatrace/dynatrace-operator/blob/main/pkg/webhook/mutation/pod/v2/init.go#L75&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;is interfering with default OpenShift automatic uid assigment ? Doc&amp;nbsp;&lt;A href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/authentication_and_authorization/managing-pod-security-policies#security-context-constraints-pre-allocated-values_configuring-internal-oauth" rel="noreferrer" target="_blank"&gt;15.2.&amp;nbsp;About pre-allocated security context constraints values&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(Yes we have a ticket open :-))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 07:25:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/276732#M3032</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-05-08T07:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/277460#M3049</link>
      <description>&lt;P&gt;Hi there, &lt;/P&gt;
&lt;P&gt;This is a known issue, and a fix is in progress.&lt;/P&gt;
&lt;P&gt;While we are working on a fix, apply one of the following changes to work around the problem:&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;add &lt;CODE&gt;spec.securityContext.RunAsUser(Group)&lt;/CODE&gt; on the POD level valid ID value can be found in the app namespace’s annotations&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE&gt;kind: Namespace&lt;BR /&gt;metadata:&lt;BR /&gt;  annotations:&lt;BR /&gt;    openshift.io/sa.scc.supplemental-groups: 1000660000/10000&lt;BR /&gt;    openshift.io/sa.scc.uid-range: 1000660000/10000&lt;/CODE&gt;&lt;/PRE&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;add nonroot-v2 SCC to the ServiceAccount&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE&gt;apiVersion: rbac.authorization.k8s.io/v1&lt;BR /&gt;kind: RoleBinding&lt;BR /&gt;metadata:&lt;BR /&gt;  name: &amp;lt;name&amp;gt;&lt;BR /&gt;  namespace: &amp;lt;app namespace&amp;gt;&lt;BR /&gt;roleRef:&lt;BR /&gt;  apiGroup: rbac.authorization.k8s.io&lt;BR /&gt;  kind: ClusterRole&lt;BR /&gt;  name: system&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@5212909FB2CD724D8357AAB19125D03B/images/emoticons/openshift.png" alt=":openshift:" title=":openshift:" /&gt;scc:nonroot-v2&lt;BR /&gt;subjects:&lt;BR /&gt;- kind: ServiceAccount&lt;BR /&gt;  name: &amp;lt;app ServiceAccount&amp;gt;&lt;BR /&gt;  namespace: &amp;lt;app namespace&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 08:19:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/277460#M3049</guid>
      <dc:creator>shahinm</dc:creator>
      <dc:date>2025-05-19T08:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280353#M3183</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Any update on this issue? Will it be fixed in the next release and if so ..any idea when it will be released?&lt;/P&gt;&lt;P&gt;From what I read in the work around, both seem actions that need to be performed per namespace?&lt;/P&gt;&lt;P&gt;So a customer with +500 namespaces need to implement this +500 times and any future deployment&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 12:28:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280353#M3183</guid>
      <dc:creator>BertEvo</dc:creator>
      <dc:date>2025-06-27T12:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280354#M3184</link>
      <description>&lt;P&gt;The Operator release 1.6.0 includes the fix. You can already try a release candidate in any affected &lt;STRONG&gt;non-prod&lt;/STRONG&gt; environment.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Dynatrace/dynatrace-operator/tree/v1.6.0-rc.2" target="_blank"&gt;https://github.com/Dynatrace/dynatrace-operator/tree/v1.6.0-rc.2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 12:35:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280354#M3184</guid>
      <dc:creator>shahinm</dc:creator>
      <dc:date>2025-06-27T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280414#M3187</link>
      <description>&lt;P&gt;AFAIU this is (for now) available only throuh helm (requiering more &lt;EM&gt;hacky&lt;/EM&gt; work for integration), not through OpenShift operator hub and standard operator integration.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 07:46:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280414#M3187</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-06-30T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280454#M3190</link>
      <description>&lt;P&gt;I have used the YAML files of&amp;nbsp;&lt;A href="https://github.com/Dynatrace/dynatrace-operator/releases/tag/v1.6.0-rc.2" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-operator/releases/tag/v1.6.0-rc.2&lt;/A&gt;&amp;nbsp;for OpenShift (4.13):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;openshift.yaml&lt;/LI&gt;&lt;LI&gt;openshift-csi.yaml&lt;/LI&gt;&lt;LI&gt;dynatrace-operator-crd.yaml&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the first two files I replaced the redhat image link with the one of Docker&amp;nbsp;&lt;SPAN&gt;"dynatrace/dynatrace-operator:v1.6.0-rc.2"&lt;/SPAN&gt;. Since redhat one does not exist.&lt;/P&gt;&lt;P&gt;I had to add the CRD via OpenShift gui or I got an error.&lt;/P&gt;&lt;P&gt;I then Added the DynaKube config for beta5 and everything is running. I can see my cluster in Dynatrace.&lt;/P&gt;&lt;P&gt;However, we still have the issue our GitLab runners and other deployments are getting:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR: Error cleaning up pod: resource name may not be empty
ERROR: Job failed (system failure): prepare environment: setting up build pod: pods "runner-t1qz363-project-22774-concurrent-0-bzq4fg5s" is forbidden: unable to validate against any security context constraint: [spec.volumes[5]: Invalid value: "csi": csi volumes are not allowed to be used, provider restricted-v2: .initContainers[1].runAsUser: Invalid value: 1001: must be in the ranges: [1006100000, 1006109999], provider restricted: .initContainers[1].runAsUser: Invalid value: 1001: must be in the ranges: [1006100000, 1006109999], provider "nonroot-v2": Forbidden: not usable by user or serviceaccount, provider "nonroot": Forbidden: not usable by user or serviceaccount, provider "rsync-anyuid": Forbidden: not usable by user or serviceaccount, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "elasticsearch-scc": Forbidden: not usable by user or serviceaccount, provider "logging-scc": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork-v2": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider "hostaccess": Forbidden: not usable by user or serviceaccount, provider restricted-csi: .initContainers[1].runAsUser: Invalid value: 1001: must be in the ranges: [1006100000, 1006109999], provider "node-exporter": Forbidden: not usable by user or serviceaccount, provider "privileged": Forbidden: not usable by user or serviceaccount, provider "velero-privileged": Forbidden: not usable by user or serviceaccount]. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The GitLab runner pods were restarted.&lt;/P&gt;&lt;P&gt;As soon as we uninstall DT, it works again.&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 12:56:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/280454#M3190</guid>
      <dc:creator>MichaelL</dc:creator>
      <dc:date>2025-06-30T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/282018#M3231</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;We now use&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/whats-new/dynatrace-operator/dto-fix-1-6-0" target="_blank"&gt;https://docs.dynatrace.com/docs/whats-new/dynatrace-operator/dto-fix-1-6-0&lt;/A&gt;&amp;nbsp;(channel:alpha&amp;nbsp; catalogsource_name:certified-operators&amp;nbsp; &amp;nbsp;catalogsource_namespace:openshift-marketplace).&lt;/P&gt;&lt;P&gt;The issue "&lt;SPAN&gt;runAsUser 1001 not allowed" is fixed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 09:33:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/282018#M3231</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-07-22T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: OpenShift Dynatrace operator 1.5.1: app-mon pod fail to start for runAsUser 1001 not allowed</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/282234#M3233</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried &lt;EM&gt;infra-only + app-mon&lt;/EM&gt;, and also &lt;EM&gt;cloud-native full-stack&amp;nbsp;&lt;/EM&gt;(without &lt;STRIKE&gt;CSI&lt;/STRIKE&gt;&amp;nbsp;). Fine.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 12:13:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/OpenShift-Dynatrace-operator-1-5-1-app-mon-pod-fail-to-start-for/m-p/282234#M3233</guid>
      <dc:creator>gilles_tabary</dc:creator>
      <dc:date>2025-07-24T12:13:08Z</dc:date>
    </item>
  </channel>
</rss>

