vmax manila readonly access policy not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Helen Walsh |
Bug Description
Test this with OSP14
(overcloud) ()[root@cdh3ctl0 /]# manila create --name nfs12 --share-type vmax1 --share-network 891bb30b-
(overcloud) ()[root@cdh3ctl0 /]# manila access-allow nfs12 ip 0.0.0.0/0 --access-level ro
+------
| Property | Value |
+------
| access_key | None |
| share_id | 6e5e84a3-
| created_at | 2019-09-
| updated_at | None |
| access_type | ip |
| access_to | 0.0.0.0/0 |
| access_level | ro |
| state | queued_to_apply |
| id | 0cc3f668-
| metadata | {} |
+------
[root@test2 ~]# mount -t nfs 80.0.1.
mount.nfs: access denied by server while mounting 80.0.1.
And if I open "Host Access Read-only Export" of this share on webgui, I can mount this share on ro mode.
[root@test2 ~]# mount -t nfs 80.0.1.
[root@test2 ~]# mkdir /mnt/aaa
mkdir: cannot create directory ‘/mnt/aaa’: Read-only file system
Changed in manila: | |
assignee: | nobody → Helen Walsh (walshh2) |
Note that the ``manila access-allow ...`` command output that you cited shows the access rules state is ``queued_ to_apply` `. Please check again and see that you have the same problem after the state has transitioned to ``active``. If so, then there is likely a problem with the VMAX or its driver. If the state is ``error`` then a different sort of problem needs to be addressed.