Booting an instance that uses config drive fails with a nova-rootwrap failure.
Fresh devstack, using nova-lxd plugin, commit 16d06d149ed979745aa0ccd2b6db23122d17b57f
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [None req-dad055f7-22c2-42fd-ba8e-b3e60a7045de service nova] [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Instance failed to spawn: ProcessExecutionError: Unexpected error while running command
.
Feb 06 09:21:39 novalxd nova-compute[115709]: Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount -o loop,uid=1001,gid=110 /opt/stack/data/nova/instances/instance-00000003/configdrive.iso /tmp/tmpjUu5y0
Feb 06 09:21:39 novalxd nova-compute[115709]: Exit code: 99
Feb 06 09:21:39 novalxd nova-compute[115709]: Stdout: u''
Feb 06 09:21:39 novalxd nova-compute[115709]: Stderr: u'/usr/local/bin/nova-rootwrap: Unauthorized command: mount -o loop,uid=1001,gid=110 /opt/stack/data/nova/instances/instance-00000003/configdrive.iso /tmp/tmpjUu5y0 (no filter matched)\n'
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Traceback (most recent call last):
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova/nova/compute/manager.py", line 2249, in _build_resources
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] yield resources
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova/nova/compute/manager.py", line 2033, in _build_and_run_instance
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] block_device_info=block_device_info)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova-lxd/nova/virt/lxd/driver.py", line 568, in spawn
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] network_info)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova-lxd/nova/virt/lxd/driver.py", line 1237, in _add_configdrive
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] run_as_root=True)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova/nova/utils.py", line 230, in execute
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] return RootwrapProcessHelper().execute(*cmd, **kwargs)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/opt/stack/nova/nova/utils.py", line 113, in execute
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] return processutils.execute(*cmd, **kwargs)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 424, in execute
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] cmd=sanitized_cmd)
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] ProcessExecutionError: Unexpected error while running command.
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount -o loop,uid=1001,gid=110 /opt/stack/data/nova/instances/instance-00000003/configdrive.iso
/tmp/tmpjUu5y0
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Exit code: 99
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Stdout: u''
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Stderr: u'/usr/local/bin/nova-rootwrap: Unauthorized command: mount -o loop,uid=1001,gid=110 /opt/stack/data/nova/instances/instance-00000003/config
drive.iso /tmp/tmpjUu5y0 (no filter matched)\n'
Feb 06 09:21:39 novalxd nova-compute[115709]: ERROR nova.compute.manager [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e]
Feb 06 09:21:39 novalxd nova-compute[115709]: INFO nova.compute.manager [None req-dad055f7-22c2-42fd-ba8e-b3e60a7045de service nova] [instance: 1a412095-07e6-4cdd-a1a7-c71c974e738e] Terminating instance
Looks like the same with umount