Error on nova compute on Power

Bug #1419047 reported by Victor Estival
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Low
Unassigned

Bug Description

I'm trying to deploy OpenStack in a Power 8 server on a single node.

I've created 1 VM for MAAS, 1 VM for juju bootstrap and 4 VMs to use them as compute, ceph and to hold all the OpenStack services.

I've deployed OpenStack and everything seemed to work fine, however, I don't see any hypervisor. When I check into the nova logs I find:

2015-02-06 11:36:25.499 54731 TRACE nova.openstack.common.threadgroup libvirtError: XML error: Missing CPU model name
2015-02-06 13:08:29.419 66757 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2885, in get_host_capabilities
2015-02-06 13:08:29.419 66757 TRACE nova.openstack.common.threadgroup libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)

affects: barbican → nova
Revision history for this message
Erhan Ekici (erhan-ekici) wrote :

Can you tell us about your environment, openstack release, software level etc?
Also, provide libvirt version (dpkg --list | grep libvirt) and cpu_map.xml file (/usr/share/libvirt/cpu_map.xml or something like that)?

Changed in nova:
assignee: nobody → Erhan Ekici (erhan-ekici)
Changed in nova:
status: New → Incomplete
Revision history for this message
Victor Estival (victor-estival-l) wrote :

Environment:
Power 8 server with 3 hard disks running Power KVM 2.1
Ubuntu 14.04 on Power
OpenStack version: Icehouse

Everything deployed with juju and stable charms from jujucharms.com

Extra info

ubuntu@compute02:~$ dpkg --list | grep libvirt
ii libvirt-bin 1.2.2-0ubuntu13.1.9 ppc64el programs for the libvirt library
ii libvirt0 1.2.2-0ubuntu13.1.9 ppc64el library for interfacing with different virtualization systems
ii nova-compute-libvirt 1:2014.1.3-0ubuntu2 all OpenStack Compute - compute node libvirt support
ii python-libvirt 1.2.2-0ubuntu2 ppc64el libvirt Python bindings

Here is the output for /usr/share/libvirt/cpu_map.xml

http://pastebin.ubuntu.com/10175053/

Let me know what other info do you need

Revision history for this message
Erhan Ekici (erhan-ekici) wrote :

can you send or put somewhere your whole compute log and nova*.conf files? Thxs.

Revision history for this message
Victor Estival (victor-estival-l) wrote :

Please, find the output of more /etc/init/nova-compute.conf here:
http://pastebin.ubuntu.com/10176212/

Revision history for this message
Victor Estival (victor-estival-l) wrote :

Do you have update or do you need any extra info?

Changed in nova:
assignee: Erhan Ekici (erhan-ekici) → nobody
Changed in nova:
status: Incomplete → New
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Randall Ross (randall) wrote :

Has there been any further analysis on this bug?

Revision history for this message
Victor Estival (victor-estival-l) wrote : Re: [Bug 1419047] Re: Error on nova compute on Power

I haven't seen any. If anyone needs some more info just ask

Best regards,

Victor Estival <email address hidden>
Mobile: *+44 7788 234976*
Cloud Architect

On Tue, Mar 24, 2015 at 6:59 PM, Randall Ross <email address hidden> wrote:

> Has there been any further analysis on this bug?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1419047
>
> Title:
> Error on nova compute on Power
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> I'm trying to deploy OpenStack in a Power 8 server on a single node.
>
> I've created 1 VM for MAAS, 1 VM for juju bootstrap and 4 VMs to use
> them as compute, ceph and to hold all the OpenStack services.
>
> I've deployed OpenStack and everything seemed to work fine, however, I
> don't see any hypervisor. When I check into the nova logs I find:
>
> 2015-02-06 11:36:25.499 54731 TRACE nova.openstack.common.threadgroup
> libvirtError: XML error: Missing CPU model name
> 2015-02-06 13:08:29.419 66757 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 2885, in get_host_capabilities
> 2015-02-06 13:08:29.419 66757 TRACE nova.openstack.common.threadgroup
> libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1419047/+subscriptions
>

Revision history for this message
Matt Riedemann (mriedem) wrote :

Is this still a problem in juno or kilo code?

tags: added: libvirt powerkvm
Revision history for this message
Victor Estival (victor-estival-l) wrote :

Is it in Juno, I haven't try on Kilo yet

Revision history for this message
Mauro S M Rodrigues (maurorodrigues) wrote :

Hi I've been looking around and I'm pretty confident that it's the same bug https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1418221 - which is fixed on upstream libvirt 1.2.13 (https://libvirt.org/news.html "PowerPC : Forbid NULL CPU model with 'host-model' mode. (Prerna Saxena)" ) and partially addressed, per comment https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1418221/comments/7 on vivid.
I just left a comment asking them to backport Prerna's patch to utopic.

Revision history for this message
Victor Estival (victor-estival-l) wrote :

Hello:

So, in order to solve it... which versions of Ubuntu and OpenStack should I
use?

Thanks

Revision history for this message
Mauro S M Rodrigues (maurorodrigues) wrote :

I would go with ubuntu 15.04, but I've asked for a backport in utopic too, soon should be available.
openstack any version, although I haven't tested the latest kilo rc

Revision history for this message
Victor Estival (victor-estival-l) wrote :

Hello:

that's great! thanks

Best regards,

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Does not look like there's a code fix in Nova. Right?

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Victor Estival (victor-estival-l) wrote :

Not yet... I wil try it next week and I'll let you know it goes

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.