yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76673
[Bug 1728600] Re: Test test_network_basic_ops fails time to time, port doesn't become ACTIVE quickly
Nova expected to wait for all connected port to become active on instance creation before reporting the instance active.
No additional user/tempest wait is required, no random port status flipping is allowed.
** Also affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1728600
Title:
Test test_network_basic_ops fails time to time, port doesn't become
ACTIVE quickly
Status in OpenStack Compute (nova):
New
Status in tempest:
In Progress
Bug description:
Test test_network_basic_ops fails time to time, port doesn't become
ACTIVE quickly
Trace:
Traceback (most recent call last):
File "tempest/scenario/test_security_groups_basic_ops.py", line 185, in setUp
self._deploy_tenant(self.primary_tenant)
File "tempest/scenario/test_security_groups_basic_ops.py", line 349, in _deploy_tenant
self._set_access_point(tenant)
File "tempest/scenario/test_security_groups_basic_ops.py", line 316, in _set_access_point
self._assign_floating_ips(tenant, server)
File "tempest/scenario/test_security_groups_basic_ops.py", line 322, in _assign_floating_ips
client=tenant.manager.floating_ips_client)
File "tempest/scenario/manager.py", line 836, in create_floating_ip
port_id, ip4 = self._get_server_port_id_and_ip4(thing)
File "tempest/scenario/manager.py", line 814, in _get_server_port_id_and_ip4
"No IPv4 addresses found in: %s" % ports)
File "/usr/local/lib/python2.7/dist-packages/unittest2/case.py", line 845, in assertNotEqual
raise self.failureException(msg)
AssertionError: 0 == 0 : No IPv4 addresses found in: [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2017-10-30T10:04:41Z', u'device_owner': u'compute:None', u'revision_number': 9, u'port_security_enabled': True, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'd522b2e5-7e56-4d08-843c-c434c3c2af97', u'ip_address': u'10.100.0.12'}], u'id': u'20d59775-906d-4390-b193-a8ec81817ddb', u'security_groups': [u'908eb03d-2477-49ab-ab9a-fc9999fae454', u'cf62ee1b-eb73-44d0-9ad8-65bb32885505'], u'binding:vif_details': {u'port_filter': True, u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:02:f3:e8', u'project_id': u'0a8532fba2194d32996c3ba46ae35c96', u'status': u'BUILD', u'binding:host_id': u'cfg01', u'description': u'', u'tags': [], u'device_id': u'5ad8f2be-3cbb-49aa-8d72-e81ca6789665', u'name': u'', u'admin_state_up': True, u'network_id': u'49491fd4-2c1e-4c46-8166-b4648eb75f84', u'tenant_id': u'0a8532fba2194d32996c3ba46ae35c96', u'created_at': u'2017-10-30T10:04:37Z', u'binding:vnic_type': u'normal'}]
Ran 1 test in 25.096s
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1728600/+subscriptions