[openstack-dev] [openstack][zuul] About devstack plugin orders and the log to contain the running local.conf

Yatin Karel ykarel at redhat.com
Sun Oct 29 04:49:36 UTC 2017


On Sun, Oct 29, 2017 at 6:55 AM, gong_ys2004 <gong_ys2004 at aliyun.com> wrote:
> Hi, everyone
>
> I am trying to migrate tacker's functional CI job into new zuul v3
> framework, but it seems:
>
> 1. the devstack plugin order is not the one I specified in the .zuull.yaml
>
> https://review.openstack.org/#/c/516004/4/.zuul.yaml:
> I have:
>       devstack_plugins:
>         heat: https://git.openstack.org/openstack/heat
>         networking-sfc:  https://git.openstack.org/openstack/networking-sfc
>         aodh: https://git.openstack.org/openstack/aodh
>         ceilometer: https://git.openstack.org/openstack/ceilometer
>         barbican: https://git.openstack.org/openstack/barbican
>         mistral: https://git.openstack.org/openstack/mistral
>         tacker: https://git.openstack.org/openstack/tacker
>
> but the running order seems:
> http://logs.openstack.org/04/516004/4/check/tacker-functional-devstack/f365f21/job-output.txt.gz:
>
> local plugins=,ceilometer,aodh,mistral,networking-sfc,heat,tacker,barbican
>
> I need barbican to start before tacker.
>
>
To me it looks like the issue is because the way "devstack_plugins" is
being handled, it's being defined/handled(see [1]) as Dictionary.
Since dictionary order is not sequetial, the generated order would be
random.
Shouldn't devstack plugins be defined/handled as a list of items as
it's order matters?

[1] https://github.com/openstack-dev/devstack/blob/36ddea31a257b38aa22d3232f4c4389c851f5456/roles/write-devstack-local-conf/library/devstack_local_conf.py#L122-L124


> 2. I cannot see the whole local.conf in the log dir
>
> the running local.conf is not shown in:
> http://logs.openstack.org/04/516004/4/check/tacker-functional-devstack/f365f21/controller/logs/
>
>
> Do anyone help me to find how to fix the problem at
> https://review.openstack.org/#/c/516004?
>
>
> thanks
>
> yong sheng gong
> Tacker team
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list