No feedback when websocket is down

Bug #1619712 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Julie Pichon

Bug Description

If for some reason the client cannot establish a connection to the websocket when launching a Mistral workflow, the user gets no feedback on the command and only an unhelpful 'Connection refused' message.

$ openstack overcloud node introspect --all-manageable
Waiting for introspection to finish...
[Errno 111] Connection refused

Bug 1618445 is somewhat related (Zaqar timeouts).

Steps to reproduce:
1. Shut down the Zaqar service
2. Run one of the commands that uses a Mistral workflow, e.g. openstack overcloud node introspect --all-manageable

Dougal Matthews (d0ugal)
Changed in tripleo:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → newton-rc1
Julie Pichon (jpichon)
Changed in tripleo:
assignee: nobody → Julie Pichon (jpichon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/368791

Changed in tripleo:
status: Confirmed → In Progress
Changed in tripleo:
milestone: newton-rc1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/368791
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=12932b0caceec99ebb1f717ff323c237c24d895e
Submitter: Jenkins
Branch: master

commit 12932b0caceec99ebb1f717ff323c237c24d895e
Author: Julie Pichon <email address hidden>
Date: Mon Sep 12 11:17:06 2016 +0100

    Display error message when socket is closed

    Give the user some additional information when Zaqar is down. Also,
    move the websocket import to the third-party import list.

    Change-Id: I8d4caf2ba08bceba1f014555ccd6ae3ca1a4a6c0
    Closes-Bug: #1619712

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/374669

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/newton)

Reviewed: https://review.openstack.org/374669
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=03916f21fb26f0b8bdbc33250f83296e494327be
Submitter: Jenkins
Branch: stable/newton

commit 03916f21fb26f0b8bdbc33250f83296e494327be
Author: Julie Pichon <email address hidden>
Date: Mon Sep 12 11:17:06 2016 +0100

    Display error message when socket is closed

    Give the user some additional information when Zaqar is down. Also,
    move the websocket import to the third-party import list.

    Change-Id: I8d4caf2ba08bceba1f014555ccd6ae3ca1a4a6c0
    Closes-Bug: #1619712
    (cherry picked from commit 12932b0caceec99ebb1f717ff323c237c24d895e)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 5.2.0

This issue was fixed in the openstack/python-tripleoclient 5.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 5.5.0

This issue was fixed in the openstack/python-tripleoclient 5.5.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.