[Openstack] 回复: 回复: Re: ConnectQuantum to VLAN-tagged physical network
Finally,the network problem has been solved, thank you very much for all your kindness help. 2013-05-10 zengshan2008 发件人:zengshan2008 发送时间:2013-05-10 09:23 主题:回复: Re: [Openstack] ConnectQuantum to VLAN-tagged physical network 收件人:Salvatore Orlandosorla...@nicira.com,Ashok Kumaranashokkumara...@gmail.com 抄送:openstackopenstack@lists.launchpad.net Hi Salvatore, Since I am using the vlan mode according to the https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst so I need to set the physical switch (indentified by the black circle) port to trunk mode? but My networknode didn't receive the DHCP request from the vm, what can I do? 2013-05-10 zengshan2008 发件人:Salvatore Orlando 发送时间:2013-05-09 23:08 主题:Re: [Openstack] ConnectQuantum to VLAN-tagged physical network 收件人:Ashok Kumaranashokkumara...@gmail.com 抄送:openstackopenstack@lists.launchpad.net Your configuration looks correct, and provider networks are what you need for implementing this use case. Is the traffic for your subnets improperly tagged, or are you unable at all to forward traffic? If you're not using GRE overlays it might make sense verifying that VLAN 108/109 are allowed on physical switch ports or that the physical switch ports are in trunk mode. Regards, Salvatore On 8 May 2013 20:21, Ashok Kumaran ashokkumara...@gmail.com wrote: Hi Angelo, This should be possible. Make sure that eth1 is connected to the Vlan trunk with necessary port configurations. Create 2 network with segmentation's ID as 108 and 109 respectively. Create the respective subnets for both network and then proceed with further configurations as needed. Are you facing any specific issues here? -Ashok On Wed, May 8, 2013 at 9:57 PM, Angelo Olivera aoliv...@gmail.com wrote: Hello, I am using Ubuntu 12.04 and OpenStack Grizzly from the Ubuntu Cloud archive. I am trying to get instances to get an IP address from dnsmasq in the 10.33.8.0/24 or 10.33.9.0/24 space and use physical routers at .1 as gateways. Furthermore, these two subnets should be tagged with VLANs 108 and 109, respectively. Is this doable? I have been trying different configurations with Open vSwitch to no avail. My network layout is as follows: Nodes = Controller, network, compute node (32-core system) [eth0] 10.33.10.210. gateway: 10.33.10.1 (physical router) [eth1] connected to VLAN port on switch Compute nodes [eth0] 10.33.10.X [eth1] connected to VLAN port on switch Logical networks [net1] vlan:108 cidr: 10.33.8.0/24 gateway: 10.33.8.1 (physical router) [net2] vlan: 109 cidr: 10.33.9.0/24 gateway: 10.33.9.1 (physical router) One of the configurations I tested: /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini network_vlan_ranges = default:1:4094 bridge_mappings = default:br0 ovs-vsctl add-br br-int ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth1 quantum net-create --shared net1 --provider:network_type vlan --provider:physical_network default --provider:segmentation_id 108 quantum subnet-create net1 10.33.8.0/24 quantum subnet-create net2 10.33.9.0/24 Thanks in advance! -- Angelo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regds, Ashok , Delivery Consultant, HP. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] vm can't connect to remote host (169.254.169.254)
Hi all, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rstIn my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out? May 8 00:45:57 cirros kern.info kernel: [2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected! debug end ## cloud-setup: failed to read iid from metadata. tried 30 WARN: /etc/rc3.d/S45-cloud-setup failed Starting dropbear sshd: generating rsa key... generating dsa key... OK = cloud-final: system completely up in 41.24 seconds wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable instance-id: public-ipv4: local-ipv4 : wget: can't connect to remote host (169.254.169.254): Network is unreachable cloud-userdata: failed to read instance id WARN: /etc/rc3.d/S99-cloud-userdata failed 2013-05-08 zengshan2008___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 回复: Re: vm can't connect to remote host (169.254.169.254)
I didn't quite understand your question, can you explain more? thanks! the following is the router information in my controller node: root@controllernode:~# quantum port-list -- --device_id 8f5f3c17-a00e-4382-a403-181dfbb9d189 --device_owner network:router_gateway +--+--+---+---+ | id | name | mac_address | fixed_ips | +--+--+---+---+ | daf2c037-ccce-4698-a619-1fd507f64c52 | | fa:16:3e:ea:f6:c3 | {subnet_id: 766fb8ec-5ea4-42f8-8af7-8b58928e56c4, ip_address: 192.168.23.102} | +--+--+---+---+ root@controllernode:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface default 192.168.23.10.0.0.0 UG0 00 eth0 192.168.23.0* 255.255.255.0 U 0 00 eth0 202.122.38.0192.168.23.102 255.255.255.0 UG0 00 eth0 localnet* 255.255.255.0 U 0 00 eth1 2013-05-08 zengshan2008 发件人:Aaron Rosen 发送时间:2013-05-08 15:07 主题:Re: [Openstack] vm can't connect to remote host (169.254.169.254) 收件人:zengshan2008zengshan2...@gmail.com 抄送:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com,openstackopenstack@lists.launchpad.net Is the network you are trying to boot on attached to a router (i.e and can you ping the default gw)? On Tue, May 7, 2013 at 11:59 PM, zengshan2008 zengshan2...@gmail.com wrote: Hi all, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst In my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out? May 8 00:45:57 cirros kern.info kernel: [2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected! debug end ## cloud-setup: failed to read iid from metadata. tried 30 WARN: /etc/rc3.d/S45-cloud-setup failed Starting dropbear sshd: generating rsa key... generating dsa key... OK = cloud-final: system completely up in 41.24 seconds wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable instance-id: public-ipv4: local-ipv4 : wget: can't connect to remote host (169.254.169.254): Network is unreachable cloud-userdata: failed to read instance id WARN: /etc/rc3.d/S99-cloud-userdata failed 2013-05-08 zengshan2008 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 回复: 回复: Re: vm can't connect to remote host (169.254.169.254)
and in the network node I can ping 192.168.23.102() ip netns exec qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ping 192.168.23.102 which is the router gateway. PING 192.168.23.102 (192.168.23.102) 56(84) bytes of data. 64 bytes from 192.168.23.102: icmp_req=1 ttl=64 time=0.048 ms 64 bytes from 192.168.23.102: icmp_req=2 ttl=64 time=0.025 ms 64 bytes from 192.168.23.102: icmp_req=3 ttl=64 time=0.045 ms 64 bytes from 192.168.23.102: icmp_req=4 ttl=64 time=0.024 ms ^C --- 192.168.23.102 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms 2013-05-08 zengshan2008 发件人:zengshan2008 发送时间:2013-05-08 15:25 主题:回复: Re: [Openstack] vm can't connect to remote host (169.254.169.254) 收件人:Aaron Rosenaro...@nicira.com 抄送:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com,openstackopenstack@lists.launchpad.net I didn't quite understand your question, can you explain more? thanks! the following is the router information in my controller node: root@controllernode:~# quantum port-list -- --device_id 8f5f3c17-a00e-4382-a403-181dfbb9d189 --device_owner network:router_gateway +--+--+---+---+ | id | name | mac_address | fixed_ips | +--+--+---+---+ | daf2c037-ccce-4698-a619-1fd507f64c52 | | fa:16:3e:ea:f6:c3 | {subnet_id: 766fb8ec-5ea4-42f8-8af7-8b58928e56c4, ip_address: 192.168.23.102} | +--+--+---+---+ root@controllernode:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface default 192.168.23.10.0.0.0 UG0 00 eth0 192.168.23.0* 255.255.255.0 U 0 00 eth0 202.122.38.0192.168.23.102 255.255.255.0 UG0 00 eth0 localnet* 255.255.255.0 U 0 00 eth1 2013-05-08 zengshan2008 发件人:Aaron Rosen 发送时间:2013-05-08 15:07 主题:Re: [Openstack] vm can't connect to remote host (169.254.169.254) 收件人:zengshan2008zengshan2...@gmail.com 抄送:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com,openstackopenstack@lists.launchpad.net Is the network you are trying to boot on attached to a router (i.e and can you ping the default gw)? On Tue, May 7, 2013 at 11:59 PM, zengshan2008 zengshan2...@gmail.com wrote: Hi all, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst In my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out? May 8 00:45:57 cirros kern.info kernel: [2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected! debug end ## cloud-setup: failed to read iid from metadata. tried 30 WARN: /etc/rc3.d/S45-cloud-setup failed Starting dropbear sshd: generating rsa key... generating dsa key... OK = cloud-final: system completely up in 41.24 seconds wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable instance-id: public-ipv4: local-ipv4 : wget: can't connect to remote host (169.254.169.254): Network is unreachable cloud-userdata: failed to read instance id WARN: /etc/rc3.d/S99-cloud-userdata failed 2013-05-08 zengshan2008 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 回复: vm can't connect to remote host (169.254.169.254)
Hi all, found that : root@networknode:/etc# ovs-vsctl show 690ad327-14ad-410e-b310-2d23e4c78223 Bridge br-int Port br-int Interface br-int type: internal Port int-br-em3 Interface int-br-em3 Port qr-d9cb6d6d-5e tag: 1 Interface qr-d9cb6d6d-5e type: internal Port tape10a4f07-60 tag: 1 Interface tape10a4f07-60 type: internal Bridge br-em3 Port em3 Interface em3 Port br-em3 Interface br-em3 type: internal Port phy-br-em3 Interface phy-br-em3 Bridge br-em1 Port em1 Interface em1 Port qg-daf2c037-cc Interface qg-daf2c037-cc type: internal Port br-em1 Interface br-em1 type: internal ovs_version: 1.4.3 root@networknode:/etc# ifconfig tape10a4f07-60 tape10a4f07-60: error fetching interface information: Device not found is this the reason I can't ping vm? and how can I solve it? 2013-05-08 zengshan2008 发件人:zengshan2008 发送时间:2013-05-08 14:59 主题:vm can't connect to remote host (169.254.169.254) 收件人:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com 抄送:openstackopenstack@lists.launchpad.net Hi all, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rstIn my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out? May 8 00:45:57 cirros kern.info kernel: [2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected! debug end ## cloud-setup: failed to read iid from metadata. tried 30 WARN: /etc/rc3.d/S45-cloud-setup failed Starting dropbear sshd: generating rsa key... generating dsa key... OK = cloud-final: system completely up in 41.24 seconds wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable instance-id: public-ipv4: local-ipv4 : wget: can't connect to remote host (169.254.169.254): Network is unreachable cloud-userdata: failed to read instance id WARN: /etc/rc3.d/S99-cloud-userdata failed 2013-05-08 zengshan2008___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 回复: Re: 回复: vm can't connect to remote host (169.254.169.254)
which version are you using? and which mode are you using? there isn't metadata-agent.log file in my environment. 2013-05-08 zengshan2008 发件人:Sg Kylin 发送时间:2013-05-08 18:02 主题:Re: [Openstack] 回复: vm can't connect to remote host (169.254.169.254) 收件人:zengshan2008zengshan2...@gmail.com 抄送:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com,openstackopenstack@lists.launchpad.net Hi All, This problem also took me one day. Currently I got this error from /var/log/quantum/metadata-agent.log: 2013-05-08 17:55:53ERROR [quantum.agent.metadata.agent] Unexpected error. Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py, line 88, in __call__ return self._proxy_request(instance_id, req) File /usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py, line 137, in _proxy_request resp, content = h.request(url, headers=headers) File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1444, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1196, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1132, in _conn_request conn.connect() File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 798, in connect raise socket.error, msg error: [Errno 111] ECONNREFUSED Any advice is appreciate! Best, 2013/5/8 zengshan2008 zengshan2...@gmail.com Hi all, found that : root@networknode:/etc# ovs-vsctl show 690ad327-14ad-410e-b310-2d23e4c78223 Bridge br-int Port br-int Interface br-int type: internal Port int-br-em3 Interface int-br-em3 Port qr-d9cb6d6d-5e tag: 1 Interface qr-d9cb6d6d-5e type: internal Port tape10a4f07-60 tag: 1 Interface tape10a4f07-60 type: internal Bridge br-em3 Port em3 Interface em3 Port br-em3 Interface br-em3 type: internal Port phy-br-em3 Interface phy-br-em3 Bridge br-em1 Port em1 Interface em1 Port qg-daf2c037-cc Interface qg-daf2c037-cc type: internal Port br-em1 Interface br-em1 type: internal ovs_version: 1.4.3 root@networknode:/etc# ifconfig tape10a4f07-60 tape10a4f07-60: error fetching interface information: Device not found is this the reason I can't ping vm? and how can I solve it? 2013-05-08 zengshan2008 发件人:zengshan2008 发送时间:2013-05-08 14:59 主题:vm can't connect to remote host (169.254.169.254) 收件人:Stephen Kramercelticrem...@gmail.com,Anil Vishnoivishnoia...@gmail.com,gong yong shenggong...@linux.vnet.ibm.com 抄送:openstackopenstack@lists.launchpad.net Hi all, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst In my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out? May 8 00:45:57 cirros kern.info kernel: [2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected! debug end ## cloud-setup: failed to read iid from metadata. tried 30 WARN: /etc/rc3.d/S45-cloud-setup failed Starting dropbear sshd: generating rsa key... generating dsa key... OK = cloud-final: system completely up in 41.24 seconds wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable wget: can't connect to remote host (169.254.169.254): Network is unreachable instance-id: public-ipv4: local-ipv4 : wget: can't connect to remote host (169.254.169.254): Network is unreachable cloud-userdata: failed to read instance id WARN: /etc/rc3.d/S99-cloud-userdata failed 2013-05-08 zengshan2008 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 回复: Re: Unable to ping VM using OpenStack and Quantum(openvswitch plugin)
I run ovs-vsctl show on the three node, and here is the result: root@networknode:/var/log/quantum# ovs-vsctl show 690ad327-14ad-410e-b310-2d23e4c78223 Bridge br-int Port br-int Interface br-int type: internal Port int-br-em3 Interface int-br-em3 Port qr-d9cb6d6d-5e tag: 1 Interface qr-d9cb6d6d-5e type: internal Port tape10a4f07-60 tag: 1 Interface tape10a4f07-60 type: internal Bridge br-em3 Port em3 Interface em3 Port br-em3 Interface br-em3 type: internal Port phy-br-em3 Interface phy-br-em3 Bridge br-em1 Port em1 Interface em1 Port qg-daf2c037-cc Interface qg-daf2c037-cc type: internal Port br-em1 Interface br-em1 type: internal ovs_version: 1.4.3 meanwhile, in the network node, dnsmasq is running ps -ef|grep dnsmqsq nobody5903 1 0 May06 ?00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tape10a4f07-60 --except-interface=lo --domain=openstacklocal --pid-file=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/pid --dhcp-hostsfile=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/host --dhcp-optsfile=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/opts --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro --dhcp-range=set:tag0,202.122.38.0,static,120s --conf-file= root 5904 5903 0 May06 ?00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tape10a4f07-60 --except-interface=lo --domain=openstacklocal --pid-file=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/pid --dhcp-hostsfile=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/host --dhcp-optsfile=/var/lib/quantum/dhcp/e58739ff-16dc-4289-8110-242f7818d314/opts --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro --dhcp-range=set:tag0,202.122.38.0,static,120s --conf-file= root 15753 2398 0 04:36 pts/200:00:00 grep --color=auto dnsm root@controllernode:/var/log/quantum# ovs-vsctl show 240e7bfb-3d31-4fe1-b6ea-3806b8eb21ca ovs_version: 1.4.3 root@computenode:~# ovs-vsctl show e59adf21-1b48-4783-b8db-67254ac18bb4 Bridge br-eth1 Port phy-br-eth1 Interface phy-br-eth1 Port br-eth1 Interface br-eth1 type: internal Port eth1 Interface eth1 Bridge br-int Port br-int Interface br-int type: internal Port qvob99918f6-4c tag: 1 Interface qvob99918f6-4c Port int-br-eth1 Interface int-br-eth1 Port qvo87b7b645-b9 tag: 1 Interface qvo87b7b645-b9 Port qvo7d05c230-2b tag: 1 Interface qvo7d05c230-2b Port qvoce7c1eff-af tag: 1 Interface qvoce7c1eff-af ovs_version: 1.4.3 2013-05-07 zengshan2008 发件人:Anil Vishnoi 发送时间:2013-05-07 16:16 主题:Re: [Openstack] Unable to ping VM using OpenStack and Quantum(openvswitch plugin) 收件人:zengshan2008zengshan2...@gmail.com 抄送:gong yong shenggong...@linux.vnet.ibm.com,gongyshgong...@cn.ibm.com,openstackopenstack@lists.launchpad.net one possible reason can be that your VM didn't get IP address from its DHCP server. Can you check your VM instance log (You can check it from dashboard) and see whether its sending the DHCP request for IP and getting any response from it On Tue, May 7, 2013 at 12:24 PM, zengshan2008 zengshan2...@gmail.com wrote: Hi, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst everything works fine, but I can't ping vm from the outside world, neither from the network node.The following is some of my configration. 1) root@networknode:/etc# ip netns qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 qdhcp-e58739ff-16dc-4289-8110-242f7818d314 2) qrouter and qdhcp server is up root@networknode:/etc# ip netns exec qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:85 errors:0 dropped:0 overruns:0 frame:0 TX packets:85 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9224 (9.2 KB) TX bytes:9224 (9.2 KB) qg-daf2c037-cc Link encap:Ethernet HWaddr fa:16:3e:ea:f6:c3 inet addr:192.168.23.102 Bcast:192.168.23.255 Mask:255.255.255.0 inet6 addr: 2401:de00::f816:3eff:feea:f6c3/64 Scope:Global inet6 addr
[Openstack] 回复: Re: Unable to ping VM using OpenStack and Quantum(openvswitch plugin)
I am using three nodes to do the installation, and I am using the openvswitch plugin with the vlan mode, do I need to do some configration in the physical switch? 2013-05-07 zengshan2008 发件人:Anil Vishnoi 发送时间:2013-05-07 16:16 主题:Re: [Openstack] Unable to ping VM using OpenStack and Quantum(openvswitch plugin) 收件人:zengshan2008zengshan2...@gmail.com 抄送:gong yong shenggong...@linux.vnet.ibm.com,gongyshgong...@cn.ibm.com,openstackopenstack@lists.launchpad.net one possible reason can be that your VM didn't get IP address from its DHCP server. Can you check your VM instance log (You can check it from dashboard) and see whether its sending the DHCP request for IP and getting any response from it On Tue, May 7, 2013 at 12:24 PM, zengshan2008 zengshan2...@gmail.com wrote: Hi, I've installed openstack using quantum by the guide https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst everything works fine, but I can't ping vm from the outside world, neither from the network node.The following is some of my configration. 1) root@networknode:/etc# ip netns qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 qdhcp-e58739ff-16dc-4289-8110-242f7818d314 2) qrouter and qdhcp server is up root@networknode:/etc# ip netns exec qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:85 errors:0 dropped:0 overruns:0 frame:0 TX packets:85 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9224 (9.2 KB) TX bytes:9224 (9.2 KB) qg-daf2c037-cc Link encap:Ethernet HWaddr fa:16:3e:ea:f6:c3 inet addr:192.168.23.102 Bcast:192.168.23.255 Mask:255.255.255.0 inet6 addr: 2401:de00::f816:3eff:feea:f6c3/64 Scope:Global inet6 addr: fe80::f816:3eff:feea:f6c3/64 Scope:Link inet6 addr: 2401:de00::6066:acc0:66e3:7434/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5392 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:406572 (406.5 KB) TX bytes:846 (846.0 B) qr-d9cb6d6d-5e Link encap:Ethernet HWaddr fa:16:3e:6d:5a:3a inet addr:202.122.38.1 Bcast:202.122.38.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe6d:5a3a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:108 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2184 (2.1 KB) TX bytes:5928 (5.9 KB) root@networknode:/etc# ip netns exec qdhcp-e58739ff-16dc-4289-8110-242f7818d314 ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:840 (840.0 B) TX bytes:840 (840.0 B) tape10a4f07-60 Link encap:Ethernet HWaddr fa:16:3e:db:8f:23 inet addr:202.122.38.14 Bcast:202.122.38.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fedb:8f23/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:106 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5760 (5.7 KB) TX bytes:2652 (2.6 KB) 3) qrouter can ping the dhcp server from the network node root@networknode:/etc# ip netns exec qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ping 202.122.38.14 PING 202.122.38.14 (202.122.38.14) 56(84) bytes of data. 64 bytes from 202.122.38.14: icmp_req=1 ttl=64 time=0.325 ms 64 bytes from 202.122.38.14: icmp_req=2 ttl=64 time=0.023 ms 64 bytes from 202.122.38.14: icmp_req=3 ttl=64 time=0.024 ms ^C --- 202.122.38.14 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.023/0.124/0.325/0.142 ms 4) virtual machine is up quantum floatingip-list +--+--+-+--+ | id | fixed_ip_address | floating_ip_address | port_id | +--+--+-+--+ | 88398dd1-7256-49c7-b1ad-719903125501 | 202.122.38.15| 192.168.23.103 | ce7c1eff-afcb-4908-b399-0e6e07d2791e
[Openstack] 回复: Re: 回复: Re: 回复: Re: network connections in vm
Hi Steve, I have tried install openstack vlan mode followed this guide: https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst but I still can't ping vm, did you try it already? 2013-05-06 zengshan2008 发件人:Steve Heistand 发送时间:2013-04-16 21:44 主题:Re: 回复: Re: 回复: Re: [Openstack] network connections in vm 收件人:zengshan2008zengshan2...@gmail.com 抄送: I have seen a few people complaining of the same problem on various openstack forums and bug reporting places. but as of yet nobody that has solved the problem. I have cleaned up everything and will try 1 more attempts at building all the quantum network related paths. should that still do the same thing I will probably go try vlan instead of gre as nobody has complained when using vlan. s On 04/16/2013 06:38 AM, zengshan2008 wrote: did you know anybody with the same problem? and how did he solve it? 2013-04-16 zengshan2008 *发件人:*Steve Heistand *发送时间:*2013-04-16 21:35 *主题:*Re: 回复: Re: [Openstack] network connections in vm *收件人:*zengshan2008zengshan2...@gmail.com *抄送:* no I have not. It wasnt an issue with iptables at least that much I know. steve On 04/16/2013 06:29 AM, zengshan2008 wrote: no,I didn't get these logs. did you figure out this problem? 2013-04-16 zengshan2008 *发件人:*Steve Heistand *发送时间:*2013-04-15 22:43 *主题:*Re: [Openstack] network connections in vm *收件人:*zengshan2008zengshan2...@gmail.com *抄送:* recently, 5 seconds ago) due to excessive rate Apr 15 07:41:07|25716|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on tapd48efb62-cc device failed: No such device Apr 15 07:41:16|25717|netdev|WARN|Dropped 311 log messages in last 12 seconds (most recently, 1 seconds ago) due to excessive rate Apr 15 07:41:16|25718|netdev|WARN|failed to get flags for network device qr-d23210b0-43: No such device steve On 04/14/2013 11:08 PM, zengshan2008 wrote: Hi , I followed the instructions in https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/stable/GRE/OpenStack_Folsom_Install_Guide_WebVersion.rst, but there is something wrong with network connnectios of the virtual machine, I can't ping the virtual machine, neither the private ip nor the public ip. The public ip of my virtual machine is 202.122.38.16 and the floating ip associated with it is 192.168.23.103, see below: root@controllernode mailto:root@controllernode:~# quantum floatingip-list +--+--+-+--+ | id | fixed_ip_address | floating_ip_address | port_id | +--+--+-+--+ | 3d94c4d9-c6b4-4401-aec4-cbbe39369663 | 202.122.38.16| 192.168.23.103 | 3831791a-a284-48c8-b219-7482fd7536fa | | ecb7dbee-f9f7-4198-9461-658d177ee6d6 | 202.122.38.15| 192.168.23.102 | 4bb1c620-e2be-4803-92e2-321ae9b7dad5 | +--+--+-+--+ in the controller node ,the route information is: root@controllernode mailto:root@controllernode:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface default 192.168.23.1 0.0.0.0 UG 0 00 eth0 192.168.23.0 * 255.255.255.0 U 0 00 eth0 202.122.38.0192.168.23.101 255.255.255.0 UG0 0 0 eth0 202.122.39.0 * 255.255.255.0 U 0 00 eth1 in the network node, the route information is : root@networknode mailto:root@networknode:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.23.1 0.0.0.0 UG 0 00 br-ex 192.168.23.0 * 255.255.255.0 U 0 00 br-ex 202.122.38.0 * 255.255.255.0 U 0 0 0 em3 202.122.39.0 * 255.255.255.0 U 0 00 em2 and in the network node, the bridge informaion can be shown here: root@networknode mailto:root@networknode:~# brctl show bridge name bridge id STP enabled interfaces br-ex .842b2b74e328 no em1 qg-5f07c271-7f br-int .c69572afce40 no qr-a15b70c4-98 tapab7e5dfb-5c tapccb52561-49 br-tun .96cebe00254b no can anybody help me out? thank you very much! 2013-04-15
[Openstack] ping vm failed
Hi all, I installed openstack following by this guide: https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst during the installation, everything works fine, and I can launch vm, but I can't ping vm or ssh it, neither vm can ping the outside world. is there anyone know the solution? thank you very much! 2013-05-07 zengshan2008___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp