Description of problem:
Running the validator "DHCP on the Provisioning Network" results with:
Task 'Look for DHCP responses' failed:
Message: Script `files/rogue_dhcp.py enp5s0f1` exited with code: 1
Traceback (most recent call last):
File "/home/validations/.ansible/tmp/ansible-tmp-1479130289.59-266387329408030/rogue_dhcp.py", line 23, in <module>
from scapy.all import BOOTP
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/all.py", line 28, in <module>
from scapy.route6 import *
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/route6.py", line 273, in <module>
conf.route6 = Route6()
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/route6.py", line 31, in __init__
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/route6.py", line 44, in resync
self.routes = read_routes6()
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/arch/linux.py", line 283, in read_routes6
cset = scapy.utils6.construct_source_candidate_set(d, dp, devaddrs, LOOPBACK_NAME)
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/utils6.py", line 50, in construct_source_candidate_set
if in6_isgladdr(addr) or in6_isuladdr(addr):
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/utils6.py", line 708, in in6_isgladdr
return in6_isincluded(str, '2000::', 3)
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/utils6.py", line 651, in in6_isincluded
temp = inet_pton(socket.AF_INET6, addr)
File "/tmp/validations-venv/lib/python2.7/site-packages/scapy/pton_ntop.py", line 40, in inet_pton
raise Exception("Illegal syntax for IP address")
Exception: Illegal syntax for IP address
Failure! The validation failed for the following hosts:
Version-Release number of selected component (if applicable):
*** Bug 1394829 has been marked as a duplicate of this bug. ***
Fix submitted upstream: https://review.openstack.org/#/c/397314/
The upstream patch has merged, here's the backport to stable/newton: https://review.openstack.org/397727
Removing the blocker flag, as there is a patch posted upstream. Not a blocker due to it being a single validation case.
The backport has merged, too.
Works in openstack-tripleo-validations-5.1.0-5.el7ost.noarch
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.