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

Bug #1821072 reported by Ghanshyam Mann on 2019-03-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
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/

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)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers