SAP / sap-btp-service-operator

SAP BTP service operator enables developers to connect Kubernetes clusters to SAP BTP accounts and to consume SAP BTP services within the clusters by using Kubernetes native tools.
Apache License 2.0
126 stars 52 forks source link

Failed to create service instance #433

Closed ww917352 closed 6 months ago

ww917352 commented 6 months ago

Dear colleagues,

We are trying to create AI Core service instances via BTP operator on eu10 production. The creation failed, and I could see the following error message in the live manifest of the serviceinstance:

error sending request GET /v1/service_instances: Get
        "<<...encrypted_string...>>/v1/service_instances?attach_last_operations=true&fieldQuery=name+eq+%27ai-core%27+and+context%2Fclusterid+eq+%27B9F82677-D4A8-6153-847D-B291568D6256%27+and+context%2Fnamespace+eq+%27ai-core-namespace%27&labelQuery=_k8sname+eq+%27aicore-service-instance%27":
        Post
        "<<....encrypted_string....>>/oauth/token":
        unsupported protocol scheme ""

Can you please help me? Thank you!

If you want to check the encrypted strings in the above message, please contact me via Slack.

Cheers, Wei

ww917352 commented 6 months ago

I will close this ticket for now. I am more convinced now it is an AI Core issue.

kerenlahav commented 6 months ago

Hi @ww917352 Seems like an issue with the operator's credentials, verify that service manager url and token url are correct. Thanks, Keren

ww917352 commented 6 months ago

The issue was caused at our side that we accidentally base64-encoded our secrets twice. Thank you for looking into this.