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

Adoption Guide - When adopting the Image service with Ceph backend - replica set of the GlanceAPI shouldn't be 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhos-18.0.z
    • documentation
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-day1day2-upgrades
    • None
    • RHOS Upgrades 2025 Sprint 17
    • 1
    • Critical

      In this chapter:

      https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html/adopting_a_red_hat_openstack_platform_17.1_deployment/adopting-openstack-control-plane-services_configuring-network#adopting-image-service-with-ceph-backend_image-service

       

      glance_patch.yaml has replicas to 0:

      cat << EOF > glance_patch.yaml
      spec:
        glance:
          enabled: true
          template:
            databaseInstance: openstack
            customServiceConfig: |
              [DEFAULT]
              enabled_backends=default_backend:rbd
              [glance_store]
              default_backend=default_backend
              [default_backend]
              rbd_store_ceph_conf=/etc/ceph/ceph.conf
              rbd_store_user=openstack
              rbd_store_pool=images
              store_description=Ceph glance store backend.
            storage:
              storageRequest: 10G
            glanceAPIs:
              default:
                replicas: 0
                override:
                  service:
                    internal:
                      metadata:
                        annotations:
                          metallb.universe.tf/address-pool: internalapi
                          metallb.universe.tf/allow-shared-ip: internalapi
                          metallb.universe.tf/loadBalancerIPs: <172.17.0.80>
                      spec:
                        type: LoadBalancer
                networkAttachments:
                - storage
      EOF 

      It should be 3. 

      With replica 0, it (obviously) fails in the verification of the adoption:

      sh-5.1$ openstack image list
      Failed to contact the endpoint at http://glance-default-public-openstack.apps.ocp4.example.com for discovery. Fallback to using that endpoint as the base url.
      Failed to contact the endpoint at http://glance-default-public-openstack.apps.ocp4.example.com for discovery. Fallback to using that endpoint as the base url.
      The image service for default:regionOne exists but does not have any supported versions.
      sh-5.1$ 

       

       

              kgilliga@redhat.com Katie Gilligan
              pnavarro@redhat.com Pedro Navarro Perez
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: