Bug 1554248

Summary: Import error in validation "Compare switch port VLANs to VLANs in nic config"
Product: Red Hat OpenStack Reporter: Udi <ukalifon>
Component: openstack-tripleo-validationsAssignee: Florian Fuchs <flfuchs>
Status: CLOSED ERRATA QA Contact: Udi <ukalifon>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: augol, bfournie, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-8.4.1-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:35:18 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:
Bug Depends On:    
Bug Blocks: 1471531    

Description Udi 2018-03-12 08:57:16 UTC
Description of problem:
The validation fails with a Python import error:

Task 'Check that switch vlans are present if used in nic-config files' failed:
Host: localhost
Message: MODULE FAILURE

stderr:
    Traceback (most recent call last):
      File "/tmp/ansible_ee3Uft/ansible_module_switch_vlans.py", line 23, in <module>
        import validations.library.network_environment as net_utils
    ImportError: No module named validations.library.network_environment

Failure! The validation failed for all hosts:
* localhost


Version-Release number of selected component (if applicable):
openstack-tripleo-validations-8.3.1-0.20180304031640.d5546cd.el7.centos.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install Queens with quickstart
2. Log in to TripleoUI
3. Start a deployment of 1 controller and 1 compute
4. Wait for the pre-deployment validations to complete


Actual results:
The validator "Compare switch port VLANs to VLANs in nic config" fails with an import error.

Comment 6 Udi 2018-05-16 12:44:07 UTC
Verified in: openstack-tripleo-validations-8.4.1-5.el7ost.noarch

The validator now generates multiple warnings. A new bug was opened: https://bugzilla.redhat.com/show_bug.cgi?id=1578828

Comment 8 errata-xmlrpc 2018-06-27 13:35:18 UTC
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.

https://access.redhat.com/errata/RHEA-2018:2086

Comment 9 Jan Buchta 2020-05-27 09:24:40 UTC
*** Bug 1561408 has been marked as a duplicate of this bug. ***