[Openstack] 回复: Re: 回复: Re: openstack folsom node compute status XXX

jt628910 jt628910 at 163.com
Thu Dec 27 06:59:53 UTC 2012


Got it , Thanks !




jt628910

发件人: 陈龙
发送时间: 2012-12-27 13:02
收件人: jt628910
主题: Re:[Openstack] 回复: Re: openstack folsom node compute status XXX


Modify the mysql database 




At 2012-12-27 12:56:40,jt628910 <jt628910 at 163.com> wrote:

Yes , you are right . I first try to join the node with that host name, fail, and then try again with the node2 name . How do I solve this problem . I don't understand " but you do not mention it in your setup" .
Can you give me some solution
Thanks!



jt628910

发件人: Asher Newcomer
发送时间: 2012-12-27 12:07
收件人: jt628910
抄送: coscl; openstack
主题: Re: [Openstack] openstack folsom node compute status XXX
You have node1 listed in the nova-manage output, but you do not mention it in your setup.
Did you possibly first try to join the node with that host name, fail, and then try again with the node2 name, or is that another node? If not another node, perhaps you have stale db entries causing problems?
On Dec 26, 2012 3:43 AM, "jt628910" <jt628910 at 163.com> wrote:

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
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
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 at 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

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121227/264cfc64/attachment.html>


More information about the Openstack mailing list