Bug 1418392
| Summary: | TripleO Validation fail due to required Scapy package [rhos-10.0] | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Razique Mahroua <rmahroua> | ||||||
| Component: | openstack-tripleo-validations | Assignee: | Martin André <maandre> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | nlevinki <nlevinki> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 10.0 (Newton) | CC: | flfuchs, gmollett, jjoyce, jrist, jschluet, maandre, m.andre, mburns, rhos-maint, slinaber, tvignaud | ||||||
| Target Milestone: | --- | Keywords: | Security, Triaged, ZStream | ||||||
| Target Release: | 10.0 (Newton) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1435319 (view as bug list) | Environment: | |||||||
| Last Closed: | 2018-10-11 08:28:19 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1420632 | ||||||||
| Attachments: |
|
||||||||
|
Description
Razique Mahroua
2017-02-01 17:40:57 UTC
Created attachment 1246756 [details]
Workaround
Created attachment 1246757 [details]
Workaround - second file
doing a bit of digging here is what I found for scapy references in OSP 10
[openstack-tripleo-validations]$ ag scapy
tripleo-validations-5.1.1/validations/dhcp-provisioning.yaml
23: - name: Install scapy
24: pip: name=scapy version=2.3.2 state=present virtualenv=/tmp/validations-venv
tripleo-validations-5.1.1/validations/files/rogue_dhcp.py
17:# Disable scapy's warning to stderr:
20:logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
23:from scapy.all import BOOTP
24:from scapy.all import conf
25:from scapy.all import DHCP
26:from scapy.all import Ether
27:from scapy.all import get_if_raw_hwaddr
28:from scapy.all import IP
29:from scapy.all import srp
30:from scapy.all import UDP
tripleo-validations-5.1.1/validations/dhcp-introspection.yaml
18: - name: Install scapy
19: pip: name=scapy version=2.3.2 state=present virtualenv=/tmp/validations-venv
how are we getting pip installed on the system? I've pushed a patch both upstream [1] and downstream [2] that replaces the scapy script by one using raw sockets. The upstream patch received negative feedback asking to package scapy instead. My suggestion would be to remove this validation if the patch is not going to be merged. I don't know how much work is needed to get scapy packaged for RHEL, but this is not something I can commit to right now. Jason, can someone from the UI DFG take over these patches? [1] https://review.openstack.org/#/c/430681/ [2] https://code.engineering.redhat.com/gerrit/#/c/97154/ Martin - yes |