← Back to team overview

openstack team mailing list archive

Re: openstack folsom node compute status XXX

 

Hi,

Probably firewall and/or mysql rights issue. Can you check if you can connect to mysql server from compute node.



From: jt628910 <jt628910@xxxxxxx<mailto:jt628910@xxxxxxx>>
Reply-To: jt628910 <jt628910@xxxxxxx<mailto:jt628910@xxxxxxx>>
Date: Wednesday, December 26, 2012 12:37 AM
To: openstack <openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>>, coscl <coscl@xxxxxxxxxxxxxxxxxxx<mailto:coscl@xxxxxxxxxxxxxxxxxxx>>
Subject: [Openstack] openstack folsom node compute status XXX

hi all:
I have a problem , when I installed openstack on two computers , one as controller ,the other as node computer,   computer  OS(rhel6.2)
controller(server name: openstack) , I installed keystone glance nova
nova.conf
[DEFAULT]
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/nova-dhcpbridge
dhcpbridge_flagfile = /etc/nova/nova.conf
force_dhcp_release = True
injected_network_template = /usr/share/nova/interfaces.template
libvirt_nonblocking = True
libvirt_inject_partition = -1
network_manager = nova.network.manager.FlatDHCPManager
iscsi_helper = tgtadm
sql_connection = mysql://nova:nova@10.1.82.32/nova<mailto:nova@10.1.82.32/nova>
compute_driver = libvirt.LibvirtDriver
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
rpc_backend = nova.openstack.common.rpc.impl_qpid
rootwrap_config = /etc/nova/rootwrap.conf

auth_strategy=keystone
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
my_ip = 10.1.82.32
public_interface = eth0
flat_network_bridge = br100
flat_interface = eth0
fixed_range = 192.168.100.0/24
libvirt_type = kvm
connection_type = libvirt
novncproxy_base_url = http://10.1.82.32:6080/vnc_auto.html
vncserver_proxyclient_address = 10.1.82.32
vncserver_listen = 10.1.82.32

# APIS

osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions

ec2_dmz_host=10.1.82.32

s3_host=10.1.82.32



# RABBITMQ
rabbit_host=10.1.82.32

api_paste_config=/etc/nova/api-paste.ini

[keystone_authtoken]
admin_tenant_name = service
admin_user = nova
admin_password = nova
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-nova                                                                                                                                                     1,1          顶端

node computer(node2) , I installed nova-compute nova-network
nova.conf
[DEFAULT]
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/nova-dhcpbridge
dhcpbridge_flagfile = /etc/nova/nova.conf
force_dhcp_release = True
injected_network_template = /usr/share/nova/interfaces.template
libvirt_nonblocking = True
libvirt_inject_partition = -1
network_manager = nova.network.manager.FlatDHCPManager
iscsi_helper = tgtadm
sql_connection = mysql://nova:nova@10.1.82.32/nova<mailto:nova@10.1.82.32/nova>
compute_driver = libvirt.LibvirtDriver
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
rpc_backend = nova.openstack.common.rpc.impl_qpid
rootwrap_config = /etc/nova/rootwrap.conf

auth_strategy=keystone
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
my_ip = 10.1.82.35
public_interface = eth0
flat_network_bridge = br100
flat_interface = eth0
fixed_range = 192.168.100.0/24
libvirt_type = kvm
connection_type = libvirt
novncproxy_base_url = http://10.1.82.32:6080/vnc_auto.html
vncserver_proxyclient_address = 10.1.82.35
vncserver_listen = 10.1.82.35

# APIS

osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions

ec2_dmz_host=10.1.82.32

s3_host=10.1.82.32



# RABBITMQ

rabbit_host=10.1.82.32

api_paste_config=/etc/nova/api-paste.ini

[keystone_authtoken]
admin_tenant_name = service
admin_user = nova
admin_password = nova
auth_host = 10.1.82.32
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-nova                                                                                                                                                              1,1          顶端


run  nova-manager service list
result:
[root@openstack ~]# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-compute     openstack                            nova             enabled    :-)   2012-12-26 08:16:54
nova-scheduler   openstack                            nova             enabled    :-)   2012-12-26 08:16:53
nova-network     openstack                            nova             enabled    :-)   2012-12-26 08:16:48
nova-cert        openstack                            nova             enabled    :-)   2012-12-26 08:16:48
nova-consoleauth openstack                            nova             enabled    :-)   2012-12-26 08:16:53
nova-compute     node1                                nova             enabled    XXX   None
nova-network     node1                                nova             enabled    XXX   None
nova-compute     node2                                nova             enabled    XXX   None
nova-network     node2                                nova             enabled    XXX   None

and I do not find any error in /var/log/nova/*

Did I miss somethings

Expect your answer!Thanks!
________________________________
jt628910

References