Creating keystone and glance usernames for glusterfs cluster
In order to avoid keystone errors related to keys directory
occuring sporadically during multinode configuration glusterfs
cluster should be assembled before keystone.server state in
installOpenstackControl() stage inside Orchestrate.groovy. To
perform the above usernames required by gluster have to be
created before the state.
Change-Id: I69d33a5b3478925425e3441c28c34d5249d35af0
Related-Prod: PROD-13874
diff --git a/glusterfs/client/volume/keystone.yml b/glusterfs/client/volume/keystone.yml
index 822b61f..39c5619 100644
--- a/glusterfs/client/volume/keystone.yml
+++ b/glusterfs/client/volume/keystone.yml
@@ -19,3 +19,20 @@
user: keystone
group: keystone
opts: "defaults,backup-volfile-servers=${_param:glusterfs_node01_address}:${_param:glusterfs_node02_address}:${_param:glusterfs_node03_address}"
+ linux:
+ system:
+ user:
+ keystone:
+ enabled: true
+ name: keystone
+ home: /var/lib/keystone
+ uid: 301
+ gid: 301
+ shell: /bin/false
+ system: True
+ group:
+ keystone:
+ enabled: true
+ name: keystone
+ gid: 301
+ system: True