12 Commits

Author SHA1 Message Date
Bogdan Dobrelya
6bec6c885f Ensure unique containers names in docker-puppet
Use paunch as a library to not duplicate code around.
We'll need to add the logger once we have paunch 4.0.1
and rpm promoted with the recent logging fixes.

Closes-Bug: #1799573

Change-Id: I4386b155a4bdba430dc350914db7a6b6fdf92ac0
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-10-26 09:19:36 -04:00
Bogdan Dobrelya
0b44170e73 Add validation for hiera interpolation in services
Walk through services' templates role_data to identify
missing hiera interplolation of networks.

Use additionally provided interfaces for validations:
 * search in dicts by keys or values matching some regex,
   entering into lists as an option;
 * safe get values by the discovered paths casted as lists,
   like get_param/get_attr works for heat templates.

Add PyYAML missing to the requirements.txt.

Closes-bug: #1764315

Change-Id: Idef66ee96cbd67d23760a1cce9537ecc157c3429
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-04-18 10:11:39 +02:00
OpenStack Proposal Bot
3a635efaa9 Updated from global requirements
Change-Id: I777f74854ce5325636f6282c6a5de03d7bb4c941
2018-03-10 13:58:37 +00:00
OpenStack Proposal Bot
719a211f90 Updated from global requirements
Change-Id: I2f2ad0259ccf8d5be196cf060b1d4e35b2eca9e8
2017-11-16 11:30:33 +00:00
Alex Schultz
2eb1476b6e Add in roles data validation
With the merging of Iad3e9b215c6f21ba761c8360bb7ed531e34520e6 the
roles_data.yaml should be generated with tripleoclient rather than
edited. This change adds in a pep8 task to verify that the appropriate
role files in roles/ have been modified to match how our default
roles_data.yaml is constructed.  Additionally this change adds a new tox
target called 'genrolesdata' that will all you to automatically generate
roles_data.yaml and roles_data_undercloud.yaml

Change-Id: I5eb15443a131a122d1a4abf6fc15a3ac3e15941b
Related-Blueprint: example-custom-role-environments
2017-07-07 09:51:40 -06:00
OpenStack Proposal Bot
bcf98df668 Updated from global requirements
Change-Id: I8dabf83907b2e50f6611f1ef93702b6bd5ac5e19
2017-04-24 20:36:13 +00:00
OpenStack Proposal Bot
0b3f5ed17d Updated from global requirements
Change-Id: I86fd68da7b2d96590f21a8511fa1a23dcf1a6dda
2017-03-28 13:03:01 +00:00
OpenStack Proposal Bot
fa45e05f50 Updated from global requirements
Change-Id: Icadcb1b27852d729608195f4890f914c8350ac8c
2017-01-14 10:47:01 +00:00
Steven Hardy
3af65ff574 Fix error path for tools/process-templates.py
The error path for this fails because we don't import six
or install it in the templates tox venv

Change-Id: Ie9f46332f2b03d48a1b0a4a432e9721757833569
2017-01-11 11:47:11 +00:00
OpenStack Proposal Bot
216aa0d4db Updated from global requirements
Change-Id: I9ae60dfb2ef5e8fb5aae482ddb08206fc1980ca5
2017-01-10 09:44:01 +00:00
Dan Prince
4b5b24462b Add local template generation tox task
This patch adds a local version of our template processing
routine so that developers can more quickly view the templates
that are actually getting generated. I've noticed multiple developers
now do a full deployment with 'overcloud deploy' only to download
the swift container with the generated templates. This simple task
avoids that step by allowing developers to generate it locally.

It also aims to preserve the ability to use t-h-t templates directly
with Heat (instead of going through Mistral) should users wish to do that.
The new undercloud heat installer requires the ability to generate
templates without requiring Mistral and Swift to do so.

Ideally the Mistral API workflow would use this same code
so perhaps in the future we might modify that routine to:

 -download swift tarball containing the templates
 -run this local routine that lives in t-h-t
 -re-upload the tarball of templates to the swift container

Change-Id: Ie664c9c5f455b7320a58a26f35bc403355408d9b
2016-11-30 16:02:44 -05:00
Chris Jones
80da8e3968 Add release configuration.
We can now release through openstack.org infrastructure.

Change-Id: I6dff6ae4a97db15bdc4ce419e46e9a125bec277c
2013-10-22 17:49:35 +01:00