I created share from snapshot in the glusterfs driver, and the creation was successful. From the glusterfs volume, I found "nfs.rpc-auth-allow" = "10.0.0.1,all". The normal default is "all" because my manila share access rule is clean.
Environment
===========
I'm using the Manila Master/Victoria version
I created share from snapshot in the glusterfs driver, and the creation was successful. From the glusterfs volume, I found "nfs.rpc- auth-allow" = "10.0.0.1,all". The normal default is "all" because my manila share access rule is clean.
Environment
===========
I'm using the Manila Master/Victoria version
Glusetrfs NFS drive
gluster version: glusterfs 8.2
Configs:
glusterfs_ share_layout = layout_ volume. GlusterfsVolume MappedLayout nfs_server_ type = Gluster
glusterfs_
Steps to reproduce
==================
[root@controller ~]# manila access-allow 0908-001 ip 10.0.0.1 ------- -+----- ------- ------- ------- ------- -----+ ------- -+----- ------- ------- ------- ------- -----+ a6be-4104- 8eed-1a6ef96d0f eb | 5b9d-492d- a926-97117c68ff 4d | 08T11:17: 55.000000 | ------- -+----- ------- ------- ------- ------- -----+
+------
| Property | Value |
+------
| id | c92e0b5d-
| share_id | 7d7a8ed6-
| access_level | rw |
| access_to | 10.0.0.1 |
| access_type | ip |
| state | queued_to_apply |
| access_key | None |
| created_at | 2021-09-
| updated_at | None |
| metadata | {} |
+------
[root@controller ~]# manila access-list 0908-001 ------- ------- ------- ------- ----+-- ------- ----+-- ------- ------+ ------- ------- +------ --+---- ------- -+----- ------- ------- ------- --+---- ------- -+ ------- ------- ------- ------- ----+-- ------- ----+-- ------- ------+ ------- ------- +------ --+---- ------- -+----- ------- ------- ------- --+---- ------- -+ a6be-4104- 8eed-1a6ef96d0f eb | ip | 10.0.0.1 | rw | active | None | 2021-09- 08T11:17: 55.000000 | None | ------- ------- ------- ------- ----+-- ------- ----+-- ------- ------+ ------- ------- +------ --+---- ------- -+----- ------- ------- ------- --+---- ------- -+
+------
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
+------
| c92e0b5d-
+------
# manila snapshot-create --name= 0908-001- snap02 0908-001
# manila create --name 0908-001- snap02- clone06 --share-type glusterfs --snapshot-id deea91ea- 65e6-433e- a954-983ce57f6d 97 --availability-zone nova NFS 3 001-snap02- clone06 ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ 7d0b-4b6c- 97a3-07f1974869 4b | 08T12:27: 45.000000 | 001-snap02- clone06 | 5874b08c5de2207 e8 | 65e6-433e- a954-983ce57f6d 97 | b406-40d5- 8178-0895380657 eb | dac0333ab6e5aec dd | share_from_ snapshot_ support | True | to_snapshot_ support | True | share_group_ snapshot_ member_ id | None | support | False | glusterfsnfs1# GLUSTERFSNFS1 | 704c-4706- bcc5-3b51442a42 98 | 144.47: /manila- e7afb40e- 6c2d-413a- bcab-45718d8c63 ed | 6c2d-413a- bcab-45718d8c63 ed | ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
[root@controller ~]# manila show 0908-lpw-
+------
| Property | Value |
+------
| id | 6ce0c16c-
| size | 3 |
| availability_zone | nova |
| created_at | 2021-09-
| status | available |
| name | 0908-lpw-
| description | None |
| project_id | 964f97eb3c04449
| snapshot_id | deea91ea-
| share_network_id | None |
| share_proto | NFS |
| metadata | {} |
| share_type | a5a657df-
| is_public | False |
| snapshot_support | True |
| task_state | None |
| share_type_name | glusterfs |
| access_rules_status | active |
| replication_type | None |
| has_replicas | False |
| user_id | 63a560d401fb41a
| create_
| revert_
| share_group_id | None |
| source_
| mount_snapshot_
| progress | 100% |
| share_server_id | None |
| host | controller@
| export_locations | |
| | id = 3d477ce4-
| | path = 172.27.
| | preferred = False |
| | share_instance_id = e7afb40e-
| | is_admin_only = False |
+------
# manila access-list 6ce0c16c- 7d0b-4b6c- 97a3-07f1974869 4b ------- -----+- ------- ---+--- ------- ----+-- -----+- ------- ----+-- ------- ---+--- ------- --+ ------- -----+- ------- ---+--- ------- ----+-- -----+- ------- ----+-- ------- ---+--- ------- --+ ------- -----+- ------- ---+--- ------- ----+-- -----+- ------- ----+-- ------- ---+--- ------- --+
+----+-
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
+----+-
+----+-
# gluster volume info manila- e7afb40e- 6c2d-413a- bcab-45718d8c63 ed
Volume Name: manila- e7afb40e- 6c2d-413a- bcab-45718d8c63 ed c908-4786- 95df-960714fca4 d5 cloned- from: 983b689f- 9974-4d46- 808a-ab819027db 72 auth-reject: * 6c2d-413a- bcab-45718d8c63 ed
Type: Replicate
Volume ID: 91f771bc-
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Options Reconfigured:
user.manila-
nfs.rpc-
nfs.rpc-auth-allow: 10.0.0.1,all
user.manila-share: e7afb40e-