HI, Mate: Thanks for your reply.
I mess up the system, so I was doing another fresh install. I am using the same configuration file as before, When I type nova network-create vmnet --fixed-range-v4=10.0.0.0/24--bridge-interface=br100 --multi-host=T, it says: ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-74ff7e19-8eda-41d5-88be-f7e1ece69c11) When I check the log file, it says: The nova-compute.log was empty (I did clean it before, then I restart the nova service hoping get a log from then). The nova-network.log says: 2014-01-17 11:19:10.215 1964 TRACE nova sys.exit(main()) 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/cmd/network.py", line 41, in main 2014-01-17 11:19:10.215 1964 TRACE nova service.wait() 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in wait 2014-01-17 11:19:10.215 1964 TRACE nova _launcher.wait() 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py", line 128, in wait 2014-01-17 11:19:10.215 1964 TRACE nova rpc.cleanup() 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 239, in cleanup 2014-01-17 11:19:10.215 1964 TRACE nova return _get_impl().cleanup() 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 305, in _get_impl 2014-01-17 11:19:10.215 1964 TRACE nova _RPCIMPL = importutils.import_module(impl) 2014-01-17 11:19:10.215 1964 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 59, in import_module 2014-01-17 11:19:10.215 1964 TRACE nova __import__(import_str) 2014-01-17 11:19:10.215 1964 TRACE nova ImportError: No module named impl.kombu 2014-01-17 11:19:10.215 1964 TRACE nova Did I miss something here? Thanks very much! Sisu On Mon, Jan 13, 2014 at 2:21 AM, Mate Lakat <[email protected]> wrote: > Hi Xi, > > Do you have some logs available? The log messages would help a lot in > findinf the issue. > > Look at how devstack works, that's always a good starting point. > > https://github.com/openstack-dev/devstack/tree/master/tools/xen > > For me, it seems, that xenapi_connection_url does not contain the http > prefix. That could be an issue - again, logs would help. > > I would suggest to look at the devstack setup for a reference. > > Also, you have to be aware, that the XenSever installation will have a > slightly different architecture, compared to KVM: > > > http://docs.openstack.org/havana/config-reference/content/introduction-to-xen.html > > Let me know if you need more help. > > Cheers, > Mate > > On Sun, Jan 12, 2014 at 05:44:45PM -0600, Sisu Xi wrote: > > Hi, > > > > I am trying to add XenServer as a compute node, but failed to connect to > > the controller. > > > > For the controller node, I have Ubuntu Server 12.04 with 1 harddisk and 1 > > NIC. > > I followed the guide on > > http://docs.openstack.org/trunk/install-guide/install/apt/content/ until > > the dashboard part (I haven't done the network part.). Everything works > > fine. (and I tested with another machine with KVM as the compute node, it > > works, then I want to replace KVM with XenServer). > > > > For the compute node, I installed a fresh XenServer 6.2, with SP1 patch > > installed. It has 1 harddisk and 1 NIC. Then I try to follow the guide on > > https://github.com/Donelle/HowTo-Openstack-ComputeNode-Setup without the > > network part. However, seems the controller node and compute node are not > > connected. > > > > The tutorial on devstack is helpful, but it is use XenServer as a single > > node. Is there a easy way to configure it just as a compute node with > > nova-compute and nova-network? > > > > Here is the nova.conf on my compute node, > > #####################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=xapi > > root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf > > > > verbose=True > > debug = 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 = nova.rpc.impl_kombu > > rabbit_host = controller > > rabbit_password = RABBIT_PASS > > > > glance_host=controller > > glance_api_servers = controller:9292 > > > > virt_driver=xenserver > > libvirt_type=xen > > compute_driver=xenapi.XenAPIDriver > > xenapi_connection_url=compute1 > > xenapi_connection_username=root > > xenapi_connection_password=passwd > > > > my_ip = OpenStack > > vnc_enabled=True > > vncserver_listen = compute1 > > vncserver_proxyclient_address = compute1 > > novncproxy_base_url=http://controller:6080/vnc_auto.html > > > > scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler > > > > network_manager=nova.network.manager.FlatDHCPManager > > # firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver > > network_size=254 > > allow_same_net_traffic=False > > multi_host=True > > send_arp_for_ha=True > > share_dhcp_address=True > > force_dhcp_release=True > > > > network_manager = nova.network.manager.FlatDHCPManager > > firewall_driver = nova.virt.firewall.NoopFirewallDriver > > xenapi_disable_agent = True > > > > my_ip = 172.16.21.6 > > > > flat_network_bridge=br100 > > flat_interface=eth0 > > public_interface=eth0 > > > > auth_strategy=keystone > > > > [database] > > # The SQLAlchemy connection string used to connect to the database > > connection = mysql://nova:NOVA_DBPASS@controller/nova > > > > [keystone_authtoken] > > auth_host = controller > > auth_port = 35357 > > auth_protocol = http > > admin_tenant_name = service > > admin_user = nova > > admin_password = NOVA_PASS > > ######################################### > > > > and the nova-compute.conf file. > > > > ##############nova-compute.conf############ > > [DEFAULT] > > > > libvirt_type=xen > > compute_driver=xenapi.XenAPIDriver > > xenapi_connection_url=compute1 > > xenapi_connection_username=root > > xenapi_connection_password=123123 > > xenapi_vif_driver=nova.virt.xenapi.vif.XenAPIOpenVswitchDriver > > xenapi_ovs_integration_bridge=xapi0 > > xenapi_torrent_images=none > > sr_matching_filter=default-sr:true > > ######################################### > > > > > > Thanks in advance! > > > > -- > > Sisu Xi, PhD Candidate > > > > http://www.cse.wustl.edu/~xis/ > > Department of Computer Science and Engineering > > Campus Box 1045 > > Washington University in St. Louis > > One Brookings Drive > > St. Louis, MO 63130 > > > _______________________________________________ > > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > Post to : [email protected] > > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > -- > Mate Lakat > -- Sisu Xi, PhD Candidate http://www.cse.wustl.edu/~xis/ Department of Computer Science and Engineering Campus Box 1045 Washington University in St. Louis One Brookings Drive St. Louis, MO 63130
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
