Ask Your Question
0

Single Compute node being recognized but can't create instances

asked 2012-02-23 03:22:20 -0500

hashimotor gravatar image

Hello,

I'm trying multi-node settings using griddydynamics diablo repo. One is Controller with Compute node and another is single Compute node.

Compute node with Controller can boot instances, but single Compute node couldn't. Where should I check?

nova-manage service list is smiley and there's no error in nova-compute.log of single Compute node(except nova delete, says "No such file or directory").

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2012-02-25 01:04:24 -0500

hashimotor gravatar image

In nova.conf there is no --multi_host flag but on creating network --multihost=T option added by mistake.

I'll try deleting fixed_ip network and recreate without --multihost=T.

In nova-compute.log at single Compute node nova.rpc says {u'failure': None, u'result': [[{u'bridge': u'br400', u'multi_host': True, u'bridge_interface': u'eth0', u'vlan': 400, u'id': 11, u'injected': False, u'cidr': u'172.17.4.32/28', u'cidr_v6': None}, {u'should_create_bridge': True, u'dns': [], u'vif_uuid': u'373a3bc3-5b54-4162-8dbe-566b23e99332', u'label': u'private_2', u'broadcast': u'172.17.4.47', u'ips': [], u'mac': u'02:16:3e:25:fc:2c', u'rxtx_cap': 0, u'should_create_vlan': True, u'dhcp_server': u'172.17.4.41', u'gateway': u'172.17.4.33'}]]}

== from nova-compute.log ( http://paste.openstack.org/show/4956/ )

2012-02-23 10:54:25,567 nova.rpc: DEBUG [5def4189-c0c8-44b8-8fd5-eea5f5f5b72f admin 2] Receive response {u'failure': None, u'result': [[{u'bridge': u'br400', u'multi_ho st': True, u'bridge_interface': u'eth0', u'vlan': 400, u'id': 11, u'injected': False, u'cidr': u'172.17.4.32/28', u'cidr_v6': None}, {u'should_create_bridge': True, u'd ns': [], u'vif_uuid': u'373a3bc3-5b54-4162-8dbe-566b23e99332', u'label': u'private_2', u'broadcast': u'172.17.4.47', u'ips': [], u'mac': u'02:16:3e:25:fc:2c', u'rxtx_ca p': 0, u'should_create_vlan': True, u'dhcp_server': u'172.17.4.41', u'gateway': u'172.17.4.33'}]]} from (pid=19708) __call__ /usr/lib/python2.6/site-packages/nova/rpc/i mpl_kombu.py:702 2012-02-23 10:54:25,568 nova.rpc: DEBUG [5def4189-c0c8-44b8-8fd5-eea5f5f5b72f admin 2] Receive response {u'failure': None, u'result': None} from (pid=19708) __call__ /u sr/lib/python2.6/site-packages/nova/rpc/impl_kombu.py:702 2012-02-23 10:54:25,571 nova.rpc: DEBUG [5def4189-c0c8-44b8-8fd5-eea5f5f5b72f admin 2] rpc.call results: [[[{u'bridge': u'br400', u'multi_host': True, u'bridge_interfac e': u'eth0', u'vlan': 400, u'id': 11, u'injected': False, u'cidr': u'172.17.4.32/28', u'cidr_v6': None}, {u'should_create_bridge': True, u'dns': [], u'vif_uuid': u'373a 3bc3-5b54-4162-8dbe-566b23e99332', u'label': u'private_2', u'broadcast': u'172.17.4.47', u'ips': [], u'mac': u'02:16:3e:25:fc:2c', u'rxtx_cap': 0, u'should_create_vlan' : True, u'dhcp_server': u'172.17.4.41', u'gateway': u'172.17.4.33'}]]] from (pid=19708) call /usr/lib/python2.6/site-packages/nova/rpc/impl_kombu.py:755 2012-02-23 10:54:25,571 nova.rpc: DEBUG [5def4189-c0c8-44b8-8fd5-eea5f5f5b72f admin 2] rpc.call return to caller: [[{u'bridge': u'br400', u'multi_host': True, u'bridge_ interface': u'eth0', u'vlan': 400, u'id': 11, u'injected': False, u'cidr': u'172.17.4.32/28', u'cidr_v6': None}, {u'should_create_bridge': True, u'dns': [], u'vif_uuid' : u'373a3bc3-5b54-4162-8dbe-566b23e99332', u'label': u'private_2', u'broadcast': u'172.17.4.47', u'ips': [], u'mac': u'02:16:3e:25:fc:2c', u'rxtx_cap': 0, u'should_crea te_vlan': True, u'dhcp_server': u'172.17.4.41', u'gateway': u'172.17.4.33'}]] from ... (more)

edit flag offensive delete link more
0

answered 2012-02-27 08:16:17 -0500

hashimotor gravatar image

After I dropped and re-create nova DB(because nova-manage network modify didn't work) and created fixed ip network without multi_host flag, still VM doesn't boot.

Where can I check?

edit flag offensive delete link more
0

answered 2012-02-27 12:59:23 -0500

hashimotor gravatar image

Solved. changed network's multi_host flag from 1 to 0 and VM booted. Thanks.

edit flag offensive delete link more
0

answered 2012-02-23 04:04:48 -0500

hashimotor gravatar image

nova.conf of both node:

--verbose=true --ec2_url=http://172.17.4.190:8773/services/Cloud --s3_host=172.17.4.190 --cc_host=172.17.4.190 --rabbit_host=172.17.4.190 --sql_connection=mysql://nova:nova@172.17.4.190/nova --glance_api_servers=172.17.4.190:9292 --use_s3=true --libvirt_type=qemu --use_syslog=true --node_availability_zone=nova --logdir=/var/log/nova --logging_context_format_string=%(asctime)s %(name)s: %(levelname)s [%(request_id)s %(user_id)s %(project_id)s] %(message)s --logging_default_format_string=%(asctime)s %(name)s: %(message)s --logging_debug_format_suffix=from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d --use_cow_images=true --auth_driver=nova.auth.dbdriver.DbDriver --network_manager=nova.network.manager.VlanManager --scheduler_driver=nova.scheduler.zone.ZoneScheduler --image_service=nova.image.glance.GlanceImageService --use_ipv6=false --ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets --instances_path=/var/lib/nova/instances --networks_path=/var/lib/nova/networks --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --injected_network_template_dir=/usr/share/nova/interfaces/ --libvirt_xml_template=/usr/share/nova/libvirt.xml.template --vpn_client_template=/usr/share/nova/client.ovpn.template --credentials_template=/usr/share/nova/novarc.template --state_path=/var/lib/nova --lock_path=/var/lib/nova/tmp --vnc_enabled=true --vncproxy_url=http://172.17.4.190:6080 --vncserver_host=0.0.0.0 --vnc_token_ttl=300 --vlan_interface=eth0 --public_interface=eth0 --allow_admin_api=true --keystone_ec2_url=http://172.17.4.190:5000/v2.0/ec2tokens --num_networks=10 --network_size=256 --fixed_range=172.17.4.0/24 --vlan_start=400 --update_dhcp_on_disassociate

== nova-compute.log of Single Compute node(excerpt): http://paste.openstack.org/show/4956/

edit flag offensive delete link more
0

answered 2012-02-23 13:52:57 -0500

Hi, I assume you'd installed nova-network in the new node as well, what's the content of nova-network.log? Also, did you restart services, lib-virt, nova-compute and nova-network? In the dashboard, Is the instance created in Build state and hang in this state? or it is not created?

edit flag offensive delete link more
0

answered 2012-02-24 04:15:19 -0500

hashimotor gravatar image

Thank you for your answer.

I assume you'd installed nova-network in the new node as well, what's the content of nova-network.log? nova-network package is installed but service is not invoked(because I won't going to make multi_node HA mode. )

Also, did you restart services, lib-virt, nova-compute and nova-network? Y but nova-network.

In the dashboard, Is the instance created in Build state and hang in this state? or it is not created? Both exists, but mainly is Build state.

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: 2012-02-23 03:22:20 -0500

Seen: 51 times

Last updated: Feb 27 '12