Help needed to Support Multi-attach feature
RAI, SNEHA
sneha.rai at hpe.com
Tue May 14 05:01:36 UTC 2019
Thanks Sean for your response.
Setting virt_type to kvm doesn’t help. n-cpu service is failing to come up.
Journalctl logs of n-cpu service:
May 14 02:07:05 CSSOSBE04-B09 systemd[1]: Started Devstack devstack at n-cpu.service.
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: DEBUG os_vif [-] Loaded VIF plugin class '<class 'vif_plug_ovs.ovs.OvsPlugin'>' with name 'ovs' {{(pid=15989) initialize /usr/local/lib/python2.7/dist-packages/os_vif/__init__.py:46}}
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: DEBUG os_vif [-] Loaded VIF plugin class '<class 'vif_plug_linux_bridge.linux_bridge.LinuxBridgePlugin'>' with name 'linux_bridge' {{(pid=15989) initialize /usr/local/lib/python2.7/dist-
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: INFO os_vif [-] Loaded VIF plugins: ovs, linux_bridge
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: WARNING oslo_config.cfg [None req-9dc9d20c-b002-4b34-a123-81612cdc47fc None None] Option "use_neutron" from group "DEFAULT" is deprecated for removal (
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: nova-network is deprecated, as are any related configuration options.
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ). Its value may be silently ignored in the future.
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: DEBUG oslo_policy.policy [None req-9dc9d20c-b002-4b34-a123-81612cdc47fc None None] The policy file policy.json could not be found. {{(pid=15989) load_rules /usr/local/lib/python2.7/dist-
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: INFO nova.virt.driver [None req-9dc9d20c-b002-4b34-a123-81612cdc47fc None None] Loading compute driver 'libvirt.LibvirtDriver'
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver [None req-9dc9d20c-b002-4b34-a123-81612cdc47fc None None] Unable to load the virtualization driver: ImportError: /usr/lib/x86_64-linux-gnu/libvirt.so.0: version `L
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver Traceback (most recent call last):
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/opt/stack/nova/nova/virt/driver.py", line 1700, in load_compute_driver
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver virtapi)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 44, in import_object
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 346, in __init__
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver libvirt = importutils.import_module('libvirt')
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 73, in import_module
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver __import__(import_str)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/home/stack/.local/lib/python2.7/site-packages/libvirt.py", line 28, in <module>
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver raise lib_e
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver ImportError: /usr/lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_2.2.0' not found (required by /home/stack/.local/lib/python2.7/site-packages/libvirtmod.so)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Main process exited, code=exited, status=1/FAILURE
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Unit entered failed state.
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Failed with result 'exit-code'.
root at CSSOSBE04-B09:/etc# sudo systemctl status devstack at n-cpu.service
● devstack at n-cpu.service - Devstack devstack at n-cpu.service
Loaded: loaded (/etc/systemd/system/devstack at n-cpu.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-05-14 02:07:08 IST; 7min ago
Process: 15989 ExecStart=/usr/local/bin/nova-compute --config-file /etc/nova/nova-cpu.conf (code=exited, status=1/FAILURE)
Main PID: 15989 (code=exited, status=1/FAILURE)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver libvirt = importutils.import_module('libvirt')
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 73, in import_module
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver __import__(import_str)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver File "/home/stack/.local/lib/python2.7/site-packages/libvirt.py", line 28, in <module>
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver raise lib_e
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver ImportError: /usr/lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_2.2.0' not found (required by /home/stack/.local/lib/python2.7/site-packages/libvirtmod.so)
May 14 02:07:08 CSSOSBE04-B09 nova-compute[15989]: ERROR nova.virt.driver
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Main process exited, code=exited, status=1/FAILURE
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Unit entered failed state.
May 14 02:07:08 CSSOSBE04-B09 systemd[1]: devstack at n-cpu.service: Failed with result 'exit-code'.
Regards,
Sneha Rai
-----Original Message-----
From: Sean McGinnis [mailto:sean.mcginnis at gmx.com]
Sent: Tuesday, May 14, 2019 1:33 AM
To: RAI, SNEHA <sneha.rai at hpe.com>
Cc: Gorka Eguileor <geguileo at redhat.com>; openstack-dev at lists.openstack.org
Subject: Re: Help needed to Support Multi-attach feature
On Fri, May 10, 2019 at 04:51:07PM +0000, RAI, SNEHA wrote:
> Thanks Gorka for your response.
>
> I have changed the version of libvirt and qemu on my host and I am able to move past the previous error mentioned in my last email.
>
> Current versions of libvirt and qemu:
> root at CSSOSBE04-B09:/etc# libvirtd --version libvirtd (libvirt) 1.3.1
> root at CSSOSBE04-B09:/etc# kvm --version QEMU emulator version 2.5.0
> (Debian 1:2.5+dfsg-5ubuntu10.36), Copyright (c) 2003-2008 Fabrice
> Bellard
>
> Also, I made a change in /etc/nova/nova.conf and set virt_type=qemu. Earlier it was set to kvm.
> I restarted all nova services post the changes but I can see one nova service was disabled and state was down.
>
Not sure if it is related or not, but I don't believe you want to change virt_type t0 "qemu". That should stay "kvm".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190514/4b9d68e6/attachment-0001.html>
More information about the openstack-discuss
mailing list