Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1568714 - [UPGRADES] Client stops producing output during OC upgrade
[UPGRADES] Client stops producing output during OC upgrade
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient (Show other bugs)
13.0 (Queens)
All All
urgent Severity urgent
: beta
: 13.0 (Queens)
Assigned To: mathieu bultel
Yurii Prokulevych
: Triaged
: 1571858 1572825 1575620 (view as bug list)
Depends On:
Blocks: 1485415 1575620 1607143
  Show dependency treegraph
 
Reported: 2018-04-18 03:20 EDT by Yurii Prokulevych
Modified: 2018-07-22 09:06 EDT (History)
13 users (show)

See Also:
Fixed In Version: python-tripleoclient-9.2.1-4.el7ost openstack-tripleo-common-8.6.1-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:52:00 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
OpenStack gerrit 563703 None stable/queens: MERGED tripleo-common: Use ansible_queue_name only for upgrade/update (I484a3af4a830af3b97231558876d9a6c0a31e603) 2018-04-30 22:00 EDT
OpenStack gerrit 563905 None stable/queens: MERGED python-tripleoclient: Use only update/upgrade ansible queue instead (I39b5a1a154b10683ac0de85afd6bbadc3491192a) 2018-04-30 22:00 EDT
OpenStack gerrit 563916 None stable/queens: MERGED python-tripleoclient: Q upgrade - fixup completion messages and --help doctext (Ia5bc8abaf2d04bd829df85d9a4b2a8a913271af... 2018-04-30 22:00 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:52 EDT

  None (edit)
Description Yurii Prokulevych 2018-04-18 03:20:51 EDT
Description of problem:
-----------------------
While running overcloud upgrade client sporadically stops producing any output.

echo "Runing major upgrade deploy_steps_playbook.yaml playbook for Compute role"
openstack overcloud upgrade run \
        --nodes Compute --playbook deploy_steps_playbook.yaml 2>&1

Runing major upgrade deploy_steps_playbook.yaml playbook for Compute role
Waiting for messages on queue 'upgrade' with no timeout.
Started Mistral Workflow tripleo.package_update.v1.update_nodes. Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
[u'Using /tmp/ansible-mistral-actionuIHhzS/ansible.cfg as config file',
 u' [WARNING]: Skipping unexpected key (hostvars) in group (_meta), only "vars",',
 u'"children" and "hosts" are valid',
 u"[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use ",
 u"'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.",
 u' This feature will be removed in a future release. Deprecation warnings can be ',
 u'disabled by setting deprecation_warnings=False in ansible.cfg.',
 u'[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is',
 u' discouraged. The module documentation details page may explain more about this',
 u' rationale.. This feature will be removed in a future release. Deprecation ',
 u'warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.',
...
 u'TASK [Start containers for step 5] *********************************************',
 u'ok: [192.168.24.10] => {"censored": "the output has been hidden due to the fact that \'no_l'headers'
og: true\' was specified for this result", "changed": false}']
...
And that's all.

Checking mistra's execution reports SUCCESS
mistral execution-get 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
+--------------------+----------------------------------------+
| Field              | Value                                  |
+--------------------+----------------------------------------+
| ID                 | 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43   |
| Workflow ID        | b1ab6ffe-0719-4540-a4b7-167243809e32   |
| Workflow name      | tripleo.package_update.v1.update_nodes |
| Workflow namespace |                                        |
| Description        |                                        |
| Task Execution ID  | <none>                                 |
| State              | SUCCESS                                |
| State info         | None                                   |
| Created at         | 2018-04-18 06:27:02                    |
| Updated at         | 2018-04-18 06:33:53                    |
+--------------------+----------------------------------------+

mistral task-list -f yaml 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43 
- Created at: '2018-04-18 06:27:02'
  Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
  ID: 1056d47c-08d7-4e69-9022-cafd9cd3b559
  Name: download_config
  State: SUCCESS
  State info: null
  Updated at: '2018-04-18 06:27:04'
  Workflow name: tripleo.package_update.v1.update_nodes
  Workflow namespace: ''
- Created at: '2018-04-18 06:27:04'
  Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
  ID: 7aa29740-ef5d-48be-b74c-be4b4cafc13e
  Name: node_update
  State: SUCCESS
  State info: null
  Updated at: '2018-04-18 06:33:51'
  Workflow name: tripleo.package_update.v1.update_nodes
  Workflow namespace: ''
- Created at: '2018-04-18 06:27:04'
  Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
  ID: f7b19d74-b211-44b0-995a-b2305ccc7661
  Name: get_private_key
  State: SUCCESS
  State info: null
  Updated at: '2018-04-18 06:27:04'
  Workflow name: tripleo.package_update.v1.update_nodes
  Workflow namespace: ''
- Created at: '2018-04-18 06:33:51'
  Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
  ID: 805eaac1-5e9f-4cb7-bb91-b21a41d37d6e
  Name: node_update_passed
  State: SUCCESS
  State info: null
  Updated at: '2018-04-18 06:33:51'
  Workflow name: tripleo.package_update.v1.update_nodes
  Workflow namespace: ''
- Created at: '2018-04-18 06:33:51'
  Execution ID: 1a6b67a9-dc85-4b0b-9afd-c3b9207e4d43
  ID: d497b0bb-17c9-41b0-aaa2-705fd5fc0d6b
  Name: notify_zaqar
  State: SUCCESS
  State info: null
  Updated at: '2018-04-18 06:33:52'
  Workflow name: tripleo.package_update.v1.update_nodes
  Workflow namespace: ''


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-mistral-executor-6.0.1-0.20180319140929.eb59183.el7ost.noarch
puppet-mistral-12.3.1-0.20180221121107.c04206e.el7ost.noarch
python2-mistralclient-3.3.0-1.el7ost.noarch
openstack-mistral-common-6.0.1-0.20180319140929.eb59183.el7ost.noarch
openstack-mistral-engine-6.0.1-0.20180319140929.eb59183.el7ost.noarch
openstack-mistral-api-6.0.1-0.20180319140929.eb59183.el7ost.noarch
python2-mistral-lib-0.4.0-1.el7ost.noarch
python-mistral-6.0.1-0.20180319140929.eb59183.el7ost.noarch

ansible-tripleo-ipsec-8.1.1-0.20180308133440.8f5369a.el7ost.noarch
openstack-tripleo-validations-8.4.0-1.el7ost.noarch
openstack-tripleo-image-elements-8.0.0-2.el7ost.noarch
openstack-tripleo-puppet-elements-8.0.0-1.el7ost.noarch
openstack-tripleo-common-8.5.1-0.20180326153322.91f52e9.el7ost.noarch
openstack-tripleo-common-containers-8.5.1-0.20180326153322.91f52e9.el7ost.noarch
puppet-tripleo-8.3.2-0.20180327181746.el7ost.noarch
openstack-tripleo-heat-templates-8.0.2-0.20180327213846.el7ost.noarch
openstack-tripleo-ui-8.3.1-2.el7ost.noarch

python-tripleoclient-9.2.0-2.el7ost.noarch

How reproducible:
-----------------
Occasionally, fails on random task/role/node

Steps to Reproduce:
-------------------
1. Upgrade UC to 2018-04-10.2
2. Setup repos on OC and prepare containers
3. Start running major upgrade, one playbook by one per role. E.g:
    openstack overcloud upgrade run \
        --nodes Controller --playbook upgrade_steps_playbook.yaml
    openstack overcloud upgrade run \
        --nodes Controller --playbook deploy_steps_playbook.yaml
    openstack overcloud upgrade run \
        --nodes Controller --playbook post_upgrade_steps_playbook.yaml

    Then move to next role(Ceph/Compute/etc,)

Actual results:
---------------
Client might stop writing during running upgrade related tasks

Expected results:
-----------------
Client's output is not affected or fails with a clear message.

Additional info:
----------------
Virtual setup: 3controllers + 2computes + 3ceph
Comment 2 Jon Schlueter 2018-04-25 09:33:08 EDT
removing master patches since stable/queens patches have landed
Comment 6 Lukas Bezdicka 2018-05-09 11:40:14 EDT
*** Bug 1571858 has been marked as a duplicate of this bug. ***
Comment 7 Lukas Bezdicka 2018-05-09 11:41:16 EDT
*** Bug 1572825 has been marked as a duplicate of this bug. ***
Comment 8 Raviv Bar-Tal 2018-05-10 07:04:23 EDT
*** Bug 1575620 has been marked as a duplicate of this bug. ***
Comment 10 Yurii Prokulevych 2018-05-23 06:48:59 EDT
Verified with:
- python-tripleoclient-9.2.1-9.el7ost.noarch
- openstack-tripleo-common-8.6.1-12.el7ost.noarch
Comment 12 errata-xmlrpc 2018-06-27 09:52:00 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.