RHOSP16(Train) Unity manila NFS access-allow does not work for a specific IP, but it works for a subnet.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Invalid
|
Medium
|
DellEMC Unity OpenStack |
Bug Description
Scenario 1, access-allow to a specific IP, not work.
=======
1.Create a NFS share
(overcloud) [heat-admin@
+------
| Property | Value |
+------
…
| export_locations | |
| | id = 8f8304cf-
| | path = 20.0.0.
| | preferred = False |
| | share_instance_id = c623d434-
| | is_admin_only = False |
+------
2.Allow access to a instance server ip
(overcloud) [heat-admin@
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 1a7460dd-
| f5513b17-
+------
(overcloud) [heat-admin@
+------
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
+------
| 2f2a5db6-
+------
3. Try to mount the NFS share in instance but failed.
(overcloud) [heat-admin@
manila@20.0.0.58's password:
(overcloud) [heat-admin@
(overcloud) [heat-admin@
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-112-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
Last login: Tue Aug 4 12:12:09 2020 from 20.0.0.117
manila@ubuntu:~$ sudo mount 20.0.0.
mount.nfs: access denied by server while mounting 20.0.0.
manila@ubuntu:~$
=======
###
Scenario 2, access-allow to a subnet, work.
=======
1.Create a NFS share
(overcloud) [heat-admin@
+------
| Property | Value |
+------
…
| export_locations | |
| | id = c2ff8b6b-
| | path = 20.0.0.
| | preferred = False |
| | share_instance_id = 76bbd58b-
| | is_admin_only = False |
+------
2.Allow access to instance subnet
(overcloud) [heat-admin@
+----+-
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
+----+-
+----+-
(overcloud) [heat-admin@
(overcloud) [heat-admin@
+------
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
+------
| fae58040-
+------
3.Try to mount in 2 instances.
(overcloud) [heat-admin@
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| f5513b17-
| 1a7460dd-
+------
(overcloud) [heat-admin@
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-112-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
Last login: Wed Aug 5 01:22:11 2020 from 20.0.0.117
manila@ubuntu:~$ sudo mount 20.0.0.
manila@ubuntu:~$ sudo touch /mnt/58
manila@ubuntu:~$ ls /mnt/58
/mnt/58
manila@ubuntu:~$ exit
logout
Connection to 20.0.0.58 closed.
(overcloud) [heat-admin@
ubuntu@20.0.0.92's password:
(overcloud) [heat-admin@
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-112-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
Last login: Tue Aug 4 12:04:35 2020 from 20.0.0.117
manila@ubuntu:~$ sudo mount 20.0.0.
manila@ubuntu:~$ sudo touch /mnt/92
manila@ubuntu:~$
manila@ubuntu:~$ ls /mnt/92
/mnt/92
manila@ubuntu:~$
Changed in manila: | |
milestone: | none → victoria-3 |
importance: | Undecided → Medium |
Changed in manila: | |
assignee: | nobody → DellEMC Unity OpenStack (dellemc-unity-openstack) |
Changed in manila: | |
milestone: | victoria-3 → victoria-rc1 |
Changed in manila: | |
milestone: | wallaby-1 → wallaby-3 |
tags: | added: wallaby-rc-bugsquash |
VERSION = "7.0.1"