[ocata->pike] Upgrades CI job failing due to: /home/jenkins/repo-setup-pike.sh: No such file or directory

Bug #1756037 reported by Jose Luis Franco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jose Luis Franco

Bug Description

CI job gate-tripleo-ci-centos-7-containers-multinode-upgrades-pike-branch-nv is failing with the following error during upgrade step:

 Stack overcloud UPDATE_FAILED

overcloud.Controller.0.Controller.UpgradeInitDeployment:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: f66f6dd6-27f3-48f9-821b-bb29f3e4148c
  status: UPDATE_FAILED
  status_reason: |
    Error: resources.UpgradeInitDeployment: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 127
  deploy_stdout: |

  deploy_stderr: |
    /var/lib/heat-config/heat-config-script/0130b5c4-1bfc-449f-a191-8f6382de4376: line 5: /home/jenkins/repo-setup-pike.sh: No such file or directory

Logs to job: https://logs.rdoproject.org/73/540473/39/openstack-check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-pike-branch-nv/Zba3e17f27ea643d18bb98af083b4b096/undercloud/home/jenkins/

Revision history for this message
Jose Luis Franco (jfrancoa) wrote :

The merging of this patch caused the error: https://review.openstack.org/#/c/549179/4
The ansible lookup plugin was changed from 'file' to 'first_found', which doesn't return the content of the file but the name of the file if the file exists.
A patch to fix it will be submitted asap.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Jose Luis Franco (jfrancoa)
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/553326
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=eaa3fd0d62291ad7ac9887b6cadf1339f7b39046
Submitter: Zuul
Branch: master

commit eaa3fd0d62291ad7ac9887b6cadf1339f7b39046
Author: Jose Luis Franco Arza <email address hidden>
Date: Thu Mar 15 11:52:08 2018 +0100

    Check repo setup script exists before content load.

    In [0] there was an attempt to bypass the case
    in which the repo setup script was not created
    by using the Ansible lookup 'first_found'. However,
    this lookup doesn't return the content of the file,
    as the 'file' lookup does. It returns the name of
    the file if the file exists.

    This patch adds an Ansible step that checks the
    existence of the repo setup script and loads the
    content of the file if it exists, otherwise sets
    the variable to false.

    [0] https://review.openstack.org/#/c/549179/4

    Change-Id: Iecf1534afff2bf3df4e2bfc23d0969fb57566b66
    Closes-Bug: #1756037

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 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.