分享

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

已有(11)人评论

跳转到指定楼层
黑发洋葱头 发表于 2015-11-6 16:24:36
同一vlan,所有的网桥都分配的IP相同,我想应该是这个原因造成的,但是没找到解决办法,求大神指教啊
回复

使用道具 举报

leo_1989 发表于 2015-11-6 18:24:23
黑发洋葱头 发表于 2015-11-6 16:24
同一vlan,所有的网桥都分配的IP相同,我想应该是这个原因造成的,但是没找到解决办法,求大神指教啊

网桥ip分配方式是什么,自动分配?
回复

使用道具 举报

黑发洋葱头 发表于 2015-11-9 09:45:25
恩,是的,网桥IP也是自动分配的
回复

使用道具 举报

黑发洋葱头 发表于 2015-11-9 09:46:26
所以我不能在openstack集群内,除宿主机以外的机器连接实例,但实例能上网
回复

使用道具 举报

bob007 发表于 2015-11-9 09:50:11
黑发洋葱头 发表于 2015-11-9 09:46
所以我不能在openstack集群内,除宿主机以外的机器连接实例,但实例能上网

配置成手工配置的
回复

使用道具 举报

黑发洋葱头 发表于 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
回复

使用道具 举报

黑发洋葱头 发表于 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 10:10:58
恩,nova.conf配置的
回复

使用道具 举报

黑发洋葱头 发表于 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
回复

使用道具 举报

12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条