Ask Your Question
0

nova-compute start: XML error: Missing CPU model name

asked 2015-06-25 07:40:40 -0500

updated 2015-06-25 10:02:36 -0500

Hello,

I am trying to install the latest version of OpenStack following the OpenStack documentation. I am using a Xen Server with a Debian with Xen as Domain-0. I created three virtual machines (Ubuntu Server 14.04 LTS) with xen-tools and I followed the OpenStack guide with the basic 3 nodes setup. In chapter 5, trying to setting up the Compute Node I cannot start the nova-compute service and trying to debug it I discovered it has this error:

/var/log/nova/nova-compute.log:

2015-06-25 14:27:39.345 8176 TRACE nova.openstack.common.threadgroup if ret is None: raise libvirtError ('virConnectBaselineCPU() failed', conn=self)

2015-06-25 14:27:39.345 8176 TRACE nova.openstack.common.threadgroup libvirtError: XML error: Missing CPU model name

I think I have did everything right.

/etc/nova/nova-compute.conf:

    [DEFAULT]
    compute_driver=libvirt.LibvirtDriver
    [libvirt]
    virt_type=qemu

/etc/nova/nova.conf:

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = rabbit_password
auth_strategy = keystone
my_ip = 10.0.0.31
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.0.0.31
novncproxy_base_url = http://controller:6080/vnc_auto.html
verbose = True


[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = admin_password

[glance]
host = controller
edit retag flag offensive close merge delete

Comments

As cited before, I am using Xen Tools to create Virtual Machines, so my hypervisor is Xen. I have /usr/share/libvirt/cpu_map.xml . What should I do with that ? Thank you for your assistance.

Luigi gravatar imageLuigi ( 2015-06-25 08:23:02 -0500 )edit

Maybe I was not very clear. I created the virtual Ubuntu Server machines on which I am trying to install OpenStack. These are virtual machines created with xen-tools but they DON'T have xen hypervisor ! They are regular Ubuntu server 14.04 LTS so I think I have to use QEMU from now on. Am I wrong?

Luigi gravatar imageLuigi ( 2015-06-26 02:56:28 -0500 )edit

Also, I tried to set cpu_model with the different combinations but there is no produced effect, still the same error :( Thank you for your support

Luigi gravatar imageLuigi ( 2015-06-26 02:58:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-01 16:41:56 -0500

mriedem gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-25 07:40:40 -0500

Seen: 358 times

Last updated: Mar 01 '16