This change is a follow-up to the drivers spec and it makes the fake provider
a real driver. The fakeprovider module is merged into the fake provider and
the get_one_cloud config loader is simplified.
Change-Id: I3f8ae12ea888e7c2a13f246ea5f85d4a809e8c8d
This was an unused setting which was left over from when we supported
snapshots.
Change-Id: I940eaa57f5dad8761752d767c0dfa80f2a25c787
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Before os-client-config and shade, we would include cloud credentials
in nodepool.yaml. But now comes the time where we can remove these
settings in favor of using a local clouds.yaml file.
Change-Id: Ie7af6dcd56dc48787f280816de939d07800e9d11
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Remove files and fakes related to Jenkins. Since the 'targets'
config section was for mapping to Jenkins, this isn't needed either.
Change-Id: Ib5c615a95fcdce5234b3c63957171d77b8fbc65d
Sets up a shim for the new nodepool.NodePool.run() method that does
not require any service except ZooKeeper and removes all references
to Gearman/ZMQ.
Change-Id: I452c24d631592f47eb3f4cbffb56f3252f36c298
Script-dir was only used for snapshot building. Since that is no
longer supported, remove it.
It was also passed through to DIB as an evironment variable.
However, the OpenStack infra element that used it defaults to
a sensible value. Users who still want to use that can add it
as an environment variable to appropriate diskimage entries.
Change-Id: Ie72bb9675fdad6364589a6e3823f4ef9a0228e86
node-devstack is no more refernced by dib elements in nodepool.
Remove also the references to node-devstack from tests and docs.
Change-Id: I8602d6ef133ef96cd8aa4f788436489ea03cc6d0
Instead, move this feature to be an attribute of the diskimages.
A "rebuild-age" is set for each diskimage (defaults to 24 hours),
and when a given diskimage becomes older than this age, the builder
will attempt to rebuild it (regardless of the time of day).
This makes more sense for a system that will retry failed builds
as well as being generally more idempotent, but also means that
when builds and uploads occur will be slightly less predictable.
Change-Id: I4725383158d5baf8fb67e86cb014d2db122e71a0
Depends on a new secure.conf file to grab mysql
connection and jenkins credentials. By this way,
nodepool.yaml is just a flat file without credentials,
that can be passed externally.
Co-Authored-By: Ramy Asselin <ramy.asselin@hpe.com>
Depends-On: Ie9381740e3644feaee1f1b201499e3a253677f39
Change-Id: Ifa4d500c52974b9fd3a0b7fd9c28cf8f52899ca9
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