@@ -16,11 +16,6 @@ deploy single or multiple FlashBlade manila back ends in a RHOSO cluster.
1616 For more information about RHOSO, please refer to its `documentation pages
1717 <https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0-beta/html/deploying_red_hat_openstack_services_on_openshift/index> `_.
1818
19- .. warning ::
20-
21- RHOSO18.0 is based on OpenStack 2023.1 (Antelope) release with 2023.2 (Bobcat) backports. Features
22- included after Antelope release may not be available in RHOSO18.0.
23-
2419Requirements
2520------------
2621
@@ -42,8 +37,28 @@ Use Certified Pure Storage Manila Share Image
4237Red Hat requires that you utilize the Certified Pure Storage Manila Share
4338Image when deploying RHOSO18.0 with a Pure Storage FlashArray backend.
4439
45- This container can be found in the `Red Hat Container Catalog <https://catalog.redhat.com/search?searchType=containers&partnerName=Pure%20Storage%2C%20Inc.&p=1 >`__
46- and should be stored in a local registry.
40+ This container can be found in the `Red Hat Container Catalog <https://catalog.redhat.com/search?searchType=containers&partnerName=Pure%20Storage%2C%20Inc.&p=1 >`__.
41+
42+ Ensure the certified image is added to the ``openstackversion `` CR. This is defined in the following YAML file (``openstack_version.yaml ``):
43+
44+ .. code-block :: yaml
45+ :name : manila-openstackversion
46+
47+ apiVersion : core.openstack.org/v1beta1
48+ kind : OpenStackVersion
49+ metadata :
50+ name : openstack
51+ spec :
52+ customContainerImages :
53+ manilaShareImages :
54+ flashblade : registry.connect.redhat.com/purestorage/openstack-manila-share-pure-18-0
55+
56+ Save this file and update:
57+
58+ .. code-block :: bash
59+ :name: manila-openstackversion-apply
60+
61+ $ oc apply -f openstack-version.yaml
4762
4863 Create a Secret file
4964^^^^^^^^^^^^^^^^^^^^
@@ -71,33 +86,11 @@ Create the OpenShift secret based on the above configuration file:
7186
7287 For security, you may now delete the configuration file.
7388
74- Create an OpenStackVersion config file
75- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76-
77- As previously mentioned, it is required, when using FlashBlades as Manila
78- backends, that a certified Manila Share image is used within the RHOSO
79- deployment. This is defined in the following YAML file (``pure-m-shr-image.yaml ``):
80-
81- .. code-block :: yaml
82- :name : manila-pure-openstackversion
83-
84- apiVersion : core.openstack.org/v1beta1
85- kind : OpenStackVersion
86- metadata :
87- name : openstack
88- spec :
89- customContainerImages :
90- manilaShareImages :
91- flashblade : registry.connect.redhat.com/purestorage/openstack-manila-share-pure-18-0
92-
93- In this example the image is being pulled directly from the Red Hat image registry, but you
94- may use a copy in your local image registry created by the OpenShift deployment.
95-
9689Update the OpenStack Control Plane
9790^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9891
99- Create the following file (`` pure-m-shr-config .yaml ``) to update the OpenStack
100- control plane with the FlashBlade manila backend(s):
92+ Open your OpenStackControlPlane CR file, `` openstack_control_plane .yaml ``. Edit the CR file and add in the
93+ Pure Storage Cinder volume backend.
10194
10295.. code-block :: yaml
10396 :name : manila-pure-openstackcontrolplane
@@ -122,8 +115,9 @@ control plane with the FlashBlade manila backend(s):
122115 flashblade :
123116 networkAttachments :
124117 - storage
118+ - storageMgmt
125119 customServiceConfigSecrets :
126- - pure-fb-_secret
120+ - pure-fb-secret
127121 customServiceConfig : |
128122 [DEFAULT]
129123 debug = true
@@ -134,19 +128,13 @@ control plane with the FlashBlade manila backend(s):
134128 share_driver=manila.share.drivers.purestorage.flashblade.FlashBladeShareDriver
135129
136130
137- Apply the custom configurations
138- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
139-
140- After ensuring that you full admininstrative access to the OpenShift cluster, apply
141- the above configuration files:
131+ Save this file and update:
142132
143133.. code-block :: bash
144- :name: pure-manila-apply
145-
146- $ oc apply -f ./pure-secrets.yaml
147- $ oc apply -f ./pure-m-shr-image.yaml
148- $ oc apply -f ./pure-m-shr-config.yaml
134+ :name: manila-openstackversion-apply
149135
136+ $ oc apply -f openstack_control_plane.yaml
137+
150138 Test the Deployed Back Ends
151139^^^^^^^^^^^^^^^^^^^^^^^^^^^
152140
@@ -156,22 +144,21 @@ Manila services are up:
156144.. code-block :: bash
157145 :name: manila-service-list
158146
159- $ export OS_CLOUD=< your cloud name>
160- $ export OS_PASSWORD=< your password>
161- $ openstack share service list
147+ $ oc rsh openstackclient
148+ sh-5.1$ openstack share service list
162149
163150
164151 Run the following commands to create the share types mapped to the deployed back ends:
165152
166153.. code-block :: bash
167154 :name: create-share-types
168155
169- $ openstack share type create --snapshot_support true ---revert_to_snapshot_support true flashblade false
156+ sh-5.1 $ openstack share type create --snapshot_support true ---revert_to_snapshot_support true flashblade false
170157
171158 Make sure that you're able to create Manila shares with the configured volume
172159types:
173160
174161.. code-block :: bash
175162 :name: create-shares
176163
177- $ openstack share create --share-type flashblade --name testshare NFS 1
164+ sh-5.1 $ openstack share create --share-type flashblade --name testshare NFS 1
0 commit comments