multi-host unable to connect.

Asked by lipton_icetea on 2013-01-21

I have one cloud-controller and one compute-node.

Cloud-controller ip address : 192.168.4.75
compute-node 1 : 192.168.4.72

Normally cloud-controller and compute-node can connect but now it can't connect.

When i use command "nova-manage service list" in cloud-controller ;

root@devstack:/# nova-manage service list
2012-08-20 17:54:00 DEBUG nova.utils [req-331af51e-38ba-4bc5-9007-d8f38745a062 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=5660) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary Host Zone Status State Updated_At
nova-compute devstack nova enabled :-) 2012-08-20 10:53:54
nova-cert devstack nova enabled :-) 2012-08-20 10:53:59
nova-consoleauth devstack nova enabled :-) 2012-08-20 10:53:58
nova-console devstack nova enabled :-) 2012-08-20 10:53:59
nova-scheduler devstack nova enabled :-) 2012-08-20 10:53:56
nova-volume devstack nova enabled :-) 2012-08-20 10:53:52
nova-network devstack nova enabled :-) 2012-08-20 10:53:56
nova-compute openstackagent nova enabled XXX 2013-01-21 11:04:49
nova-network openstackagent nova enabled XXX 2013-01-21 11:04:52

and compute-node.

2013-01-21 18:06:15 DEBUG nova.utils [req-ae3c73d7-32f9-4355-9e5e-5d74fd2c592b None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=16621) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary Host Zone Status State Updated_At
nova-compute devstack nova enabled XXX 2012-08-20 10:55:15
nova-cert devstack nova enabled XXX 2012-08-20 10:55:09
nova-consoleauth devstack nova enabled XXX 2012-08-20 10:55:18
nova-console devstack nova enabled XXX 2012-08-20 10:55:09
nova-scheduler devstack nova enabled XXX 2012-08-20 10:55:17
nova-volume devstack nova enabled XXX 2012-08-20 10:55:13
nova-network devstack nova enabled XXX 2012-08-20 10:55:17
nova-compute openstackagent nova enabled :-) 2013-01-21 11:06:11
nova-network openstackagent nova enabled :-) 2013-01-21 11:06:15

Below is given the nova.conf input details (cloud-controller)

--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
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=192.168.4.75
--ec2_host=192.168.4.75
--rabbit_host=192.168.4.75
--cc_host=192.168.4.75
--nova_url=http://192.168.4.75:8774/v1.1/
--routing_source_ip=192.168.4.75
--glance_api_servers=192.168.4.75:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.
--sql_connection=mysql://nova:mygreatsecret@127.0.0.1/nova
--ec2_url=http://192.168.4.75:8773/services/Cloud
--keystone_ec2_url=http://192.168.4.75:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
#vnc
--novnc_enabled=true
--vnc_enabled=true
--novncproxy_base_url=http://192.168.4.75:6080/vnc_auto.html
--vncserver_proxyclient_address=10.0.1.20
--vncserver_listen=10.0.1.20
--vnc_console_proxy_url=http://192.168.4.75:6080
--vncproxy_url=http://192.168.4.75:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth1
--flat_interface=eth2
--flat_network_bridge=br100
--fixed_range=10.0.1.32/27
--floating_range=192.168.4.224/27
--network_size=32
--flat_network_dhcp_start=10.0.1.33
--flat_injected=False
--force_dhcp_release

--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose
--iscsi_ip_address=192.168.4.75
### volume
--volume_group=nova-volumes
--volume_name_template=volume-%08x

and nova.conf of nova-compute
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--lock_path=/var/lock/nova
--state_path=/var/lib/nova
--verbose
--s3_host=192.168.4.75
--cc_host=192.168.4.75
--rabbit_host=10.0.1.20
--ec2_url=http://192.168.4.75:8773/services/Cloud
--fixed_range=10.0.1.32/27
--network_size=32
--FAKE_subdomain=ec2
--routing_source_ip=10.0.1.20
--sql_connection=mysql://nova:mygreatsecret@192.168.4.75/nova
--glance_host=10.0.1.20
--image_service=nova.image.glance.GlanceImageService
--my_ip=192.168.4.72
--vncserver_proxyclient_address=192.168.4.75
--libvirt_type=qemu
--connection_type=libvirt
--instance_name_template=instance-%08x
--api_paste_config=/etc/nova/api-paste.ini
--allow_resize_to_same_host=True
--public_interface=eth1
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--connection_type=libvirt
#vnc
--vncserver_proxyclient_address=10.0.1.19
#--vnc_enabled=true
#--novnc_enabled=true
#--vncproxy_url=http://192.168.4.75:6080
--vnc_console_proxy_url=http://192.168.4.75:6080
--novncproxy_base_url=http://192.168.4.75:6080/vnc_auto.html
--vncserver_listen=10.0.1.19

#edit
--nova_url=http://192.168.4.75:8774/v1.1/
--glance_api_servers=192.168.4.75:9292
--iscsi_ip_prefix=192.168.4
#network
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--floating_range=192.168.4.224/27
--iscsi_helper=tgtadm
--auth_strategy=keystone
--root_helper=sudo nova-rootwrap

Please help to resolve this problem.
Thank you :-)

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2013-01-21
Last reply:
2013-01-22
Keith Tobin (keith-tobin) said : #1

When you say can't connect can you explain further?

Can you also post logs, and we can have a look for errors?

Can you help with this problem?

Provide an answer of your own, or ask lipton_icetea for more information if necessary.

To post a message you must log in.