File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 9292 filesystem_store_datadir = /var/lib/glance/images/
9393 storage:
9494 storageRequest: 10G
95+ keystoneEndpoint: nfs
9596 glanceAPIs:
96- default :
97+ nfs :
9798 replicas: 3
9899 type: single
99100 override:
@@ -121,14 +122,22 @@ EOF
121122$ oc patch openstackcontrolplane openstack --type=merge --patch-file glance_nfs_patch.yaml
122123----
123124
125+ . Patch the `OpenStackControlPlane` CR to remove the default {image_service}:
126+ +
127+ ----
128+ $ oc patch openstackcontrolplane openstack --type=json -p="[{'op': 'remove', 'path': '/spec/glance/template/glanceAPIs/default'}]"
129+ ----
130+
124131.Verification
125132
126133* When `GlanceAPI` is active, confirm that you can see a single API instance:
127134+
128135----
129136$ oc get pods -l service=glance
130137NAME READY STATUS RESTARTS
131- glance-default-single-0 3/3 Running 0
138+ glance-nfs-single-0 2/2 Running 0
139+ glance-nfs-single-1 2/2 Running 0
140+ glance-nfs-single-2 2/2 Running 0
132141----
133142
134143* Ensure that the description of the pod reports the following output:
You can’t perform that action at this time.
0 commit comments