Glance still cannot do this:
2020-03-25 17:45:30.418 20 INFO oslo.privsep.daemon [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] Running privsep helper: ['sudo', 'glance-rootwrap', '/etc/glance/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/glance/glance-api.conf', '--privsep_context', 'os_brick.privileged.default', '--privsep_sock_path', '/tmp/tmp2c0ocddc/privsep.sock'] 2020-03-25 17:45:30.430 20 WARNING oslo.privsep.daemon [-] privsep log: sudo: no tty present and no askpass program specified 2020-03-25 17:45:30.434 20 CRITICAL oslo.privsep.daemon [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] privsep helper command exited non-zero (1) 2020-03-25 17:45:30.435 20 DEBUG os_brick.utils [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] <== get_connector_properties: exception (17ms) FailedToDropPrivileges('privsep helper command exited non-zero (1)',) trace_logging_wrapper /var/lib/kolla/venv/lib/python3.6/site-packages/os_brick/utils.py:156 2020-03-25 17:45:30.435 20 ERROR glance_store._drivers.cinder [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] Failed to write to volume 305f97f2-3a52-4810-87ba-71df7834617e.: oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1) 2020-03-25 17:45:35.641 20 ERROR glance.api.v2.image_data [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] Failed to upload image data due to internal error: oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1) 2020-03-25 17:45:35.685 20 ERROR glance.common.wsgi [req-e2d4f418-0012-4db5-a7dc-3f65eeb07054 609684595a074556be10f586f5e52fbc 15daa19f9fd742948eda9651dbccd3b4 - default default] Caught error: privsep helper command exited non-zero (1): oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1)
will open new bug.
Glance still cannot do this:
2020-03-25 17:45:30.418 20 INFO oslo.privsep.daemon [req-e2d4f418- 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] Running privsep helper: ['sudo', 'glance-rootwrap', '/etc/glance/ rootwrap. conf', 'privsep-helper', '--config-file', '/etc/glance/ glance- api.conf' , '--privsep_ context' , 'os_brick. privileged. default' , '--privsep_ sock_path' , '/tmp/tmp2c0ocd dc/privsep. sock'] 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] privsep helper command exited non-zero (1) 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] <== get_connector_ properties: exception (17ms) FailedToDropPri vileges( 'privsep helper command exited non-zero (1)',) trace_logging_ wrapper /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ os_brick/ utils.py: 156 store._ drivers. cinder [req-e2d4f418- 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] Failed to write to volume 305f97f2- 3a52-4810- 87ba-71df783461 7e.: oslo_privsep. daemon. FailedToDropPri vileges: privsep helper command exited non-zero (1) api.v2. image_data [req-e2d4f418- 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] Failed to upload image data due to internal error: oslo_privsep. daemon. FailedToDropPri vileges: privsep helper command exited non-zero (1) 0012-4db5- a7dc-3f65eeb070 54 609684595a07455 6be10f586f5e52f bc 15daa19f9fd7429 48eda9651dbccd3 b4 - default default] Caught error: privsep helper command exited non-zero (1): oslo_privsep. daemon. FailedToDropPri vileges: privsep helper command exited non-zero (1)
2020-03-25 17:45:30.430 20 WARNING oslo.privsep.daemon [-] privsep log: sudo: no tty present and no askpass program specified
2020-03-25 17:45:30.434 20 CRITICAL oslo.privsep.daemon [req-e2d4f418-
2020-03-25 17:45:30.435 20 DEBUG os_brick.utils [req-e2d4f418-
2020-03-25 17:45:30.435 20 ERROR glance_
2020-03-25 17:45:35.641 20 ERROR glance.
2020-03-25 17:45:35.685 20 ERROR glance.common.wsgi [req-e2d4f418-
will open new bug.