f9389e32b1
With containerized undercloud deployments, the octavia-amphora-image RPM can no longer be installed in RHOSP-based environments as the playbook runs in mistral_engine container and the syum repository list within it is empty. This patch, together with the dependent change, fix that issue. Closes-Bug: #1800916 Depends-On: https://review.openstack.org/#/c/614609/ Change-Id: Icae47e76f71b739cf0e1f5633b15432fd531e645
15 lines
1.1 KiB
Plaintext
15 lines
1.1 KiB
Plaintext
Defaults!/usr/bin/run-validation !requiretty
|
|
Defaults:validations !requiretty
|
|
Defaults:mistral !requiretty
|
|
mistral ALL = (validations) NOPASSWD:SETENV: /usr/bin/run-validation
|
|
mistral ALL = NOPASSWD: /usr/bin/chown -h validations\: /tmp/validations_identity_[A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_], \
|
|
!/usr/bin/chown /tmp/validations_identity_* *, !/usr/bin/chown /tmp/validations_identity_*..*
|
|
mistral ALL = NOPASSWD: /usr/bin/rm -f /tmp/validations_identity_[A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_][A-Za-z0-9_], \
|
|
!/usr/bin/rm /tmp/validations_identity_* *, !/usr/bin/rm /tmp/validations_identity_*..*
|
|
mistral ALL = NOPASSWD: /bin/nova-manage cell_v2 discover_hosts *
|
|
mistral ALL = NOPASSWD: /usr/bin/tar --xattrs --ignore-failed-read -C / -cf /var/tmp/undercloud-backup-*.tar *
|
|
mistral ALL = NOPASSWD: /usr/bin/chown mistral. /var/tmp/undercloud-backup-*/filesystem-*.tar
|
|
mistral ALL = NOPASSWD: /usr/bin/tripleo-container-image-prepare *
|
|
mistral ALL = NOPASSWD: /usr/bin/tripleo-deploy-openshift *
|
|
validations ALL = NOPASSWD: ALL
|