Validations do not produce any output in GUI

Bug #1647640 reported by Filip Hubík on 2016-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Jiri Tomasek

Bug Description

Some validations in GUI does not produce any output therefore it is hard to figure out what they actually validated ₍screenshot attached). It happens no matter what status particular validation ended up in (successful/failed, not for "new" ones).

Firefox 45.4.0 (RHEL7 current default)
Deployed by TripleO quickstart (2016-05-12)
$ bash tripleo-quickstart/quickstart.sh --release master-tripleo-ci <host>

[stack@undercloud ~]$ openstack task execution list | grep tripleo.validations.v1.run_validation
...
| d525990e-0553-4d53-bb59-75d16e5ce512 | send_message | tripleo.validations.v1.run_validation | 26fb5192-f524-4bc9-bcb0-b3b47fe7f130 | SUCCESS | None |
| 106cdcbf-2bfb-4f16-91f8-89c98cfc60c4 | notify_running | tripleo.validations.v1.run_validation | 9d4ca884-c7ed-4738-a2f7-7df630032d85 | SUCCESS | None |
| 57709c21-f15c-41d3-b2ce-a689c917e7a4 | notify_running | tripleo.validations.v1.run_validation | 6dc1c636-1986-472f-aebd-f8db66240ea0 | SUCCESS | None |
| 829af054-96de-46c6-b4db-32a59b593695 | run_validation | tripleo.validations.v1.run_validation | ee1ddc4e-0ef6-4a2b-82b9-8e3d3010c115 | SUCCESS | None |
| 858c7cd9-b2d8-4b9f-bc49-01fe5f1e4577 | notify_running | tripleo.validations.v1.run_validation | 9fb22db0-e795-47ed-9254-d6ee9b974a65 | SUCCESS | None |
| 987318f5-33aa-432e-8b33-34c7ffb82a2f | run_validation | tripleo.validations.v1.run_validation | cb14f2b1-0a55-4fd7-aa4a-be41d97ddf1a | SUCCESS | None |
| bc89e3f2-a475-4c7a-8089-31417c73c0d7 | notify_running | tripleo.validations.v1.run_validation | cb14f2b1-0a55-4fd7-aa4a-be41d97ddf1a | SUCCESS | None |
| e1f81013-7be4-4949-8e89-6432f1986fe5 | notify_running | tripleo.validations.v1.run_validation | ee1ddc4e-0ef6-4a2b-82b9-8e3d3010c115 | SUCCESS | None |
| f9684888-522a-4858-845c-3ab1ecf332a3 | run_validation | tripleo.validations.v1.run_validation | 9fb22db0-e795-47ed-9254-d6ee9b974a65 | SUCCESS | None |
| 0424071b-bd6d-4b1f-8c6f-e8ea6ab249d1 | run_validation | tripleo.validations.v1.run_validation | 9d4ca884-c7ed-4738-a2f7-7df630032d85 | ERROR | {u'stderr': u'', u'stdout... |
| 52d9481a-8d0d-462e-9c29-e6c8311a1184 | run_validation | tripleo.validations.v1.run_validation | 6dc1c636-1986-472f-aebd-f8db66240ea0 | ERROR | {u'stderr': u'', u'stdout... |
...

[stack@undercloud ~]$ mistral task-get 0424071b-bd6d-4b1f-8c6f-e8ea6ab249d1
    +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field | Value |
    +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | ID | 0424071b-bd6d-4b1f-8c6f-e8ea6ab249d1 |
    | Name | run_validation |
    | Workflow name | tripleo.validations.v1.run_validation |
    | Execution ID | 9d4ca884-c7ed-4738-a2f7-7df630032d85 |
    | State | ERROR |
    | State info | {u'stderr': u'', u'stdout': u"Task 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/nova/nova.conf |
    | | has the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/neutron/neutron.conf |
    | | has the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/heat/heat.conf has |
    | | the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/ironic/ironic.conf has |
    | | the value: 'True'\n\nFailure! The validation failed for all hosts:\n* localhost\n"} |
    +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

[stack@undercloud ~]$ mistral task-get-result 0424071b-bd6d-4b1f-8c6f-e8ea6ab249d1
    {
        "stderr": "",
        "stdout": "Task 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/nova/nova.conf has the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/neutron/neutron.conf has the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/heat/heat.conf has the value: 'True'\n\nTask 'Check the services for debug flag' failed:\nHost: localhost\nMessage: The key 'debug' under the section 'DEFAULT' in file /etc/ironic/ironic.conf has the value: 'True'\n\nFailure! The validation failed for all hosts:\n* localhost\n"
    }

Filip Hubík (fhubik) wrote :
Tomas Sedovic (tsedovic) on 2016-12-06
tags: added: validations
Jiri Tomasek (jtomasek) wrote :
Changed in tripleo:
importance: Undecided → Medium
assignee: nobody → Jiri Tomasek (jtomasek)
milestone: none → ocata-2
status: New → Fix Committed
Julie Pichon (jpichon) wrote :

Is this something we can backport to Newton or does it require a new dependency?

Jiri Tomasek (jtomasek) wrote :

No, the change which introduced this bug is not in Newton.

Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers