Undercloud upgrades fails at ERROR! Invalid callback for stdout specified: yaml

Bug #1792892 reported by Quique Llorente
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Quique Llorente

Bug Description

Undercloud upgrade promotion jobs, fails at the upgrade itself in the following point
https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset050-upgrades-master/c4a79bb/logs/undercloud/home/zuul/undercloud_upgrade.log.txt.gz#_2018-09-17_01_19_22
2018-09-17 01:19:09 | 2018-09-17 01:18:53Z [undercloud.AllNodesDeploySteps.UndercloudExtraConfigPost]: CREATE_COMPLETE Stack CREATE completed successfully
2018-09-17 01:19:09 | 2018-09-17 01:18:54Z [undercloud.AllNodesDeploySteps.UndercloudExtraConfigPost]: CREATE_COMPLETE state changed
2018-09-17 01:19:09 | 2018-09-17 01:18:54Z [undercloud.AllNodesDeploySteps.UndercloudPostConfig]: CREATE_IN_PROGRESS state changed
2018-09-17 01:19:09 | 2018-09-17 01:18:54Z [undercloud.AllNodesDeploySteps.UndercloudPostConfig]: CREATE_COMPLETE state changed
2018-09-17 01:19:09 | 2018-09-17 01:18:54Z [undercloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully
2018-09-17 01:19:09 | 2018-09-17 01:18:55Z [undercloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed
2018-09-17 01:19:09 | 2018-09-17 01:18:55Z [undercloud]: CREATE_COMPLETE Stack CREATE completed successfully
2018-09-17 01:19:22 | Generating default ansible config file /home/zuul/ansible.cfg
2018-09-17 01:19:22 | ** Running ansible upgrade tasks **
2018-09-17 01:19:24 | ERROR! Invalid callback for stdout specified: yaml
2018-09-17 01:19:24 | Exception: Upgrade failed
2018-09-17 01:19:24 | Traceback (most recent call last):
2018-09-17 01:19:24 | File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1112, in _standalone_deploy
2018-09-17 01:19:24 | raise exceptions.DeploymentError('Upgrade failed')
2018-09-17 01:19:24 | DeploymentError: Upgrade failed
2018-09-17 01:19:24 | None
2018-09-17 01:19:25 | Not cleaning working directory /home/zuul/tripleo-heat-installer-templates
2018-09-17 01:19:25 | Not cleaning ansible directory /home/zuul/undercloud-ansible-SS8aaW
2018-09-17 01:19:25 | Install artifact is located at /home/zuul/undercloud-install-20180917011924.tar.bzip2
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | Deployment Failed!
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-C9gO__
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | Deployment failed.
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | An error has occured while deploying the Undercloud.
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | See the previous output for details about what went wrong.
2018-09-17 01:19:25 |
2018-09-17 01:19:25 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Do we have the correct ansible version ? 2.5 is needed for yaml stdout_callback

tags: added: upgrade
description: updated
Revision history for this message
Quique Llorente (quiquell) wrote :
Revision history for this message
Quique Llorente (quiquell) wrote :

Possible fix make master upgrades works correctly
https://review.openstack.org/#/c/590774/

Changed in tripleo:
status: New → In Progress
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/603181

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/603181
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=e28b552ce61c905521e8fc1ed7b6af871bdb5088
Submitter: Zuul
Branch: master

commit e28b552ce61c905521e8fc1ed7b6af871bdb5088
Author: Alex Schultz <email address hidden>
Date: Mon Sep 17 16:37:50 2018 +0000

    Revert "Use YAML output of ansible instead of JSON"

    This reverts commit 44b8b934560d5d9c3e9d73d57ecea14511ee35a5.

    Depends-On: https://review.openstack.org/603187
    Change-Id: I9514c485db65ddcb50e7e7e40feddc7fadafbe1a
    Related-Bug: #1792892

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Closing as the revert has addressed this issue.

Changed in tripleo:
status: In Progress → Fix Released
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.