黑发洋葱头 发表于 2015-11-10 12:14 这个应该不是关键原因。有时候会这样属正常现象 |
leo_1989 发表于 2015-11-6 18:24 今天发现,当我新建实例时候,如果此实例是此计算节点的网段内第一台实例,(此时网桥被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 |
计算节点网络配置是这样的 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 |
恩,nova.conf配置的 |
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 |
这个是我计算节点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:46 配置成手工配置的 |
所以我不能在openstack集群内,除宿主机以外的机器连接实例,但实例能上网 |
恩,是的,网桥IP也是自动分配的 |