Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

/api/user/services does not return namespace info for some users: #2338

Closed
ibuziuk opened this issue Oct 30, 2018 · 8 comments
Closed

/api/user/services does not return namespace info for some users: #2338

ibuziuk opened this issue Oct 30, 2018 · 8 comments
Labels

Comments

@ibuziuk
Copy link
Contributor

ibuziuk commented Oct 30, 2018

curl -k -H "Authorization: Bearer <TOKEN>" https://api.prod-preview.openshift.io/api/user/services | jq '.' returns the following response for 9349415e-21b8-43e9-a3dd-31079b02d61a1 :

{
  "data": {
    "attributes": {
      "created-at": "2018-10-29T12:19:20.369725Z"
    },
    "id": "9349415e-21b8-43e9-a3dd-31079b02d61a",
    "type": "userservices"
  }
}

All the namespaces info are missing, is missing event hough namespaces have been provisioned correctly on oso side:

image

This error prevents che workspace to start for the user since we fall back on this API in particular for checking cluster-capacity-exhausted flag.

@ibuziuk
Copy link
Contributor Author

ibuziuk commented Oct 30, 2018

cc: @aslakknutsen @alexeykazakov

@ScrewTSW
Copy link

Original account creation issue handled by @dipak-pawar
https://gitlab.cee.redhat.com/dtsd/housekeeping/issues/2410

@alexeykazakov
Copy link
Contributor

@MatousJobanek can you please take a look at this user/namespaces?

@ScrewTSW
Copy link

ScrewTSW commented Dec 4, 2018

Hello guys, the issue is still present.

che-master logs: https://pastebin.com/tqRARnCr
auth logs: https://pastebin.com/edit/qh8GBCSk

nothing in events on starter cluster, pod was never created.

@ScrewTSW
Copy link

ScrewTSW commented Dec 4, 2018

bump @alexeykazakov @MatousJobanek

@MatousJobanek
Copy link

Just working on fixing the account setup. Today I didn't make it running - unfortunately, OpenShift still complains about conflicts even though there is no namespace with such a name. I'll continue tomorrow

@ScrewTSW
Copy link

ScrewTSW commented Dec 5, 2018

resolved. toggle was set to single-tenant. reset environment fixed the issue

@MatousJobanek
Copy link

That the toggle deploy.che-multi-tenant was disabled was part of the whole problem. But as @ScrewTSW has already mentioned, reset of the whole tenant environment (plus a few additional steps) helped and the account is working correctly.
Closing this issue...

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

No branches or pull requests

4 participants