elements-dir: /etc/nodepool/elements images-dir: /opt/dib/images zookeeper-servers: - host: localhost port: 2281 zookeeper-tls: ca: /opt/zookeeper/ca/certs/cacert.pem cert: /opt/zookeeper/ca/certs/client.pem key: /opt/zookeeper/ca/keys/clientkey.pem labels: - name: test-image min-ready: 1 providers: - name: devstack region-name: RegionOne cloud: devstack # Long boot timeout to deal with potentially nested virt. boot-timeout: 1200 launch-timeout: 1500 rate: 0.25 diskimages: - name: test-image config-drive: true pools: - name: main max-servers: 5 networks: - private labels: - name: test-image diskimage: test-image min-ram: 512 flavor-name: 'nodepool' console-log: True key-name: root instance-properties: nodepool_devstack: testing userdata: | #cloud-config write_files: - content: | testpassed path: /etc/testfile_nodepool_userdata diskimages: - name: test-image rebuild-age: 86400 elements: - almalinux-container - vm - simple-init - growroot - devuser - openssh-server - nodepool-setup - journal-to-console release: '8' env-vars: TMPDIR: '/opt/dib/tmp' # We have seen multiple instances of dib's bootloader not # setting the LABEL= command correctly for the installed kernel. # If the command line from current kernel on the the builder # system leaks into the test build we can hide the problem -- # when on a gate node (built by dib) the running kernel has in # it's command-line LABEL=cloudimg-rootfs. The test image # copies this and boots correctly in the gate; but when it hits # the production builders, which don't boot like this, we are # left with an unbootable image that can't find it's root # partition. # # Thus we override the default root label during tests. This # should ensure the root disk gets made with a different label, # and if the bootloader doesn't correctly direct the kernel to # this, we should get gate failures. ROOT_LABEL: 'gate-rootfs' DIB_CHECKSUM: '1' DIB_SHOW_IMAGE_USAGE: '1' DIB_IMAGE_CACHE: '/opt/dib/cache' DIB_DEV_USER_AUTHORIZED_KEYS: '$HOME/.ssh/id_nodepool.pub' DIB_INSTALLTYPE_simple_init: 'repo' DIB_REPOLOCATION_glean: "/home/zuul/src/opendev.org/opendev/glean" DIB_REPOREF_glean: "master"