yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49562
[Bug 1497485] Re: Nova VM goes into an error State because VM xml is forced to have ""<script path=''/>"" which is not supported with KVM libvirt 1.2.2
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1497485
Title:
Nova VM goes into an error State because VM xml is forced to have
""<script path=''/>"" which is not supported with KVM libvirt 1.2.2
Status in OpenStack Compute (nova):
Expired
Bug description:
Testing on openstack master:
Libvirt version 1.2.2
Hypervisor: KVM
On Booting a VM the VM goes into error with the following error log:
2015-09-18 01:30:29.723 ERROR nova.compute.manager [req-c5b00bd7-943b-44cd-847b-064286501d6a admin admin] [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] Instance failed to spaw
n
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] Traceback (most recent call last):
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/compute/manager.py", line 2152, in _build_resourc
es
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] yield resources
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/compute/manager.py", line 2006, in _build_and_run
_instance
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] block_device_info=block_device_info)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2451, in spawn
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] block_device_info=block_device_info)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4522, in _create_do
main_and_network
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] xml, pause=pause, power_on=power_on)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4452, in _create_do
main
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] guest.launch(pause=pause)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 141, in launch
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] self._encoded_xml, errors='ignore')
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 1
95, in __exit__
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] six.reraise(self.type_, self.value, self.tb)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 136, in launch
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] return self._domain.createWithFlags(flags)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, i
n doit
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] result = proxy_call(self._autowrap, f, *args, **kwargs)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, i
n proxy_call
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] rv = execute(f, *args, **kwargs)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, i
n execute
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] six.reraise(c, e, tb)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in
tworker
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] rv = meth(*args, **kwargs)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 900, in creat
eWithFlags
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5] libvirtError: unsupported configuration: scripts are not supported on interfaces of type bridge
2015-09-18 01:30:29.723 TRACE nova.compute.manager [instance: 6d9297cc-d97f-40f9-a504-a17b79d279a5]
This is because the vm xml is forced to have the line "<script
path=''/>" under the <interfaces> tags which is not supported in KVM
with libvirt version 1.2.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1497485/+subscriptions
References