unable to launch second instance from volume on a compute node

asked 2018-09-07 05:03:58 -0600

mladen.grujic gravatar image

Hi,

as a title states I am able to create a volume from image and then to launch an instnace from that volume. But then when I create another volume and try to launch an instance from it (on the SAME compute node where the first instance is) am I getting following error:

2018-09-07 11:12:58.482 1784942 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/nova/nova.conf', '--config-file', '/etc/nova/nova-compute.conf', '--privsep_context', 'os_brick.privileged.default', '--privsep_sock_path', '/tmp/tmpZyBsLx/privsep.sock']
2018-09-07 11:12:58.979 1784942 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] Spawned new privsep daemon via rootwrap
2018-09-07 11:12:58.937 1785220 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep daemon starting
2018-09-07 11:12:58.941 1785220 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep process running with uid/gid: 0/0
2018-09-07 11:12:58.945 1785220 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep process running with capabilities (eff/prm/inh): CAP_SYS_ADMIN/CAP_SYS_ADMIN/none
2018-09-07 11:12:58.946 1785220 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep daemon running as pid 1785220
2018-09-07 11:13:00.682 1784942 INFO nova.virt.libvirt.driver [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] [instance: 855de4fe-ba10-4aa5-8d91-74239b373158] Creating image
2018-09-07 11:13:00.692 1784942 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/nova/nova.conf', '--config-file', '/etc/nova/nova-compute.conf', '--privsep_context', 'nova.privsep.sys_admin_pctxt', '--privsep_sock_path', '/tmp/tmpSuoEAr/privsep.sock']
2018-09-07 11:13:01.176 1784942 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] Spawned new privsep daemon via rootwrap
2018-09-07 11:13:01.135 1785241 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep daemon starting
2018-09-07 11:13:01.139 1785241 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep process running with uid/gid: 0/0
2018-09-07 11:13:01.144 1785241 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep process running with capabilities (eff/prm/inh): CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_NET_ADMIN|CAP_SYS_ADMIN/CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_NET_ADMIN|CAP_SYS_ADMIN/none
2018-09-07 11:13:01.144 1785241 INFO oslo.privsep.daemon [req-55dd7a10-c75c-4835-8ea8-64fc08d5b20f dc1fe14f20fb4c8a8f0353410c73c65a 4638da733c7f44488cf21f77e844d3cc - default default] privsep daemon running as pid 1785241
2018-09-07 11:13:01.306 1784942 ERROR nova.compute.manager [req-577b44bc-01d7-4aeb-8c84-f5e3cb7c0a9d fe87f17ed9a24e83a35c871726108067 5adead39cd364593ac89e8010e553ecb - default default] [instance: 855de4fe-ba10-4aa5-8d91-74239b373158] Instance failed to spawn: ProcessExecutionError: Unexpected error while running command.
Command: mount -t nfs 10.38.250.51:/data/volumes /var/lib/nova/mnt/07ab66f11b778324939eddc9c1015ac6
Exit code: 32
Stdout: u''
Stderr: u'mount.nfs: /var/lib/nova/mnt/07ab66f11b778324939eddc9c1015ac6 is busy or already mounted\n'
2018-09-07 11:13:01.306 1784942 ERROR nova.compute.manager [instance: 855de4fe-ba10-4aa5-8d91-74239b373158] Traceback (most recent call last):
2018-09-07 11:13:01.306 1784942 ERROR nova.compute.manager [instance: 855de4fe-ba10-4aa5-8d91-74239b373158]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2251, in _build_resources
2018-09-07 11:13:01.306 1784942 ...
(more)
edit retag flag offensive close merge delete

Comments

I am having this same issue - Openstack Rocky. Did you end up finding a solution for this?

bexigastack gravatar imagebexigastack ( 2018-10-26 12:37:01 -0600 )edit