280 Commits

Author SHA1 Message Date
Zuul
7f23133651 Merge "Mark Designate as experimental" 2018-05-09 23:09:14 +00:00
Juan Antonio Osorio Robles
9be5b8fce3 Add no-tls environment to env-generator
It was missed from the commit that introduced the environment.

Change-Id: I7e370f5b16ba8b29cd1af36fec6da436f70843a6
2018-05-08 18:15:53 +03:00
Alex Schultz
03c8cbcdc2 Fix sample env data
I934561612d26befd88a9053262836b47bdf4efb0 renamed the rabbit ssl
parameters that we use in the same environment generate but since the
script did not fail, it made it past CI. This change fixes the
RabbitClientUseSsl parameter in the environment to match the new
RpcUseSsl flag and updates the check script to fail if this happens
again.

Change-Id: I47c63875c6934bca2903883787467fc1804ba5da
Closes-Bug: #1768358
2018-05-01 16:05:02 -06:00
Bogdan Dobrelya
041251d473 Switch remaining env files to containers defaults
Mark regular non-containerized services with FIXME
to be switched, once it is containerized

Do not mark yet an external/backend/plugin/host-config
related puppet services templates with that FIXME

Mark puppet/services/ceph- related templates as TODO
switch it to containerized ceph-ansible eventually, maybe.

Change-Id: Ib9fbad05eeb57dc641499fbf411cb5870da7a8e9
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-04-26 23:45:01 +00:00
Andrew Smith
78bc457585 Support separate oslo.messaging services for RPC and Notification
This commit introduces oslo.messaging services in place of a single
rabbitmq server. This will enable the separation of rpc and
notifications for the continued use of a single backend (e.g.
rabbitmq server) or a dual backend for the messaging communications.

This patch:
* add oslo_messaging_rpc and oslo_messaging_notify services
* add puppet services for rpc and notification
  (rabbitmq and qdrouterd servers)
* add docker services to deploy rpc (rabbitmq or qdrouterd)
  and notify (rabbitmq or shared)
* retains rabbit parameters for core services
* update resource registries, service_net_map, roles, etc.
* update ci environment container scenarios
* add environment generator for messaging
* add release note

Depends-On: Ic2c1a58526febefc1703da5fec12ff68dcc0efa0
Depends-On: I154e2fe6f66b296b9b643627d57696e5178e1815
Depends-On: I03e99d35ed043cf11bea9b7462058bd80f4d99da
Needed-By: Ie181a92731e254b7f613ad25fee6cc37e985c315
Change-Id: I934561612d26befd88a9053262836b47bdf4efb0
2018-04-22 04:33:44 +00:00
Emilien Macchi
87a48d730b Enable SSL when UI is containerized
The protocol and ports were wrong when UI is containerized and SSL
enabled.

Change-Id: I06a6a2ea72bfcdad579b968c353e2139e8a15093
2018-04-11 19:19:19 -07:00
Ben Nemec
30e18b4239 Mark Designate as experimental
This service isn't ready for production in TripleO yet, so we
should make sure that's clear in the enablement environment.

Change-Id: I4a5a5f347dcb4f43f7f802648624165c80023e0d
2018-04-11 15:28:27 +00:00
Ben Nemec
d7e672b6bd Add environment to enable Designate
bp designate-support

Change-Id: I6cc713492cdb672a87e8f55dc39dd887726a68e5
2018-03-27 15:45:39 +00:00
Ben Nemec
c45d027c43 Designate Integration
Change-Id: I1ddefb7b6a6e1c7b0b76589b9f8f1b99776d39e8
Depends-On: I115090679bd2577cdc3998ab3cc97f9581e5e18a
bp designate-support
2018-03-27 15:45:39 +00:00
Honza Pokorny
7cbe28b5ef docker: add support for TripleO UI
Co-Authored-By: Martin André <m.andre@redhat.com>
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Partially-Implements: bp tripleo-ui-undercloud-container
Change-Id: I1109d19e586958ac4225107108ff90187da30edd
2018-03-15 23:43:17 +01:00
Zuul
07857e3f87 Merge "Add support of netapp configuration for glance in THT" 2018-03-08 14:35:00 +00:00
Pranali Deore
5f7fdb1656 Add support of netapp configuration for glance in THT
This change adds all the required netapp environment configuartion
for glance in heat template.

Change-Id: Ib44796f77cbc50c3b3c37dcdd37a59f48a7baa1a
Closes-Bug: #1740456
2018-03-01 17:07:34 +05:30
Martin André
417e192eac Add enpoints for TripleO UI Config
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Change-Id: I1e08f3b614e5f5754f0a0876fc7ff267b2970c25
Partially-Implements: bp tripleo-ui-undercloud-container
2018-02-20 01:30:32 +00:00
Jan Provaznik
b9ebc4e162 Pass storage nfs VIP to ceph-ansible
This VIP is needed in ceph-ansible to tell ganesha service
to listen on this IP only.
This parameter is passed through the endpoint map, it could be
done also by passing allNodesConfig to ceph-ansible (addressed
in patch https://review.openstack.org/#/c/509146/) and then getting
this value from allNodesConfig in tripleo-common ceph-ansible workbook.
Disadvantage of this alternative approach is that any parameter
change would require also change in tripleo-common.

Depends-On: If31722d669efe91082c93ecb815e6c41676480c8
Change-Id: I3c0da46dd0f0252158c6065b7c122b8567c88bc0
Partially-Implements: blueprint nfs-ganesha
2018-02-06 19:05:19 +00:00
Juan Antonio Osorio Robles
64e648d815 Fix the paths for the enable-internal-tls.yaml file in the ssl/ dir
These paths were wrong.

Change-Id: Id57e2e27b1edc04627c10e6f5a257c24e5e24b28
Closes-Bug: #1746951
2018-02-03 17:11:11 +00:00
Janki Chhatbar
278b141183 Add endpoint for ODL
Add ODL endpoint and use it to get ODL port. Public access to
ODL is not allowed and hence the public endpoint is missing.
Internal endpoint is used for all internal communication and
TLS is enabled for that.

Change-Id: I66af960c6732f5d2efa8ea2db28cad122e321999
2018-01-24 10:29:22 +05:30
Dan Prince
cec41586f7 Add docker-registry service
This is required for the containerized undercloud.

Change-Id: I542a19c084f37aaafd72378857af4f379f335a39
2017-12-27 01:41:50 +00:00
Alex Schultz
536d1c4af5 Fix standalone ControllerOpenstack vars
As we've moved to more dynamic generation of variables, the correct
variable names are *ControllerOpenstack* not *Controller* for the
example standalone environment.

Change-Id: Iaa39de9d8794a856e76cc9995d046484632cf604
Closes-Bug: #1721877
2017-10-06 15:04:35 -06:00
Pradeep Kilambi
96667edee2 Update panko port in env ssl yaml files to correct one
Change-Id: Iafe17a91c4695e442881e6fe813a6499f812f4b4
2017-09-19 11:08:45 +00:00
Ben Nemec
d69940d5af Fix env-generator doc formatting
Bulleted lists must have whitespace before and after or they don't
render properly.

Change-Id: I7dcc58b8d9e02d99918bbdcc7d0fc3905d66f71c
2017-09-06 16:29:44 -05:00
Ben Nemec
7c06db3d1c Convert enable-internal-tls.yaml to be generated
All of the other SSL environments were converted, but this one was
missed.  That's an inconsistent user experience and should be
cleaned up.

This environment also exposed a bug in the tool where it did not
include the parameter_defaults section key if all the parameters
were marked static.

Change-Id: I19bc422c22b9f60f781e696ce703b026dc317786
Closes-Bug: 1713761
2017-08-29 10:50:00 -05:00
Ben Nemec
406b1982ba Update generated ssl environments
These were edited manually and the input file was not updated, which
is causing problems when trying to generate new/updated envs.

Change-Id: Ia2e53e52361e35d94e2dedf9b8885498693bc2e0
Partial-Bug: 1713761
2017-08-29 10:49:47 -05:00
Alex Schultz
10bb3d5635 Provide sample environment for composable roles
Creating a sample environment generator configuration to generate basic
environment files for the following architectures:

 * Monolithic HA (3 Controller, 3 Compute, 1 Ceph)
 * Monolithic Non-HA (1 Controller, 1 Compute, 1 Ceph)
 * Standalone (3 Controller, 3 Database, 3 Messaging, 2 Networker,
   1 Compute, 1 Ceph)

Change-Id: Id0b967d3b2356f38a51e1028b2dccc122d59888c
Related-Blueprint: example-custom-role-environments
2017-08-17 09:00:02 -06:00
Ben Nemec
736b1e1bf3 Add environment for setting a custom domain name
Just setting CloudDomain won't make the domains used consistent.
There are a number of CloudName parameters that must be set as well.
This change adds a sample environment that includes all of those
parameters so it is easy to set everything consistently.

Also fixes the description of CloudNameCtlplane to reflect the
actual use for that parameter.

Change-Id: I56d1c1c5619f83c16c4e8350aa84fccc3d748425
2017-07-27 09:07:29 -06:00
Ben Nemec
56bf9cfb78 Fix enable-ceph sample environment
The necessary resource registry entries were missing from this env
and the old environment was not deprecated.

Change-Id: I6a9b148514fc5da1f96b9fd7fe09f564c2f82419
2017-07-26 13:36:52 +00:00
Ben Nemec
204a582099 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
2017-06-12 15:02:50 -05:00
Ben Nemec
8d086b1710 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
2017-06-12 15:02:50 -05:00
Ben Nemec
7613306b8c Add neutron-midonet sample environment
Change-Id: I34d3a9356b119d549acd6fe4f0c8713b0bfa5957
2017-06-12 15:02:50 -05:00
Ben Nemec
f503d1b0e7 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
2017-06-12 15:02:50 -05:00
Ben Nemec
4e24c8cb6a 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
2017-06-12 15:02:50 -05:00