c46a53141e
Log each line of output from DIB as it is read, and log it to the image log file instead of the standard one. Also, update the fake-dib system so that it exercises more code. Fix the filename check for fake-dib as the fake filename key actually ends up in the middle of the filename string. Add a fake-dib config file. Change-Id: I1e43c26ac0f9db4cf4e52f77b2cf5ca59f19989c
55 lines
1006 B
YAML
55 lines
1006 B
YAML
script-dir: .
|
|
elements-dir: .
|
|
images-dir: /tmp/nodepool_dib
|
|
dburi: 'mysql://nodepool@localhost/nodepool'
|
|
|
|
cron:
|
|
check: '*/15 * * * *'
|
|
cleanup: '*/1 * * * *'
|
|
image-update: '14 2 * * *'
|
|
|
|
zmq-publishers:
|
|
- tcp://localhost:8881
|
|
|
|
gearman-servers:
|
|
- host: localhost
|
|
|
|
diskimages:
|
|
- name: fake-dib-image
|
|
elements:
|
|
- ubuntu
|
|
- vm
|
|
- openstack-repos
|
|
- puppet
|
|
- nodepool-base
|
|
- node-devstack
|
|
release: trusty
|
|
|
|
labels:
|
|
- name: fake-dib-image
|
|
image: fake-dib-image
|
|
min-ready: 2
|
|
providers:
|
|
- name: fake-provider
|
|
|
|
providers:
|
|
- name: fake-provider
|
|
keypair: 'if-present-use-this-keypair'
|
|
region-name: 'fake-region'
|
|
username: 'fake'
|
|
password: 'fake'
|
|
auth-url: 'fake'
|
|
project-id: 'fake'
|
|
max-servers: 96
|
|
images:
|
|
- name: fake-dib-image
|
|
min-ram: 8192
|
|
diskimage: fake-dib-image
|
|
|
|
targets:
|
|
- name: fake-jenkins
|
|
jenkins:
|
|
url: https://jenkins.example.org/
|
|
user: fake
|
|
apikey: fake
|