Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7533

configuration to use ceph rgw as object-store is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • keystone-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • DFG Security: UC Sprint 97, DFG Security: UC Sprint 98, DFG Security: UC Sprint 99, DFG Security: UC Sprint 100, DFG Security: UC Sprint 101
    • Important

      we run the set of commands [1] to configure ceph rgw as the object-store, commands executed successfuly but keystore reports these 

       

      127467:[Thu Jun 06 09:46:52.682148 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:55682] 2024-06-06 09:46:52.680 24 ERROR keystone.server.flask.application keystone.exception.ServiceNotFound: Could not find service: object-store.
      127524:[Thu Jun 06 09:47:00.284810 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:42356] 2024-06-06 09:47:00.283 24 ERROR keystone.server.flask.application [None req-238dd1d4-968b-4eae-b86e-ca447d045579 9f9b4aedac9146f58f112552abc3b68d 5e98eb559dc34549894db3ef8bd92eed - - default default] Could not find service: object-store.: keystone.exception.ServiceNotFound: Could not find service: object-store.
      127532:[Thu Jun 06 09:47:00.284855 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:42356] 2024-06-06 09:47:00.283 24 ERROR keystone.server.flask.application keystone.exception.ServiceNotFound: Could not find service: object-store.
      127568:[Thu Jun 06 09:47:00.284960 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:42356] 2024-06-06 09:47:00.283 24 ERROR keystone.server.flask.application keystone.exception.ServiceNotFound: Could not find service: object-store.
      127625:[Thu Jun 06 09:47:08.774609 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:58816] 2024-06-06 09:47:08.773 24 ERROR keystone.server.flask.application [None req-6828fa23-95a8-4dab-ba2e-fa1ea93a99d7 9f9b4aedac9146f58f112552abc3b68d 5e98eb559dc34549894db3ef8bd92eed - - default default] Could not find role: swiftoperator.: keystone.exception.RoleNotFound: Could not find role: swiftoperator.
      127666:[Thu Jun 06 09:47:08.775031 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:58816] 2024-06-06 09:47:08.773 24 ERROR keystone.server.flask.application keystone.exception.RoleNotFound: Could not find role: swiftoperator.
      127672:[Thu Jun 06 09:47:08.876304 2024] [wsgi:error] [pid 25:tid 113] [remote 192.168.16.2:58816] 2024-06-06 09:47:08.875 25 ERROR keystone.server.flask.application [None req-862e3804-4e00-43b3-a103-a6b685592ddd 9f9b4aedac9146f58f112552abc3b68d 5e98eb559dc34549894db3ef8bd92eed - - default default] Could not find user: admin.: keystone.exception.UserNotFound: Could not find user: admin.
      127713:[Thu Jun 06 09:47:08.879531 2024] [wsgi:error] [pid 25:tid 113] [remote 192.168.16.2:58816] 2024-06-06 09:47:08.875 25 ERROR keystone.server.flask.application keystone.exception.UserNotFound: Could not find user: admin.
      127718:[Thu Jun 06 09:47:09.010313 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:58816] 2024-06-06 09:47:09.009 24 ERROR keystone.server.flask.application [None req-4834950d-582f-4809-a732-5db1b13310b6 9f9b4aedac9146f58f112552abc3b68d 5e98eb559dc34549894db3ef8bd92eed - - default default] Could not find project: admin.: keystone.exception.ProjectNotFound: Could not find project: admin.
      127755:[Thu Jun 06 09:47:09.010458 2024] [wsgi:error] [pid 24:tid 92] [remote 192.168.16.2:58816] 2024-06-06 09:47:09.009 24 ERROR keystone.server.flask.application keystone.exception.ProjectNotFound: Could not find project: admin.

       

      you can see the complete stack trace in attached keystone pod log.

       

      we see 401 error when we try to create or access objects.

      [zuul@controller-0 ci-framework]$ oc rsh openstackclient openstack container list  
      Unrecognized schema in response body. (HTTP 401) (Request-ID: tx00000df13653fe86e79ce-0066618b7f-638b-default)
      command terminated with exit code 1
      [zuul@controller-0 ci-framework]$ oc rsh openstackclient openstack container create abc
      Unauthorized (HTTP 401) (Request-ID: tx00000bebc974fa3f47df6-0066618c23-6350-default)
      command terminated with exit code 1

       

      [1] https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/cifmw_cephadm/tasks/configure_object.yml#L47-L55

            Unassigned Unassigned
            rh-ee-mkatari Manoj Katari
            rhos-dfg-security
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: