Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceInstance is not reconciled #487

Open
s-lavr opened this issue Nov 27, 2024 · 2 comments
Open

ServiceInstance is not reconciled #487

s-lavr opened this issue Nov 27, 2024 · 2 comments

Comments

@s-lavr
Copy link

s-lavr commented Nov 27, 2024

Hi! We are deploying a Dynatrace service instance and related resources using a Helm chart. Unfortunately, when we deploy the ServiceInstance resource simultaneously with the Entitlement resource (deployed by Crossplane), we encounter the following error:

 ServiceInstance create failed: couldn't find the service offering 'dynatrace' on dataCenter ''

The entitlement takes approximately 15 seconds to become ready, but the ServiceInstance remains stuck in the CreatedFailed state. Is it possible for it to reconcile after a while and self-heal?

We are using the sap-btp-service-operator v0.6.8. In the controller logs, I noticed these messages:

2024-11-27T12:14:01Z    INFO    controllers.ServiceInstance    unable to cast error to SM error, will be treated as non transient    {"serviceinstance": {"name":"dynatrace-dynatrace-instance","namespace":"default"}, "correlation_id": "0f3ae3d8-c2e2-47cf-8d71-8bfdeb42a2d9"}
2024-11-27T12:14:01Z    INFO    controllers.ServiceInstance    operation create of ServiceInstance encountered a non transient error couldn't find the service offering 'dynatrace' on dataCenter '', giving up operation :(    {"serviceinstance": {"name":"dynatrace-dynatrace-instance","namespace":"default"}, "correlation_id": "0f3ae3d8-c2e2-47cf-8d71-8bfdeb42a2d9"}
2024-11-27T12:14:01Z    INFO    controllers.ServiceInstance    updating ServiceInstance status    {"serviceinstance": {"name":"dynatrace-dynatrace-instance","namespace":"default"}, "correlation_id": "0f3ae3d8-c2e2-47cf-8d71-8bfdeb42a2d9"}
2024-11-27T12:14:01Z    INFO    controllers.ServiceInstance    instance is in final state (generation: 1)    {"serviceinstance": {"name":"dynatrace-dynatrace-instance","namespace":"default"}, "correlation_id": "754fb8f6-6c4d-40c0-ba61-aa8e3d9dacba"}
2024-11-27T12:14:01Z    INFO    controllers.ServiceInstance    instance is in final state (generation: 1)    {"serviceinstance": {"name":"dynatrace-dynatrace-instance","namespace":"default"}, "correlation_id": "a2ace259-9769-4cdb-bf36-95c60f4b9a2e"}
@I065450
Copy link
Collaborator

I065450 commented Dec 3, 2024

Hi @s-lavr

We are discussing this internally and will provide an update soon.

Regards,
Naama

@I065450
Copy link
Collaborator

I065450 commented Dec 23, 2024

Hi @s-lavr

Could you provide more details about your scenario?
Is it a productive scenario or a testing one?
Additionally, can you separate the two steps: creating the entitlement and creating the service?

Thanks,
Naama

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants