Skip to content

Commit 4593ac4

Browse files
Merge pull request openstack-k8s-operators#997 from fmount/glance_nfs_doc
Fix Glance NFS adoption doc
2 parents 437e069 + 76f9fb6 commit 4593ac4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs_user/modules/proc_adopting-image-service-with-nfs-backend.adoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ spec:
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
130137
NAME 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:

0 commit comments

Comments
 (0)