devstack-exercises floating_ips broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Jakub Libosvar | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Enabling the Q_USE_DEBUG_
[Call Trace]
/opt/stack/
/opt/stack/
/opt/stack/
[ERROR] /opt/stack/
=======
SKIP boot_from_volume
SKIP client-env
SKIP marconi
SKIP savanna
SKIP trove
PASS aggregates
PASS bundle
PASS client-args
PASS euca
PASS horizon
PASS sec_groups
PASS swift
FAILED floating_ips
FAILED neutron-adv-test
FAILED volumes
=======
The env is running devstack in a local environment. With the followinjg localrc:
ubuntu@
Q_USE_DEBUG_
NETWORK_
Q_USE_DEBUG_
Q_PLUGIN=ml2
Q_AGENT=openvswitch
DEST=/opt/stack/new
ACTIVE_TIMEOUT=90
BOOT_TIMEOUT=90
ASSOCIATE_
TERMINATE_
MYSQL_PASSWORD=
RABBIT_
ADMIN_PASSWORD=
SERVICE_
SERVICE_
SWIFT_HASH=
ROOTSLEEP=0
ERROR_ON_
ENABLED_
SKIP_EXERCISES=
SERVICE_
SYSLOG=True
SCREEN_
LOGFILE=
VERBOSE=True
FIXED_RANGE=
FIXED_NETWORK_
NETWORK_
VIRT_DRIVER=libvirt
SWIFT_REPLICAS=1
export OS_NO_CACHE=True
CINDER_
API_RATE_
VOLUME_
CINDER_
This situation also cause the neutron Grenade(
the failing command in floating_ips.sh :
check_
+ timeout 90 sh -c 'while ! sudo /usr/local/
PING 10.1.0.4 (10.1.0.4) 56(84) bytes of data.
--- 10.1.0.4 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.4 (10.1.0.4) 56(84) bytes of data.
From 10.1.0.2 icmp_seq=1 Destination Host Unreachable
--- 10.1.0.4 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
After the setup_neutron_debug (https:/
ubuntu@gate-t1:~$ sudo ovs-vsctl show
c6a9fce5-
Bridge br-ex
Port "qg-3ac19751-f0"
Port "tap2d117674-ab"
Port br-ex
Bridge br-int
Port br-int
Port "tap4fe7e74b-0a"
tag: 1
Port "tap24ae41f0-41"
tag: 4095
Port "qr-b835f1ef-38"
tag: 1
Port "tap23056976-35"
tag: 1
ovs_version: "1.4.3"
====== which the Port "tap24ae41f0-41" has a tag of 4095 which should be 1, and the 10.1.0.4 ip address which should be private is pingable from the host.
ubuntu@gate-t1:~$ neutron port-list
+------
| id | name | mac_address | fixed_ips |
+------
| 23056976-
| 24ae41f0-
| 2d117674-
| 3ac19751-
| 4fe7e74b-
| 6d102fae-
| 9af77d01-
| 9cbb95d4-
| b7189d72-
| b835f1ef-
+------
ubuntu@gate-t1:~$ neutron port-list -c id -c device_owner
+------
| id | device_owner |
+------
| 23056976-
| 24ae41f0-
| 2d117674-
| 3ac19751-
| 4fe7e74b-
| 6d102fae-
| 9af77d01-
| 9cbb95d4-
| b7189d72-
| b835f1ef-
+------
ubuntu@gate-t1:~$ ip netns list
qdhcp-a52e7df0-
qprobe-
qrouter-
qdhcp-1014c6c7-
qprobe-
qprobe-
ubuntu@gate-t1:~$
Changed in neutron: | |
assignee: | nobody → Jakub Libosvar (libosvar) |
Changed in neutron: | |
status: | In Progress → Fix Committed |
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-3 → 2014.1 |
from the ovs-vswitchd.log when creating the probe: 00067|bridge| INFO|created port tap594cd882-56 on bridge br-int 00068|netdev_ linux|WARN| /sys/class/ net/tap594cd882 -56/carrier: open failed: No such file or directory 00069|bridge| WARN|bridge br-int: using default bridge Ethernet address 26:27:38:9f:c0:47 00070|netdev_ linux|INFO| ioctl(SIOCGIFHW ADDR) on tap21778bfb-ec device failed: No such device 00071|bridge| WARN|bridge br-ex: using default bridge Ethernet address 9a:a5:5e:8d:fd:4f 00072|netdev_ linux|WARN| ioctl(SIOCGIFIN DEX) on tap21778bfb-ec device failed: No such device 00073|netdev| WARN|failed to get flags for network device tap21778bfb-ec: No such device 00074|netdev_ linux|WARN| ethtool command ETHTOOL_GSET on network device tap594cd882-56 failed: No such device 00075|netdev_ linux|INFO| ioctl(SIOCGIFHW ADDR) on tap594cd882-56 device failed: No such device 00076|netdev_ linux|WARN| ioctl(SIOCGIFIN DEX) on tap594cd882-56 device failed: No such device 00077|netdev_ linux|WARN| tap594cd882- 56: linux-sys get stats failed 19 00078|netdev_ linux|WARN| ethtool command ETHTOOL_GDRVINFO on network device tap594cd882-56 failed: No such device 00079|netdev_ linux|WARN| ethtool command ETHTOOL_GSET on network device tap594cd882-56 failed: No such device 00080|netdev_ linux|WARN| ioctl(SIOCGIFIN DEX) on tap21778bfb-ec device failed: No such device 00081|netdev_ linux|WARN| tap21778bfb- ec: linux-sys get stats failed 19 00082|netdev_ linux|WARN| ethtool command ETHTOOL_GDRVINFO on network device tap21778bfb-ec failed: No such device 00083|netdev_ linux|WARN| ethtool command ETHTOOL_GSET on network device tap21778bfb-ec failed: No such device 00084|netdev_ linux|WARN| ioctl(SIOCGIFIN DEX) on tap594cd882-56 device failed: No such device 00085|netdev_ linux|WARN| tap594cd882- 56: linux-sys get stats failed 19 00086|netdev_ linux|WARN| ethtool command ETHTOOL_GDRVINFO on network device tap594cd882-56 failed: No such device 00087|netdev_ linux|WARN| ethtool command ETHTOOL_GSET on network device tap594cd882-56 failed: No such device 00088|netdev_ linux|WARN| ioctl(SIOCGIFIN DEX) on tap21778bfb-ec device failed: No such device 00089|netdev_ linux|WARN| tap21778bfb- ec: linux-sys get stats failed 19 00090|netdev_ linux|WARN| ethtool command ETHTOOL_GDRVINFO on network device tap21778bfb-ec failed: No such device
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:06|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:07|
Dec 19 20:46:12|
Dec 19 20:46:12|
Dec 19 20:46:12|
Dec 19 20:46:12|
Dec 19 20:46:12|
Dec 19 20:46:12|
Dec 19 20:46:12|