Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem attaching a second interface into a VM

Hi,

I am using Openstack Icehouse, single node RDO installation on CentOS 6.5 (packstack --allinone). I have a problem attaching a second interface into a VM.

[root@localhost ~(keystone_admin)]# nova interface-attach cpanel

runs without any error in logs, and neutron "port-list" show the new IP/port. However eth1 created in 'cpanel'(server ID) VM does not have any IP address associated with it. Manually assigning the IP address does not work.

Now, eth0 ip (which is already working) = 10.0.0.7 eth1 ip (new interface, manually assigned ip) = 10.0.0.127

Pinging from inside the network namespace works for eth0 , but eth1 ip fails.

[root@localhost ~(keystone_admin)]# ip netns exec qrouter-b95573f7-5a37-4b44-b094-0ccb2d33ab15 ping 10.0.0.7 PING 10.0.0.7 (10.0.0.7) 56(84) bytes of data. 64 bytes from 10.0.0.7: icmp_seq=1 ttl=64 time=0.948 ms 64 bytes from 10.0.0.7: icmp_seq=2 ttl=64 time=0.509 ms 64 bytes from 10.0.0.7: icmp_seq=3 ttl=64 time=0.503 ms 64 bytes from 10.0.0.7: icmp_seq=4 ttl=64 time=0.544 ms ^C --- 10.0.0.7 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3020ms rtt min/avg/max/mdev = 0.503/0.626/0.948/0.186 ms

[root@localhost ~(keystone_admin)]# ip netns exec qrouter-b95573f7-5a37-4b44-b094-0ccb2d33ab15 ping 10.0.0.127 PING 10.0.0.127 (10.0.0.127) 56(84) bytes of data. From 10.0.0.1 icmp_seq=2 Destination Host Unreachable From 10.0.0.1 icmp_seq=3 Destination Host Unreachable From 10.0.0.1 icmp_seq=4 Destination Host Unreachable ^C --- 10.0.0.127 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3007ms

Kindly assist.

Problem attaching a second interface into a VM

Hi,

I am using Openstack Icehouse, single node RDO installation on CentOS 6.5 (packstack --allinone). I have a problem attaching a second interface into a VM.

[root@localhost ~(keystone_admin)]# nova interface-attach cpanel

cpanel

runs without any error in logs, and neutron "port-list" show the new IP/port. However eth1 created in 'cpanel'(server ID) VM does not have any IP address associated with it. Manually assigning the IP address does not work.

Now, eth0 ip (which is already working) = 10.0.0.7 eth1 ip (new interface, manually assigned ip) = 10.0.0.127

Pinging from inside the network namespace works for eth0 , but eth1 ip fails.

[root@localhost ~(keystone_admin)]# ip netns exec qrouter-b95573f7-5a37-4b44-b094-0ccb2d33ab15 ping 10.0.0.7
PING 10.0.0.7 (10.0.0.7) 56(84) bytes of data.
64 bytes from 10.0.0.7: icmp_seq=1 ttl=64 time=0.948 ms
64 bytes from 10.0.0.7: icmp_seq=2 ttl=64 time=0.509 ms
64 bytes from 10.0.0.7: icmp_seq=3 ttl=64 time=0.503 ms
64 bytes from 10.0.0.7: icmp_seq=4 ttl=64 time=0.544 ms
^C
--- 10.0.0.7 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3020ms
rtt min/avg/max/mdev = 0.503/0.626/0.948/0.186 ms

ms [root@localhost ~(keystone_admin)]# ip netns exec qrouter-b95573f7-5a37-4b44-b094-0ccb2d33ab15 ping 10.0.0.127 PING 10.0.0.127 (10.0.0.127) 56(84) bytes of data. From 10.0.0.1 icmp_seq=2 Destination Host Unreachable From 10.0.0.1 icmp_seq=3 Destination Host Unreachable From 10.0.0.1 icmp_seq=4 Destination Host Unreachable ^C --- 10.0.0.127 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3007ms

3007ms

Kindly assist.