cinder backend fails to chown /var/lib/cinder/mnt/.* permissions

Bug #1878403 reported by David Hill on 2020-05-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
Undecided
Unassigned

Bug Description

cinder storage backend fails to chown /var/lib/cinder/mnt/.* permissions

020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder Command: sudo glance-rootwrap /etc/glance/rootwrap.conf chown 42415 /var/lib/cinder/mnt/04e1bdb760091e51531be717730c8ab6/volume-4bb3c895-b5ef-4604-8f47-7663fb8632b1
2020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder Exit code: 99
2020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder Stdout: ''
2020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder Stderr: '/usr/bin/glance-rootwrap: Unauthorized command: chown 42415 /var/lib/cinder/mnt/04e1bdb760091e51531be717730c8ab6/volume-4bb3c895-b5ef-4604-8f47-7663fb8632b1 (no filter matched)\n'
2020-05-12 13:11:02.162 33 ERROR glance_store._drivers.cinder
2020-05-12 13:11:03.729 33 ERROR glance_store._drivers.cinder [req-53c1b7e0-0a29-4f32-b8c0-2eae190c636d

Eric Harney (eharney) wrote :

Glance/glance_store shouldn't need to chown files under /var/lib/cinder/.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers