gate is failing with MAC address validation issues

Bug #1490374 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Critical
Steve Baker

Bug Description

see:
http://logs.openstack.org/89/215489/7/check/gate-heat-python27/5de213c/console.html#_2015-08-30_23_12_22_403

2015-08-30 23:12:22.403 | Traceback (most recent call last):
2015-08-30 23:12:22.403 | File "heat/tests/neutron/test_neutron_port.py", line 224, in test_allowed_address_pair
2015-08-30 23:12:22.403 | scheduler.TaskRunner(port.create)()
2015-08-30 23:12:22.403 | File "heat/engine/scheduler.py", line 177, in __call__
2015-08-30 23:12:22.403 | self.start(timeout=timeout)
2015-08-30 23:12:22.403 | File "heat/engine/scheduler.py", line 203, in start
2015-08-30 23:12:22.403 | self.step()
2015-08-30 23:12:22.404 | File "heat/engine/scheduler.py", line 226, in step
2015-08-30 23:12:22.404 | next(self._runner)
2015-08-30 23:12:22.404 | File "heat/engine/scheduler.py", line 329, in wrapper
2015-08-30 23:12:22.404 | subtask = parent.throw(*sys.exc_info())
2015-08-30 23:12:22.404 | File "heat/engine/resource.py", line 796, in create
2015-08-30 23:12:22.404 | raise failure
2015-08-30 23:12:22.404 | heat.common.exception.ResourceFailure: StackValidationFailed: resources.port: Property error: port.Properties.allowed_address_pairs[0].mac_address: Error validating value '00-B0-D0-86-BB-F7': Invalid MAC address.

also

2015-08-30 23:10:46.850 | File "heat/tests/constraints/test_common_constraints.py", line 81, in test_valid_mac_format
2015-08-30 23:10:46.850 | self.assertTrue(self.constraint.validate(mac, None))
2015-08-30 23:10:46.850 | File "/home/jenkins/workspace/gate-heat-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
2015-08-30 23:10:46.850 | raise self.failureException(msg)
2015-08-30 23:10:46.850 | AssertionError: False is not true

Tags: gate-failure
Angus Salkeld (asalkeld)
Changed in heat:
status: New → Triaged
importance: Undecided → Critical
tags: added: gate-failure
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

It looks like netaddr-0.7.16 (released yesterday) has a regression. The following python returns True against 0.7.15, False for 0.7.16

import netaddr
value='00-B0-D0-86-BB-F7'
netaddr.valid_mac(value)

Revision history for this message
Steve Baker (steve-stevebaker) wrote :
Revision history for this message
David Moss (drkjam) wrote :

Just released netaddr 0.7.17 with a fix for this. Apologies for the downstream issues caused by this.

Revision history for this message
Matt Riedemann (mriedem) wrote :

g-r block on netaddr 0.7.16: https://review.openstack.org/#/c/218720/

Changed in heat:
status: Triaged → Fix Committed
assignee: nobody → Steve Baker (steve-stevebaker)
milestone: none → liberty-3
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-3 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.