Add clouds.yaml to zuul schedulers

Similar to I127ba4a2cf33f7ffcecdf81acfc5c38db565da82 we now need
to add the nodepool clouds.yaml to the zuul schedulers.  When validating
and generating the config for the launchers, they need to access the
clouds.yaml file to learn some information about the cloud (eg, image
format).  Therefore, they must have the same clouds.yaml that the
launchers use.

Change-Id: I4a7076e66c9f8eca936ca3a7902537d427a99323
This commit is contained in:
James E. Blair 2024-10-14 11:32:49 -07:00
parent 4b85924ccd
commit fd47d15196
3 changed files with 5 additions and 2 deletions

View File

@ -116,9 +116,10 @@ groups:
nodepool:
- nb[0-9]*.opendev.org
- nl[0-9]*.open*.org
# Add the zuul-launchers so they have access to the clouds.yaml
# related group-vars.
# Add the zuul-launchers and schedulers so they have access to the
# clouds.yaml related group-vars.
- zl[0-9]*.opendev.org
- zuul[0-9]*.opendev.org
nodepool-builder:
- nb[0-9]*.opendev.org
nodepool-launcher:

View File

@ -10,6 +10,7 @@ services:
user: zuul
volumes:
- /etc/zuul:/etc/zuul
- /etc/openstack:/etc/openstack
- /opt/project-config:/opt/project-config
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul

View File

@ -37,5 +37,6 @@
- hosts: "zuul-scheduler:!disabled"
name: "Configure zuul scheduler"
roles:
- configure-openstacksdk
- zuul-scheduler
- zuul-web