On 2019-03-14 12:16:26 +0100 (+0100), Thierry Carrez wrote: [...]
The upload-npm task failed with:
The task includes an option with an undefined variable. The error was: "hostvars['ubuntu-xenial']" is undefined
The error appears to have been in '/var/lib/zuul/builds/83dee2d5710f427583d21e5f49a4c186/trusted/project_1/git.openstack.org/openstack-infra/zuul-jobs/roles/upload-npm/tasks/main.yaml': line 15, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Upload tarball to npm ^ here
This is likely due to the transition to ubuntu-bionic servers. [...]
That does seem to be the case. The javascript release playbook at http://git.openstack.org/cgit/openstack-infra/project-config/tree/playbooks/... used a hard-coded hostname in a hostvars lookup, and also was generally presumptive with the name of the job node for the release roles list. Our current attempt at fixing this to be nodename agnostic can be found at https://review.openstack.org/643353 for those interested. -- Jeremy Stanley