All devstack-tempest jobs are failing due to 'gabbi_tempest_path' is undefined

Bug #1821072 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Ghanshyam Mann

Bug Description

devstack-tempest job has the gabbi_tempest_path var set for gabbit-tempest plugin[1]. Which is only set by the gabbit-tempest plugin jobs[2].

With new ansible version 2.7, all jobs derived from devstack-tempest fail due to undefined var.

[1] https://github.com/openstack/tempest/blob/4c7b79ac3f8d803b8806b1037eff693e8235b1cd/playbooks/devstack-tempest.yaml#L14
[2] https://github.com/openstack/gabbi-tempest/blob/d130b0bbadf2ea9add7377bb9abffc37602d1d31/.zuul.yaml#L20

Error:

The field 'environment' has an invalid value, which includes an undefined variable. The error was: 'gabbi_tempest_path' is undefined

The error appears to have been in '/var/lib/zuul/builds/d500cd5dcb3a42e68e9219abe2a5bb4d/untrusted/project_5/git.openstack.org/openstack/tempest/roles/setup-tempest-run-dir/tasks/main.yaml': line 1, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Set tempest as owner of Tempest run folder
  ^ here

http://logs.openstack.org/86/644586/3/check/designate-pdns4-py36/d500cd5/ara-report/result/1485511c-2064-4a24-9ab4-7b4c72ca0cc9/

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

workaround has been merged for this bug to unblock the gate - https://review.openstack.org/#/c/644699/

But we need to move this var to gabbi-tempest plugin jobs side which is the only place it is being used. This var is specific to gabbi-tempest not used for any other devstack-tempest jobs so defining it in devstack-tempest base job is not the correct way. We might face such issue again in future which can end up blocking all gate jobs.

Changed in tempest:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ghanshyam Mann (ghanshyammann)
Changed in tempest:
status: Confirmed → Fix Released
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

open new bug for moving that var to gabbi-tempest side -https://bugs.launchpad.net/tempest/+bug/1861592

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.