Ask Your Question
0

configure nova openstack with XenServer

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

anonymous user

Anonymous

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 http://docs.openstack.org/juno/config-reference/content/introduction-to-xen.html (http://docs.openstack.org/juno/config...) with no luck. here is my nova.conf file

 [DEFAULT]
rpc_backend = rabbit
rabbit_host = controller
  rabbit_password = ***************
  auth_strategy = keystone
 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
     libvirt_use_virtio_for_bridges=True
      verbose=True
   ec2_private_dns_show_ip=True
 api_paste_config=/etc/nova/api-paste.ini
  enabled_apis=ec2,osapi_compute,metadata
   my_ip = *****************
  vnc_enabled = False
   vncserver_listen = 0.0.0.0
   vncserver_proxyclient_address = *************
 novncproxy_base_url = http://**********:6080/vnc_auto.html
  compute_driver = xenapi.XenAPIDriver
 network_api_class = nova.network.api.API
 security_group_api = nova
 firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
 network_manager = nova.network.manager.FlatDHCPManager
  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

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

Comments

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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

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

Comments

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 -0500 )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 -0500 )edit

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-07-14 13:00:39 -0500

Seen: 238 times

Last updated: Jul 15 '15