Ask Your Question

configure nova openstack with XenServer

asked 2015-07-14 15:16:18 -0600

anonymous user


I have successfully configured my XenServer environment to run DevStack. I decided to switch to a production environment. I configured a controller node on XenServer and a compute node (para virtualized vm hosted on Xen).
The dashboard is showing that provisioned VMs are created on the compute node. The compute node is hosting those VMs, unlike DevStack which provisioned VMs on XenServer directly. How can i configure nova service to use XCP ? i already followed the docs ( with no luck. here is my nova.conf file

rpc_backend = rabbit
rabbit_host = controller
  rabbit_password = ***************
  auth_strategy = keystone
   my_ip = *****************
  vnc_enabled = False
   vncserver_listen =
   vncserver_proxyclient_address = *************
 novncproxy_base_url = http://**********:6080/vnc_auto.html
  compute_driver = xenapi.XenAPIDriver
 network_api_class =
 security_group_api = nova
 firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
 network_manager =
  network_size = 254
 allow_same_net_traffic = False
 multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
flat_network_bridge = br100
 flat_interface = eth2
public_interface = eth2

connection_url = http://***************
  connection_username = root
    connection_password = ************
   sr_matching_filter = "default-sr:true"
   auth_uri = http://controller:5000/v2.0
   identity_uri = http://controller:35357 
  admin_tenant_name = service 
  admin_user = nova
   admin_password = ************* 
   host = controller
edit retag flag offensive close merge delete


nova-compute.conf: [DEFAULT] compute_driver=xenapi.XenAPIDriver [libvirt] virt_type=xenserver

2015-07-14 17:16:44.158 1725 INFO nova.virt.driver [-] Loading compute driver 'xenapi.XenAPIDriver' 2015-07-14 17:16:44.222 1725 INFO nova.openstack.common.periodic_task [-] Skipping

BuildGuru gravatar imageBuildGuru ( 2015-07-14 16:42:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-15 09:39:44 -0600

Bob Ball gravatar image

Could this just be a display issue? I see that you say that the _dashboard_ claims that the VMs are starting on the compute VM rather than the xenserver host - however if the nova service that you're running really is using the XenAPI driver then that nova service should not be physically able to start a server on the compute VM.

I assume you've checked actually where the VM is running? Does XAPI show the VM as started on the XenServer host? (either xe vm-list or with XenServer?)

edit flag offensive delete link more


Indeed after i changed virt_type=xenserver , it was attempting to creates VMs on the Xen host. I just had to run my compute node in PV mode

BuildGuru gravatar imageBuildGuru ( 2015-07-20 14:18:17 -0600 )edit

HI I am running openstack on ubuntu with devstack and now I want ot add a xen server compute node. From your thread it looks you have already done this.Could you please share any reference to achieve the same.

np97190 gravatar imagenp97190 ( 2015-11-02 07:12:24 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-14 13:00:39 -0600

Seen: 313 times

Last updated: Jul 15 '15