File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
doc/source/contributor/environments Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -109,35 +109,36 @@ Then create a share type and share:
109
109
110
110
.. code-block :: bash
111
111
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
115
116
116
117
Wait until the share is available:
117
118
118
119
.. code-block :: bash
119
120
120
- manila list
121
+ openstack share list
121
122
122
123
Then allow access to the shares to two users:
123
124
124
125
.. code-block :: bash
125
126
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
128
129
129
130
Show the access list to make sure the state of both entries is ``active `` and
130
131
take note of the access keys:
131
132
132
133
.. code-block :: bash
133
134
134
- manila access- list test-share
135
+ openstack share access list test-share
135
136
136
137
And take note of the path to the share:
137
138
138
139
.. code-block :: bash
139
140
140
- manila share- export- location- list test-share
141
+ openstack share export location list test-share
141
142
142
143
SSH into the first instance, create a directory for the share, and mount it:
143
144
You can’t perform that action at this time.
0 commit comments