could not add computeNode

Bug #1065650 reported by Shi Feng Xiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

 I like to add a compute node to openstack cloud, but nova-manage service list does work, any one can help me? Thanks!

I install openstack on two kvm guest installed ubuntu12.04 with devstack

And I want to use one node as nova controller, the other as compute node, so I copied the nova.conf of the first to the later.

But nova-manage service list seems this configuration does not take effect.

shifengx@cello-vios:/var/log/nova$ nova-manage service list
2012-10-11 14:52:52 DEBUG nova.utils [req-bcc88055-0986-4882-92fe-9828d8aaa868 None None] backend <module 'nova.db.sqlalchemy.api' from '/opt/stack/nova/nova/db/sqlalchemy/api.pyc'> from (pid=5476) __get_backend /opt/stack/nova/nova/utils.py:502
Binary Host Zone Status State Updated_At
nova-compute cello-vios.cn.ibm.com nova enabled :-) 2012-10-11 18:52:48
nova-cert cello-vios.cn.ibm.com nova enabled :-) 2012-10-11 18:52:49
nova-network cello-vios.cn.ibm.com nova enabled :-) 2012-10-11 18:52:43
nova-scheduler cello-vios.cn.ibm.com nova enabled :-) 2012-10-11 18:52:43
nova-consoleauth cello-vios.cn.ibm.com nova enabled :-) 2012-10-11 18:52:48

shifengx@violin03:/etc/init.d$ nova-manage service list
2012-10-11 15:02:37 DEBUG nova.utils [req-809bc699-4393-4eff-896a-d37d1d606481 None None] backend <module 'nova.db.sqlalchemy.api' from '/opt/stack/nova/nova/db/sqlalchemy/api.pyc'> from (pid=19638) __get_backend /opt/stack/nova/nova/utils.py:502
Binary Host Zone Status State Updated_At
nova-compute violin03.cn.ibm.com nova enabled :-) 2012-10-11 19:02:32
nova-cert violin03.cn.ibm.com nova enabled :-) 2012-10-11 19:02:31
nova-network violin03.cn.ibm.com nova enabled :-) 2012-10-11 19:02:36
nova-scheduler violin03.cn.ibm.com nova enabled :-) 2012-10-11 19:02:36
nova-consoleauth violin03.cn.ibm.com nova enabled :-) 2012-10-11 19:02:31

cello-vios.cn.ibm.com IP is 9.123.99.46
violin03.cn.ibm.com IP is 9.123.99.48
nova.conf of cello-vios is below
[DEFAULT]
verbose=True
auth_strategy=keystone
allow_resize_to_same_host=True
api_paste_config=/etc/nova/api-paste.ini
rootwrap_config=/etc/nova/rootwrap.conf
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
dhcpbridge_flagfile=/etc/nova/nova.conf
force_dhcp_release=True
fixed_range=10.0.0.0/24
s3_host=9.123.99.48
s3_port=3333
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=9.123.99.46
sql_connection=mysql://root:password@9.123.99.48/nova?charset=utf8
libvirt_type=qemu
libvirt_cpu_mode=none
instance_name_template=instance-%08x
image_service=nova.image.glance.GlanceImageService
enabled_apis=ec2,osapi_compute,metadata
volume_api_class=nova.volume.cinder.API
state_path=/opt/stack/data/nova
instances_path=/opt/stack/data/nova/instances
logging_context_format_string=%(asctime)s %(color)s%(levelname)s %(name)s [^[[01;36m%(request_id)s ^[[00;36m%(user_name)s %(project_name)s%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
logging_default_format_string=%(asctime)s %(color)s%(levelname)s %(name)s [^[[00;36m-%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
logging_debug_format_suffix=^[[00;33mfrom (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d^[[00m
logging_exception_prefix=%(color)s%(asctime)s TRACE %(name)s ^[[01;35m%(instance)s^[[00m
network_manager=nova.network.manager.FlatDHCPManager
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
novncproxy_base_url=http://9.123.99.46:6080/vnc_auto.html
xvpvncproxy_base_url=http://9.123.99.46:6081/console
vncserver_listen=127.0.0.1
vncserver_proxyclient_address=127.0.0.1
ec2_dmz_host=9.123.99.48
rabbit_host=9.123.99.48
rabbit_password=password
glance_api_servers=9.123.99.48:9292
compute_driver=libvirt.LibvirtDriver
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

Revision history for this message
Tiantian Gao (gtt116) wrote :

what about the config of violin03.cn.ibm.com
the config of two node must be the same "sql_connection" and "rabbit_host"

Revision history for this message
Shi Feng Xiao (xiaoshif) wrote :

Thanks TianTian,

I reinstalled both compute node and control node following http://devstack.org/localrc.html

With the correct localrc on both node, they are deployed successfully

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.