cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace-openshift integration error

ggogi
Observer

 

 

Hi,

 

Iam trying to Integrate Dynatrace with openshift using dynatrace operator appraoch.

 

Tried to run the below commands and getting error on first command.

 

please help me to fix this issue.

 

oc adm new-project --node-selector="" dynatrace
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/openshift.yaml
oc -n dynatrace wait pod --for=condition=ready --selector=app.kubernetes.io/name=dynatrace-operator,app.kubernetes.io/component=webhook --timeout=300s
oc apply -f dynakube.yaml

 

Error from server (Forbidden): projects.project.openshift.io "dynatrace" is forbidden: User "goudareddy26" cannot get resource "projects" in API group "project.openshift.io" in the namespace "dynatrace"

 

 

ggogi_0-1656339371499.png

 

Thanks.

1 REPLY 1

dannemca
DynaMight Champion
DynaMight Champion

Feels like your user is not allowed to create new projects (namespaces) into the Cluster.

Can you confirm if your user has the proper roles? https://www.dynatrace.com/support/help/shortlink/full-stack-dto-k8#tokens

Site Reliability Engineer @ Kyndryl