Jenkins [Tue, 20 Jun 2017 22:26:21 +0000 (22:26 +0000)]
Merge "Fixup for manila-api containerized service"
Jenkins [Tue, 20 Jun 2017 04:04:48 +0000 (04:04 +0000)]
Merge "Comment parameters for registry in docker tls env"
Jenkins [Mon, 19 Jun 2017 21:22:45 +0000 (21:22 +0000)]
Merge "Blacklist support for ExtraConfig"
Jenkins [Mon, 19 Jun 2017 15:27:00 +0000 (15:27 +0000)]
Merge "Add nested sample environments for inject-trust-anchor"
Jenkins [Mon, 19 Jun 2017 15:26:53 +0000 (15:26 +0000)]
Merge "Add storage sample environments"
Jenkins [Mon, 19 Jun 2017 15:26:41 +0000 (15:26 +0000)]
Merge "Add neutron-midonet sample environment"
Jenkins [Mon, 19 Jun 2017 15:26:33 +0000 (15:26 +0000)]
Merge "Support config dir for env generator input files"
Jenkins [Mon, 19 Jun 2017 15:26:26 +0000 (15:26 +0000)]
Merge "Update CloudDomain description"
Jenkins [Mon, 19 Jun 2017 15:26:19 +0000 (15:26 +0000)]
Merge "Add an example IronicConductor role"
Jenkins [Mon, 19 Jun 2017 14:49:41 +0000 (14:49 +0000)]
Merge "Updated from global requirements"
Martin André [Mon, 19 Jun 2017 07:47:31 +0000 (09:47 +0200)]
Comment parameters for registry in docker tls env
This commit brings change from
I3896fa2ea7caa603186f0af04f6d8382d50dd97a to
docker-services-tls-everywhere.yaml, which original commit message was:
These duplicate the defaults in puppet/services/docker.yaml and
break things if you include an environment file (e.g that generated
by quickstart containers-default-parameters.yaml) before the
docker.yaml.
Instead it's probably more helpful to include the commented lines
showing how to enable use of a local docker registry.
Change-Id: Ifa95ef60bc17bd2638ebb6aebf77a819b28c9f0b
Related-Bug: #
1691524
Martin André [Mon, 19 Jun 2017 07:33:58 +0000 (09:33 +0200)]
Re-enable docker service in docker.yaml
It was removed by mistake from the docker.yaml environment file in
I76f188438bfc6449b152c2861d99738e6eb3c61b.
Change-Id: If8df98e1ddd0961ab0c9e5df917fef8200db65e6
Closes-Bug: #
1698749
OpenStack Proposal Bot [Mon, 19 Jun 2017 05:49:19 +0000 (05:49 +0000)]
Updated from global requirements
Change-Id: I9496de0e5cc670e0a370588a9471594b20fdadf3
Jenkins [Sat, 17 Jun 2017 09:46:33 +0000 (09:46 +0000)]
Merge "Remove duplicate docker/puppet services.yaml"
Jenkins [Fri, 16 Jun 2017 23:33:19 +0000 (23:33 +0000)]
Merge "Make a copy of files touched by puppet in container"
Jenkins [Fri, 16 Jun 2017 23:33:12 +0000 (23:33 +0000)]
Merge "Fall back to non-containerized cinder-backup to unblock OVB CI"
Jenkins [Fri, 16 Jun 2017 19:58:19 +0000 (19:58 +0000)]
Merge "Add Ec2Api to container based deployment"
Jenkins [Fri, 16 Jun 2017 16:34:53 +0000 (16:34 +0000)]
Merge "Make fernet max active keys configurable"
Jenkins [Fri, 16 Jun 2017 15:48:15 +0000 (15:48 +0000)]
Merge "Add templates to configure Ironic inspector"
James Slagle [Fri, 16 Jun 2017 15:13:25 +0000 (11:13 -0400)]
Blacklist support for ExtraConfig
Commit I46941e54a476c7cc8645cd1aff391c9c6c5434de added support for
blacklisting servers from triggered Heat deployments.
This commit adds that functionality to the remaining Deployments in
tripleo-heat-templates for the ExtraConfig interfaces.
Since we can not (should not) change the interface to ExtraConfig, Heat
conditions are used on the actual <role>ExtraConfigPre and
NodeExtraConfig resources instead of using the actions approach on
Deployments.
Change-Id: I38fdb50d1d966a6c3651980c52298317fa3bece4
Jenkins [Fri, 16 Jun 2017 15:08:36 +0000 (15:08 +0000)]
Merge "Fall back to non-containerized cinder-volume to unblock CI"
Jenkins [Fri, 16 Jun 2017 14:44:38 +0000 (14:44 +0000)]
Merge "Only pass distinct services to enabled_services list"
Martin André [Fri, 16 Jun 2017 08:10:54 +0000 (10:10 +0200)]
Make a copy of files touched by puppet in container
This should help determine what exactly needs to be bind mounted in the
container and should also help limit the size of collected logs in CI,
as collecting the entire /etc directory from each container can grow
pretty quickly in size and is not that useful.
Related-Bug: #
1698172
Change-Id: Ie2bded39cdb82a72f0c28f1c552403cd11b5af45
Jiri Stransky [Fri, 16 Jun 2017 13:38:12 +0000 (15:38 +0200)]
Fall back to non-containerized cinder-backup to unblock OVB CI
The previous fix Ib10e4f18d967d356a15b97f58c488f8402a73356 made
multinode CI pass, but there was still an error during volume
scheduling on OVB:
OSError: [Errno 13] Permission denied: '/var/lib/cinder/conversion'
This was most likely due to cinder-volume was running on host and used
host's cinder user, while we still deployed containerized
cinder-backup and it chowned /var/lib/cinder under kolla's cinder user
whose UID doesn't match the baremetal one.
We didn't hit this issue in the multinode job because it doesn't
presently deploy cinder-backup service at all.
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: I9ac74d6717533f59945694b4a43fe56d7ca768c6
Closes-Bug: #
1698136
Jenkins [Fri, 16 Jun 2017 10:30:41 +0000 (10:30 +0000)]
Merge "Pacemaker HA suport for OVN DB servers"
Jenkins [Fri, 16 Jun 2017 09:07:53 +0000 (09:07 +0000)]
Merge "Ignore case for bootstrap node checks"
Jenkins [Fri, 16 Jun 2017 09:07:46 +0000 (09:07 +0000)]
Merge "Conditional LVM storage setup for cinder-volume"
Jiri Stransky [Fri, 16 Jun 2017 09:03:45 +0000 (11:03 +0200)]
Fall back to non-containerized cinder-volume to unblock CI
CI was stuck on collecting logs. The collect-logs playbook, which
normally takes just a few minutes, took more than an hour and was
eventually killed.
The playbook was stuck on collecting LVM info on the overcloud node,
which runs this command:
(vgs; pvs; lvs) &> /var/log/extra/lvm.txt
Therefore it's very likely that the problematic part is the LVM setup
in the containerized cinder-volume service, and falling back to
non-contianerized for the time being should get the CI going
again.
Change-Id: Ib10e4f18d967d356a15b97f58c488f8402a73356
Closes-Bug: #
1698136
Juan Antonio Osorio Robles [Thu, 15 Jun 2017 10:10:15 +0000 (13:10 +0300)]
Make fernet max active keys configurable
This will set the max_active_keys setting in keystone.conf, and
furtherly we'll read this value from tripleo-common to do purging of
keys if necessary.
bp keystone-fernet-rotation
Change-Id: I9c6b0708c2c03ad9918222599f8b6aad397d8089
Juan Antonio Osorio Robles [Fri, 16 Jun 2017 06:48:12 +0000 (09:48 +0300)]
Only pass distinct services to enabled_services list
The list that was passed contained repeated services, which was
problematic if we wanted to use this list in puppet. So instead we pass
a list with the unique names.
Change-Id: Ib5eb0c5b59a9a50344d22c258ca461e8f1e52c86
Jenkins [Fri, 16 Jun 2017 02:58:05 +0000 (02:58 +0000)]
Merge "Remove reference too puppet/services/ironic-pxe.yaml"
Jenkins [Fri, 16 Jun 2017 02:30:16 +0000 (02:30 +0000)]
Merge "Input enabled_services in all-nodes-config as comma_delimited_list"
Jenkins [Thu, 15 Jun 2017 20:22:15 +0000 (20:22 +0000)]
Merge "Bind mount internal CA file to all containers"
Jenkins [Thu, 15 Jun 2017 20:22:08 +0000 (20:22 +0000)]
Merge "Containerize Cinder-volume for HA"
Alex Schultz [Thu, 15 Jun 2017 19:59:31 +0000 (13:59 -0600)]
Ignore case for bootstrap node checks
The bootstrap_nodeid can have capital letters while the hostname may
not. In puppet we use downcase for this comparison, so let's follow a
similar pattern for scripts from THT.
Change-Id: I8a0bec4a6f3ed0b4f2289cbe7023344fb284edf7
Closes-Bug: #
16998201
Ben Nemec [Thu, 1 Jun 2017 20:03:45 +0000 (15:03 -0500)]
Update CloudDomain description
First, this parameter must match what is configured on the
undercloud, so strengthen that language.
There is also now an undercloud.conf parameter that can be used to
set the requisite options on the undercloud services, so just point
users at that rather than trying to explain how to configure the
services manually (which is error-prone and doesn't survive
undercloud updates).
Change-Id: I002cce176e3430473a29e79efde3464bddb24cc7
Sven Anderson [Tue, 30 May 2017 17:56:12 +0000 (19:56 +0200)]
Add Ec2Api to container based deployment
Depends-On: I5dc10ef5cccf6d378c20c68fc4a32d2d3c38233f
Change-Id: Ib96040c2e27ad76b1fa6ecb9468bb9d97b3c4518
Jenkins [Thu, 15 Jun 2017 13:05:36 +0000 (13:05 +0000)]
Merge "Containerize Ceilometer Agent Ipmi"
Jenkins [Thu, 15 Jun 2017 13:05:27 +0000 (13:05 +0000)]
Merge "Modify PreNetworkConfig config inline with role-specific parameters"
Juan Antonio Osorio Robles [Thu, 15 Jun 2017 08:35:58 +0000 (11:35 +0300)]
Input enabled_services in all-nodes-config as comma_delimited_list
The bug that prevented it from being a comma delimited list was fixed.
Change-Id: Ia5296140763849bdeac481c812f70a42d907c214
Martin André [Mon, 12 Jun 2017 15:08:39 +0000 (17:08 +0200)]
Fixup for manila-api containerized service
Use common volumes, and use the host log dir in DB sync container.
Co-Authored-By: Jiri Stransky <jistr@jistr.com>
Change-Id: I52602eb4ffd8834c36eec66ef845e5563f72f786
Dmitry Tantsur [Tue, 13 Jun 2017 11:21:16 +0000 (13:21 +0200)]
Add an example IronicConductor role
Change-Id: I8dca09372a58b6dacbb8e65602e1b0bdb6c01ae7
Related-Blueprint: example-custom-role-environments
Jenkins [Thu, 15 Jun 2017 00:30:13 +0000 (00:30 +0000)]
Merge "Fix race conditions between containers"
Jenkins [Thu, 15 Jun 2017 00:15:32 +0000 (00:15 +0000)]
Merge "Containerize Manila Scheduler service"
Jenkins [Wed, 14 Jun 2017 21:55:59 +0000 (21:55 +0000)]
Merge "Update Panko api port"
Jenkins [Wed, 14 Jun 2017 21:16:01 +0000 (21:16 +0000)]
Merge "Role Specific parameters for neutron-sriov-agent service"
Jenkins [Wed, 14 Jun 2017 21:15:53 +0000 (21:15 +0000)]
Merge "Sample environment generator"
Jenkins [Wed, 14 Jun 2017 17:34:47 +0000 (17:34 +0000)]
Merge "Add Nova Consoleauth service to containerized deployment"
Jenkins [Wed, 14 Jun 2017 16:45:32 +0000 (16:45 +0000)]
Merge "Add Nova Vncproxy service to containerized deployment"
Jenkins [Wed, 14 Jun 2017 16:26:57 +0000 (16:26 +0000)]
Merge "Enable heat/puppet to manage the fernet keys and make it configurable"
Jenkins [Wed, 14 Jun 2017 16:24:11 +0000 (16:24 +0000)]
Merge "Use KeystoneFernetKeys instead of individual parameters"
Pradeep Kilambi [Thu, 8 Jun 2017 12:18:27 +0000 (08:18 -0400)]
Update Panko api port
The current port conflicts with trove. This is updated in puppet
module. See related change: https://review.openstack.org/#/c/471551/
Change-Id: Iefacb98320eef0bca782055e3da5d243993828d7
Jenkins [Wed, 14 Jun 2017 15:07:26 +0000 (15:07 +0000)]
Merge "Fix network names when using network isolation"
Jenkins [Wed, 14 Jun 2017 15:06:30 +0000 (15:06 +0000)]
Merge "Dell SC: Add exclude_domain_ip option"
Jenkins [Wed, 14 Jun 2017 15:06:08 +0000 (15:06 +0000)]
Merge "Docker service for Cinder Volume"
Jiri Stransky [Wed, 14 Jun 2017 13:24:46 +0000 (15:24 +0200)]
Fix race conditions between containers
In many occasions we had log directory initialization containers
without `detach: false`, which didn't guarantee that they'll finish
before the container depending on them will start using the log
directory.
This is now fixed by moving the initialization container one global
step earlier, so that we can keep the concurrency when creating the
log dirs. (Using `detach: false` makes paunch handle just one
container at a time, and as such it can have negative performance
impact.)
For services which have their container(s) starting in step_1,
initialization cannot be moved to an earlier step, so the solution
here was to just add `detach: false`.
As a minor related change, cinder DB sync container now mounts the log
directory from host to put cinder-manage.log into the expected
location.
Change-Id: I1340de4f68dd32c2412d9385cf3a8ca202b48556
Jenkins [Wed, 14 Jun 2017 13:49:46 +0000 (13:49 +0000)]
Merge "Docker services for Cinder Backup"
Derek Higgins [Wed, 14 Jun 2017 12:07:37 +0000 (13:07 +0100)]
Remove reference too puppet/services/ironic-pxe.yaml
The file doesn't exist. The pxe setup is part of
puppet/services/ironic-conductor.yaml
Change-Id: I3a6f038ed69ea44f0594064b6f9657ff1b72e1bb
Closes-Bug: #
1697927
Jenkins [Wed, 14 Jun 2017 10:47:52 +0000 (10:47 +0000)]
Merge "Add fqdn_external"
Jenkins [Wed, 14 Jun 2017 10:27:47 +0000 (10:27 +0000)]
Merge "Generate HAproxy iptables rules for containerized HA deployments"
Jenkins [Wed, 14 Jun 2017 10:18:45 +0000 (10:18 +0000)]
Merge "Replace NO_ARCHIVE block with single call to rsync"
Jenkins [Wed, 14 Jun 2017 10:18:37 +0000 (10:18 +0000)]
Merge "Docker services for Cinder Api and Scheduler"
Michele Baldessari [Wed, 14 Jun 2017 08:07:48 +0000 (10:07 +0200)]
Fix network names when using network isolation
When we merged If3989f24f077738845d2edbee405bd9198e7b7db we correctly
used name_lower for most things but we left out the the
OS::TripleO::Network resource which would cause errors like the
following:
Could not fetch contents for file:///tmp/tripleoclient-LdqQGJ/tripleo-heat-templates/network/internalapi.yaml
The reason is that the network filename is called internal_api.yaml.
Change-Id: I40f268668ed948e5d41ed0ff5a8fc954cef7b17c
Closes-Bug: #
1697883
Juan Antonio Osorio Robles [Mon, 12 Jun 2017 12:24:32 +0000 (15:24 +0300)]
Enable heat/puppet to manage the fernet keys and make it configurable
With the addition of the KeystoneFernetKeys parameter, it's now possible
to do fernet key rotations using mistral, by modifying the
KeystoneFernetKeys variable in mistral; subsequently a rotation could
happen when doing a stack update.
So this re-enables the managing of the key files by puppet. However,
this is left configurable, as folks might want to manage those files
out-of-band.
bp keystone-fernet-rotation
Change-Id: Ic82fb8b8a76481a6e588047acf33a036cf444d7d
Juan Antonio Osorio Robles [Mon, 12 Jun 2017 12:17:28 +0000 (15:17 +0300)]
Use KeystoneFernetKeys instead of individual parameters
This uses the newly introduced dict with the keys and paths instead of
the individual keys. Having the advantage that rotation will be
possible on stack update, as we no longer have a limit on how many keys
we can pass (as we did with the individual parameters).
bp keystone-fernet-rotation
Change-Id: I7d224595b731d9f3390fce5a9d002282b2b4b8f2
Depends-On: I63ae158fa8cb33ac857dcf9434e9fbef07ecb68d
Jenkins [Wed, 14 Jun 2017 03:37:30 +0000 (03:37 +0000)]
Merge "Add support for Cinder "NAS secure" driver params"
Steve Baker [Thu, 18 May 2017 04:03:29 +0000 (04:03 +0000)]
Replace NO_ARCHIVE block with single call to rsync
Also attempts to move the workaround for bug #
1696283 to before the
puppet apply call.
Closes-Bug: #
1696622
Change-Id: I3a195466a5039e7641e843c11e5436440bfc5a01
Jenkins [Wed, 14 Jun 2017 01:04:01 +0000 (01:04 +0000)]
Merge "Execute Swift ring up-/download in containerized environments"
Jenkins [Wed, 14 Jun 2017 01:00:28 +0000 (01:00 +0000)]
Merge "Containerize Sahara"
Jenkins [Wed, 14 Jun 2017 01:00:16 +0000 (01:00 +0000)]
Merge "Containerized Sensu client"
Jenkins [Wed, 14 Jun 2017 01:00:09 +0000 (01:00 +0000)]
Merge "Containerize multipathd"
Jenkins [Wed, 14 Jun 2017 01:00:01 +0000 (01:00 +0000)]
Merge "Move iscsid to a container"
Jenkins [Tue, 13 Jun 2017 21:32:04 +0000 (21:32 +0000)]
Merge "Change HorizonSecureCookies default to False"
Pradeep Kilambi [Mon, 5 Jun 2017 20:19:14 +0000 (16:19 -0400)]
Containerize Ceilometer Agent Ipmi
Depends-On: I3e865f2e9b6935eb3dfa4b4579c803f0127848ae
Change-Id: I09327a63d238a130b6ac0f2361f80e2b244b4b52
Jenkins [Tue, 13 Jun 2017 18:10:18 +0000 (18:10 +0000)]
Merge "Add support to configure Num of Storage sacks"
Jenkins [Tue, 13 Jun 2017 18:10:11 +0000 (18:10 +0000)]
Merge "Fix IronicInspectorAdmin to be https"
Jenkins [Tue, 13 Jun 2017 18:09:55 +0000 (18:09 +0000)]
Merge "Make network-isolation environment rendered for all roles"
Jenkins [Tue, 13 Jun 2017 18:09:31 +0000 (18:09 +0000)]
Merge "Fix bug in docker-toool where values are sometimes empty."
Jenkins [Tue, 13 Jun 2017 18:09:15 +0000 (18:09 +0000)]
Merge "Configure credentials for ironic to access cinder"
Alex Schultz [Tue, 13 Jun 2017 15:39:11 +0000 (09:39 -0600)]
Add fqdn_external
In newton, we used to construct the fqdn_$NETWORK in puppet-tripleo for
external, internal_api, storage, storage_mgmt, tenant, management, and
ctrlplane. When this was moved into THT, we accidently dropped external
which leads to deployment failures if a service is moved to the external
network and the configuration consumes the fqdn_external hiera key.
Specifically this is reproduced if the MysqlNetwork is switch to to
exernal, then the deployment fails because the bind address which is set
to use fqdn_external is blank.
Change-Id: I01ad0c14cb3dc38aad7528345c928b86628433c1
Closes-Bug: #
1697722
Sven Anderson [Wed, 31 May 2017 16:32:16 +0000 (18:32 +0200)]
Add Nova Vncproxy service to containerized deployment
Depends-On: I037858a445742de58bd2f8d879f2b1272b07f481
Change-Id: Ifd138ea553a45a637a1a9fe3d0e946f8be51e119
Sven Anderson [Wed, 31 May 2017 15:27:26 +0000 (17:27 +0200)]
Add Nova Consoleauth service to containerized deployment
Depends-On: I037858a445742de58bd2f8d879f2b1272b07f481
Change-Id: I808a5513decab1bd2cce949d05fd1acb17612a42
Juan Antonio Osorio Robles [Tue, 13 Jun 2017 09:42:54 +0000 (12:42 +0300)]
Bind mount internal CA file to all containers
This will allow the services running in the containers to trust the CA.
bp tls-via-certmonger-containers
Change-Id: Ib7eb682da64473a651b34243c92ab76009964aba
Jenkins [Tue, 13 Jun 2017 13:22:01 +0000 (13:22 +0000)]
Merge "Unblock CI by reverting to non-containerized HAProxy"
Jenkins [Tue, 13 Jun 2017 11:14:06 +0000 (11:14 +0000)]
Merge "Remove deprecated multinode-container-upgrade.yaml"
Jiri Stransky [Tue, 13 Jun 2017 10:25:32 +0000 (12:25 +0200)]
Conditional LVM storage setup for cinder-volume
Set up the LVM storage only if we're using iSCSI backend.
Change-Id: I62e8f9cc38b201aebd1799e05ffc1398d13a9aa0
Steven Hardy [Thu, 8 Dec 2016 17:15:46 +0000 (17:15 +0000)]
Make network-isolation environment rendered for all roles
Currently there's some hard-coded references to roles here, rendering
from the roles_data.yaml is a step towards making the use of isolated
networks for custom roles easier.
Partial-Bug: #
1633090
Depends-On: Ib681729cc2728ca4b0486c14166b6b702edfcaab
Change-Id: If3989f24f077738845d2edbee405bd9198e7b7db
Jiri Stransky [Tue, 13 Jun 2017 09:01:29 +0000 (11:01 +0200)]
Unblock CI by reverting to non-containerized HAProxy
In change I90253412a5e2cd8e56e74cce3548064c06d022b1 we merged
containerized HAProxy setup, but because of a typo in resource
registry, CI kept using the non-containerized variant and it went
unnoticed that the containerized HAProxy doesn't work yet.
We merged a resource registry fix in
Ibcbacff16c3561b75e29b48270d60b60c1eb1083 and it brought down the CI,
which now used the non-working HAProxy.
After putting in the missing haproxy container image to tripleo-common
in I41c1064bbf5f26c8819de6d241dd0903add1bbaa we got further, but the
CI still fails on HAProxy related problem, so we should revert back to
using non-containerized HAProxy for the time being.
Change-Id: If73bf28288de10812f430619115814494618860f
Closes-Bug: #
1697645
Saravanan KR [Fri, 17 Mar 2017 16:15:54 +0000 (21:45 +0530)]
Modify PreNetworkConfig config inline with role-specific parameters
Existing host_config_and_reboot.role.j2.yaml is done in ocata to
configure kernel args. This can be enhanced with use of role-specific
parameters, which is done in the current patch. The earlier method is
deprecated and will be removed in Q releae.
Implements: blueprint ovs-2-6-dpdk
Change-Id: Ib864f065527167a49a0f60812d7ad4ad12c836d1
Pradeep Kilambi [Fri, 9 Jun 2017 12:52:06 +0000 (08:52 -0400)]
Add support to configure Num of Storage sacks
Gnocchi 4 supports storage sacks during upgrade. lets make this
configurable if we want to use more metricd workers.
Change-Id: Ibb2ee885e59d43c1ae20887ec1026786d58c6b9e
Jenkins [Mon, 12 Jun 2017 22:28:25 +0000 (22:28 +0000)]
Merge "Fix typo in haproxy docker mapping"
Jenkins [Mon, 12 Jun 2017 22:21:44 +0000 (22:21 +0000)]
Merge "Moving *postconfig where it was *postpuppet"
Alex Schultz [Fri, 19 May 2017 22:54:28 +0000 (16:54 -0600)]
Fix IronicInspectorAdmin to be https
As noted in the original patch review
I5e743f789ab7dd731bc7ad26226a92a4e71f95a1 the IronicInspectorAdmin
should be https.
Change-Id: I6e37427da679775f02ff0c5fe55cfee51c122e3d
Ben Nemec [Tue, 16 May 2017 21:06:41 +0000 (16:06 -0500)]
Add nested sample environments for inject-trust-anchor
Fix a bug that prevented these working. A unit test and
documentation for the nested environment functionality is also
included.
Change-Id: I2d4aeb584eb624178d601cfd6bc0a6473cb5289f
Ben Nemec [Thu, 18 May 2017 20:38:22 +0000 (15:38 -0500)]
Add storage sample environments
Starts converting storage-related sample environments to the tool,
and adds a few new ones for demonstration purposes.
This has required the addition of a new category of parameter
overrides in the tool. There are some parameters that are part of
the public API of roles that should not normally be included in a
sample environment for that role. Examples are EndpointMap and
ServiceNetMap. Those are both passed into most (all?) roles, but
their template defaults are not useful (both default to {}).
Unless we are explicitly creating a sample environment that
overrides those defaults we don't want them included.
Parameters such as RoleName and RoleParameters are similar. We
can't change them because they are part of the composable roles
interface and that would break any existing custom roles, but we
don't really want them included normally either. It's possible
these could be made completely private, but there have been some
very preliminary discussions about generating role samples that
might actually want to set them.
In order to avoid issues with editing the unit test file in editors
that strip trailing whitespace, the minor formatting bug where
params like EndpointMap had a trailing space after the name has
also been fixed.
Change-Id: If11f30c734bfbc17d463a9890c736d7477186fb9
Ben Nemec [Thu, 18 May 2017 20:37:41 +0000 (15:37 -0500)]
Add neutron-midonet sample environment
Change-Id: I34d3a9356b119d549acd6fe4f0c8713b0bfa5957
Ben Nemec [Tue, 31 May 2016 16:47:10 +0000 (11:47 -0500)]
Support config dir for env generator input files
We're not going to want to list every single sample environment in
a single file, so let's also take a directory and just read every
yaml file in it. This commit adds support for that as well as
some initial environments to demonstrate its use.
Change-Id: If2c608f2a61fc5e16784ab594d23f1fa335e1d3c
Ben Nemec [Tue, 31 May 2016 16:36:23 +0000 (11:36 -0500)]
Sample environment generator
This is a tool to automate the generation of our sample environment
files. It takes a yaml file as input, and based on the environments
defined in that file generates a number of sample environment files
from the parameters in the Heat templates. A tox genconfig target
is added that mirrors how the other OpenStack services generate
their sample config files.
A description of the available options for the input file is
provided in a README file in the sample-env-generator directory.
In this commit only a single sample config is provided as a basic
example of how the tool works, but subsequent commits will add
more generated sample configs.
Change-Id: I855f33a61bba5337d844555a7c41b633b3327f7a
bp: environment-generator
Jenkins [Mon, 12 Jun 2017 19:26:41 +0000 (19:26 +0000)]
Merge "Providing parameters specific to a workflow via plan-environment"
Jenkins [Mon, 12 Jun 2017 18:07:24 +0000 (18:07 +0000)]
Merge "Remove pip install paunch"