Bug 1656101 - The validators: "Neutron Sanity Check" fail.
Summary: The validators: "Neutron Sanity Check" fail.
Keywords:
Status: CLOSED DUPLICATE of bug 1646195
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Andrey Fiodorov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-04 17:04 UTC by Andrey Fiodorov
Modified: 2018-12-04 22:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-04 22:33:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrey Fiodorov 2018-12-04 17:04:16 UTC
Description of problem:
The validators: "Neutron Sanity Check" fail with "MODULE FAILURE" error.


Version-Release number of selected component (if applicable):
openstack-tripleo-validations-9.3.1-0.20181008110754.4064fb7.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP14 (from 2018-12-03.2)
2. Go to UI
3. Run the validator "Neutron Sanity Check"

Actual results:
The validator should passes/fails with clear message.

Expected results:
the validator fails with error message:

Task 'Run neutron-sanity-check' failed:
Host: controller-1
Message: MODULE FAILURE

stdout:
    Traceback (most recent call last):
      File "/tmp/ansible_xMHp5C/ansible_module_neutron_sanity_check.py", line 100, in <module>
        main()
      File "/tmp/ansible_xMHp5C/ansible_module_neutron_sanity_check.py", line 79, in main
        stderr=subprocess.PIPE)
      File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
        errread, errwrite)
      File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

stderr:
    Shared connection to 192.168.24.21 closed.

Task 'Run neutron-sanity-check' failed:
Host: controller-0
Message: MODULE FAILURE

stdout:
    Traceback (most recent call last):
      File "/tmp/ansible_VqtaZi/ansible_module_neutron_sanity_check.py", line 100, in <module>
        main()
      File "/tmp/ansible_VqtaZi/ansible_module_neutron_sanity_check.py", line 79, in main
        stderr=subprocess.PIPE)
      File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
        errread, errwrite)
      File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

stderr:
    Shared connection to 192.168.24.9 closed.

Task 'Run neutron-sanity-check' failed:
Host: controller-2
Message: MODULE FAILURE

stdout:
    Traceback (most recent call last):
      File "/tmp/ansible_fZc6Fi/ansible_module_neutron_sanity_check.py", line 100, in <module>
        main()
      File "/tmp/ansible_fZc6Fi/ansible_module_neutron_sanity_check.py", line 79, in main
        stderr=subprocess.PIPE)
      File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
        errread, errwrite)
      File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

stderr:
    Shared connection to 192.168.24.14 closed.

Failure! The validation failed for all hosts:
* controller-0
* controller-1
* controller-2

Additional info:
also from the CLI the validator fails with the same error:

(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep validations
openstack-tripleo-validations-9.3.1-0.20181008110754.4064fb7.el7ost.noarch
(undercloud) [stack@undercloud-0 ~]$  ansible-playbook -i /usr/bin/tripleo-ansible-inventory /usr/share/openstack-tripleo-validations/validations/neutron-sanity-check.yaml 

PLAY [Controller] *************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************************************************************************************
ok: [controller-1]
ok: [controller-2]
ok: [controller-0]

TASK [Run neutron-sanity-check] ***********************************************************************************************************************************************************************************
fatal: [controller-1]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 192.168.24.21 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_XMvlea/ansible_module_neutron_sanity_check.py\", line 100, in <module>\r\n    main()\r\n  File \"/tmp/ansible_XMvlea/ansible_module_neutron_sanity_check.py\", line 79, in main\r\n    stderr=subprocess.PIPE)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 711, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 1327, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 2] No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 1}
fatal: [controller-0]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 192.168.24.9 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_XcTatI/ansible_module_neutron_sanity_check.py\", line 100, in <module>\r\n    main()\r\n  File \"/tmp/ansible_XcTatI/ansible_module_neutron_sanity_check.py\", line 79, in main\r\n    stderr=subprocess.PIPE)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 711, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 1327, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 2] No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 1}
fatal: [controller-2]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 192.168.24.14 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_D0vnd3/ansible_module_neutron_sanity_check.py\", line 100, in <module>\r\n    main()\r\n  File \"/tmp/ansible_D0vnd3/ansible_module_neutron_sanity_check.py\", line 79, in main\r\n    stderr=subprocess.PIPE)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 711, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib64/python2.7/subprocess.py\", line 1327, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 2] No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 1}
 [WARNING]: Could not create retry file '/usr/share/openstack-tripleo-validations/validations/neutron-sanity-check.retry'.         [Errno 13] Permission denied: u'/usr/share/openstack-tripleo-
validations/validations/neutron-sanity-check.retry'


PLAY RECAP ********************************************************************************************************************************************************************************************************
controller-0               : ok=1    changed=0    unreachable=0    failed=1   
controller-1               : ok=1    changed=0    unreachable=0    failed=1   
controller-2               : ok=1    changed=0    unreachable=0    failed=1

Comment 2 Florian Fuchs 2018-12-04 22:33:03 UTC

*** This bug has been marked as a duplicate of bug 1646195 ***


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