phase1 jobs failing with undefined variables

Bug #1826591 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
chandan kumar

Bug Description

These vars are undefined when calling the new collect-logs role from https://github.com/openstack/ansible-role-collect-logs:
  - artcl_collect_dir
  - working_dir
  - undercloud_user

This may be related to the collect-logs transition to an independent role (from tqe).

https://ci.centos.org/job/tripleo-quickstart-promote-master-current-tripleo-delorean-minimal/516/artifact/collect_logs.txt

TASK [collect-logs : Fetch log archive (tar)] **********************************
task path: /home/jenkins/workspace/tripleo-quickstart-promote-master-current-tripleo-delorean-minimal/usr/local/share/ansible/roles/collect-logs/tasks/collect.yml:405
Friday 26 April 2019 08:56:53 +0000 (0:00:00.217) 0:10:35.836 **********
fatal: [overcloud-controller-0]: FAILED! => {}

MSG:

The task includes an option with an undefined variable. The error was: 'artcl_collect_dir' is undefined

artcl_collect_dir is commented out here:
https://github.com/openstack/ansible-role-collect-logs/blob/2c29415b76976cd4386c3db86fd80091fc381e2a/defaults/main.yml#L117

artcl_collect_dir is defaulted here in tqe:
https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/roles/extras-common/defaults/main.yml

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-role-collect-logs (master)

Fix proposed to branch: master
Review: https://review.opendev.org/655983

Changed in tripleo:
assignee: nobody → wes hayutin (weshayutin)
status: Triaged → In Progress
Changed in tripleo:
assignee: wes hayutin (weshayutin) → chandan kumar (chkumar246)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-role-collect-logs (master)

Reviewed: https://review.opendev.org/655983
Committed: https://git.openstack.org/cgit/openstack/ansible-role-collect-logs/commit/?id=0260403b0473eb7dd1a53c9642fc17bde3cd1af6
Submitter: Zuul
Branch: master

commit 0260403b0473eb7dd1a53c9642fc17bde3cd1af6
Author: Wes Hayutin <email address hidden>
Date: Fri Apr 26 11:48:56 2019 -0600

    add missing defaults to arct

    add:
    local_working_dir
    working_dir
    artcl_collect_dir
    undercloud_user

    part of the cost of splitting roles

    Closes-Bug: #1826591
    Change-Id: I06dd6873ac9c0621b615cf4c35727d9cf207f65a

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.