yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46351
[Bug 1523638] Re: tempest fails with No IPv4 addresses found
Reviewed: https://review.openstack.org/276527
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=1d0c1dca74a4a1ab90c03c8fc675fe55fb2feccf
Submitter: Jenkins
Branch: master
commit 1d0c1dca74a4a1ab90c03c8fc675fe55fb2feccf
Author: Kevin Benton <blak111@xxxxxxxxx>
Date: Thu Feb 4 14:30:08 2016 -0800
Emit warning when instances have ports not ACTIVE
This changes the tempest logic to request all ports rather than
just ACTIVE ports for a server and then filters them locally so
we can log an warning message when a server has ports not in the
ACTIVE state. This will help debug cases in the future where the
Neutron port status is in an unstable state due to agent wiring
errors.
Change-Id: I979a06688a5dfecaaef5e7e4a85cb8494095c754
Closes-Bug: #1523638
** Changed in: tempest
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1523638
Title:
tempest fails with No IPv4 addresses found
Status in neutron:
Fix Released
Status in tempest:
Fix Released
Bug description:
http://logs.openstack.org/42/250542/7/check/gate-tempest-dsvm-neutron-
linuxbridge/3a00f8b/logs/testr_results.html.gz
Traceback (most recent call last):
File "tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "tempest/scenario/test_network_basic_ops.py", line 550, in test_subnet_details
self._setup_network_and_servers(dns_nameservers=[initial_dns_server])
File "tempest/scenario/test_network_basic_ops.py", line 123, in _setup_network_and_servers
floating_ip = self.create_floating_ip(server)
File "tempest/scenario/manager.py", line 842, in create_floating_ip
port_id, ip4 = self._get_server_port_id_and_ip4(thing)
File "tempest/scenario/manager.py", line 821, in _get_server_port_id_and_ip4
"No IPv4 addresses found in: %s" % ports)
File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/unittest2/case.py", line 845, in assertNotEqual
raise self.failureException(msg)
AssertionError: 0 == 0 : No IPv4 addresses found in: []
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1523638/+subscriptions
References