All Devstack Based Jobs Failing to Create Swap on master

Goutham Pacha Ravi gouthampravi at gmail.com
Fri Sep 24 17:48:25 UTC 2021


On Fri, Sep 24, 2021 at 10:14 AM Clark Boylan <cboylan at sapwetik.org> wrote:

> Hello everyone,
>
> At approximately 12:53 UTC September 24 (today) [0] Devstack's Xena branch
> was created. Due to an unexpected side effect in Devstack's Zuul configs
> this has caused all Devstack based jobs against master and possible
> stable/xena to RETRY_LIMIT and fail.
>
> The underlying issue you'll see in the jobs is that mkswap cannot create
> swap because it already exists [1]. This happens because Devstack's pre-run
> playbook is running twice [2] and the configure-swap role is not
> idempotent. The role is running twice because the Devstack base job is
> loading master and stable/xena's configs and composing them together which
> results in two pre-run playbooks being selected one for each branch. This
> happens because Devstack's stable/xena branch explicitly states that its
> configs apply to master and feature/r1 branches [3].
>
> I've pushed up a change [4] to remove this Zuul configuration from the
> Xena branch which I expect will fix things for us.
>

Thanks Clark - this was puzzling. Made a depends-on change in a devstack
job elsewhere, and it went past the failure.


>
> [0]
> https://zuul.opendev.org/t/openstack/build/ebe77aee0c104c9e9b917ff28a4731ee/log/job-output.txt#715
> [1]
> https://zuul.opendev.org/t/openstack/build/52fa83b18e1a476b80afc41617fe68f9/log/job-output.txt#1138
> [2]
> https://zuul.opendev.org/t/openstack/build/52fa83b18e1a476b80afc41617fe68f9/log/job-output.txt#923
> [3]
> https://opendev.org/openstack/devstack/src/branch/stable/xena/.zuul.yaml#L1-L7
> [4] https://review.opendev.org/c/openstack/devstack/+/810947
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210924/d20e5682/attachment.htm>


More information about the openstack-discuss mailing list