Fix Manila when run without pacemaker
The supported path is to run the manila-share service under control of pacemaker using container bundles started in Step5. However, it is useful for test and POC purposes to be able to run the manila-share service without pacemaker control as a regular container started in Step4. This change fixes the non-pacemaker deployment path, which runs manila-share in Step4 rather than Step5, so that it uses the same privileges for the manila-share container as are used for the pacemaker-controlled container-bundle in Step5. However. we do not change scenario004 to deploy manila using the non-pacemaker path since in CI we want to test the path that is supported for customers. Change-Id: I8effea96a4428281b5a5dfa9711bb602fdbdc705 Related-Bug: #1841941 Depends-On: https://review.opendev.org/#/c/685449
This commit is contained in:
parent
f7dd66ca72
commit
cff553c7e6
@ -136,6 +136,9 @@ outputs:
|
||||
- path: /var/log/manila
|
||||
owner: manila:manila
|
||||
recurse: true
|
||||
- path: /var/lib/manila
|
||||
owner: manila:manila
|
||||
recurse: true
|
||||
- path:
|
||||
str_replace:
|
||||
template: /etc/ceph/CLUSTER.client.USER.keyring
|
||||
@ -149,6 +152,8 @@ outputs:
|
||||
manila_share:
|
||||
image: &manila_share_image {get_param: ContainerManilaShareImage}
|
||||
net: host
|
||||
ipc: host
|
||||
user: root
|
||||
restart: always
|
||||
volumes: {get_attr: [ManilaShareCommon, manila_share_volumes]}
|
||||
environment: {get_attr: [ManilaShareCommon, manila_share_environment]}
|
||||
|
Loading…
Reference in New Issue
Block a user