2636d7eaea
There are a number of missing dependencies in the role when using cinder store with glance. Specifically rootwrap is required for elevating access when using os-brick to connect to cinder iscsi/fc volume back end storage. This patch addresses the following: - olso.rootwrap is not included in glance_pip_packages - files/rootwrap.d/glance_cinder_store.filters is missing - glance user is not added to sudoers glance_pip_packages updated, missing rootwrap.d and sudoer files now dropped in to Their required locations by glance_post_install.yml task Change-Id: I55162bc2bf3cbb8858950e4abcf60a3de9929008 Closes-Bug: #1833725
7 lines
290 B
Django/Jinja
7 lines
290 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
Defaults:{{ glance_system_user_name }} !requiretty
|
|
Defaults:{{ glance_system_user_name }} secure_path="{{ glance_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
glance ALL = (root) NOPASSWD: {{ glance_bin }}/{{ glance_service_name }}-rootwrap
|