Skip to content

Commit 2b1df12

Browse files
committed
Update Manila commands
1 parent f5bd9f9 commit 2b1df12

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

doc/source/contributor/environments/ci-multinode.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,35 +109,36 @@ Then create a share type and share:
109109

110110
.. code-block:: bash
111111
112-
manila type-create cephfs-type false --is_public true
113-
manila type-key cephfs-type set vendor_name=Ceph storage_protocol=CEPHFS
114-
manila create --name test-share --share-type cephfs-type CephFS 2
112+
openstack share type create cephfs-type false --public true
113+
openstack share type set cephfs-type --extra-specs vendor_name=Ceph
114+
openstack share type set cephfs-type --extra-specs storage_protocol=CEPHFS
115+
openstack share create --name test-share --share-type cephfs-type --public true CephFS 2
115116
116117
Wait until the share is available:
117118

118119
.. code-block:: bash
119120
120-
manila list
121+
openstack share list
121122
122123
Then allow access to the shares to two users:
123124

124125
.. code-block:: bash
125126
126-
manila access-allow test-share cephx alice
127-
manila access-allow test-share cephx bob
127+
openstack share access create test-share cephx alice
128+
openstack share access create test-share cephx bob
128129
129130
Show the access list to make sure the state of both entries is ``active`` and
130131
take note of the access keys:
131132

132133
.. code-block:: bash
133134
134-
manila access-list test-share
135+
openstack share access list test-share
135136
136137
And take note of the path to the share:
137138

138139
.. code-block:: bash
139140
140-
manila share-export-location-list test-share
141+
openstack share export location list test-share
141142
142143
SSH into the first instance, create a directory for the share, and mount it:
143144

0 commit comments

Comments
 (0)