Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1554248 - Import error in validation "Compare switch port VLANs to VLANs in nic config"
Import error in validation "Compare switch port VLANs to VLANs in nic config"
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: beta
: 13.0 (Queens)
Assigned To: Florian Fuchs
Udi
: Triaged
Depends On:
Blocks: 1471531
  Show dependency treegraph
 
Reported: 2018-03-12 04:57 EDT by Udi
Modified: 2018-06-27 09:35 EDT (History)
6 users (show)

See Also:
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 09:35:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1761717 None None None 2018-04-06 06:14 EDT
OpenStack gerrit 563969 None stable/queens: MERGED tripleo-validations: Fix Switch VLANs validation (I65292df11be601c39552801ed0c00f9ff7556633) 2018-05-02 11:13 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:35 EDT

  None (edit)
Description Udi 2018-03-12 04:57:16 EDT
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 08:44:07 EDT
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 09:35:18 EDT
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

Note You need to log in before you can comment on or make changes to this bug.