openstack nova多节点高可用,控制节点不能连接实例

查看数: 16785 | 评论数: 11 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-11-6 16:21

正文摘要:

回复

s060403072 发表于 2015-11-10 16:00:26
黑发洋葱头 发表于 2015-11-10 12:14
今天发现,当我新建实例时候,如果此实例是此计算节点的网段内第一台实例,(此时网桥被nova-network首次 ...

这个应该不是关键原因。有时候会这样属正常现象
黑发洋葱头 发表于 2015-11-10 12:14:15
leo_1989 发表于 2015-11-6 18:24
网桥ip分配方式是什么,自动分配?

今天发现,当我新建实例时候,如果此实例是此计算节点的网段内第一台实例,(此时网桥被nova-network首次分配IP),nova-dhcpbrige.log会有消息协议相关报错,但是后面又连上了,这是咋了?
2015-11-10 11:27:55.687 35223 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-11-10 11:28:22.825 36002 INFO oslo_messaging._drivers.impl_rabbit [req-4be7cd39-8c33-44ed-b8e9-b49eec7038af - - - - -] Connecting to AMQP server on compute-1-1:5672
2015-11-10 11:28:22.836 36002 INFO oslo_messaging._drivers.impl_rabbit [req-4be7cd39-8c33-44ed-b8e9-b49eec7038af - - - - -] Connected to AMQP server on compute-1-1:5672

黑发洋葱头 发表于 2015-11-9 10:12:18
计算节点网络配置是这样的
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.VlanManager
compute_driver = libvirt.LibvirtDriver
linuxnet_interface_driver = nova.network.linux_net.LinuxBridgeInterfaceDriver
enabled_apis = ec2,osapi_compute,metadata
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
vlan_interface = em1
public_interface = em1
#vlan_start = 30
use_single_default_gateway = True
黑发洋葱头 发表于 2015-11-9 10:10:58
恩,nova.conf配置的
黑发洋葱头 发表于 2015-11-9 09:54:55
nova 的 default配置
[DEFAULT]
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 172.16.100.12
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 172.16.100.12
novncproxy_base_url = http://172.16.100.11:6080/vnc_auto.html
verbose = True
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.VlanManager
compute_driver = libvirt.LibvirtDriver
linuxnet_interface_driver = nova.network.linux_net.LinuxBridgeInterfaceDriver
enabled_apis = ec2,osapi_compute,metadata
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
vlan_interface = em1
public_interface = em1
use_single_default_gateway = True
黑发洋葱头 发表于 2015-11-9 09:52:53
这个是我计算节点nova的配置,计算节点配置都一样,除了IP以外
[DEFAULT]
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 172.16.100.12
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 172.16.100.12
novncproxy_base_url = http://172.16.100.11:6080/vnc_auto.html
verbose = True
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.VlanManager
compute_driver = libvirt.LibvirtDriver
linuxnet_interface_driver = nova.network.linux_net.LinuxBridgeInterfaceDriver
enabled_apis = ec2,osapi_compute,metadata
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
vlan_interface = em1
public_interface = em1
use_single_default_gateway = True
[glance]
host = compute-1-1
[keystone_authtoken]
auth_uri = http://compute-1-1:5000
auth_url = http://compute-1-1:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = novapass
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_rabbit]
rabbit_host = compute-1-1
rabbit_userid = openstack
rabbit_password = openstack
bob007 发表于 2015-11-9 09:50:11
黑发洋葱头 发表于 2015-11-9 09:46
所以我不能在openstack集群内,除宿主机以外的机器连接实例,但实例能上网

配置成手工配置的
黑发洋葱头 发表于 2015-11-9 09:46:26
所以我不能在openstack集群内,除宿主机以外的机器连接实例,但实例能上网
黑发洋葱头 发表于 2015-11-9 09:45:25
恩,是的,网桥IP也是自动分配的
关闭

推荐上一条 /2 下一条