1053 Commits

Author SHA1 Message Date
Zuul
f800fc303b Merge "Add Mellanox SDN ML2 template for a containerized service" 2019-03-04 12:06:35 +00:00
Zuul
e5fc7a5fdc Merge "allow to configure broadcast_dhcp in neutron DHCP server" 2019-03-04 12:02:58 +00:00
Zuul
4ca879b09c Merge "Deprecate TripleO UI" 2019-03-02 00:04:28 +00:00
Emilien Macchi
81c1cae40d Rename /var/lib/docker-puppet to /var/lib/container-puppet
The /var/lib/docker-puppet is deprecated and can now be found under
/var/lib/container-puppet. We don't have Docker anymore so we try to avoid
confusion in the directories. The directory still exists but a readme
file points to the right directory.

Change-Id: Ie3d05d18e2471d25c0c4ddaba4feece840b34196
2019-03-01 14:59:37 -05:00
David J Peacock
47ec1089a5 flatten database service Redis
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of database service Redis
has been removed.

Change-Id: I530ee8196e1d4b81ae4886b234e1a530cf34becf
Related-Blueprint: services-yaml-flattening
2019-03-01 10:58:31 -05:00
Emilien Macchi
66a477509d Deprecate TripleO UI
Change-Id: I42c6e34b4d6e692d445fe688a5888bf4f6ba5fa6
2019-03-01 13:17:46 +00:00
Zuul
c277fcf3d9 Merge "flatten database service MySQL Server" 2019-02-28 23:25:32 +00:00
Emilien Macchi
f3b85e4ba5 Remove Congress
Congress doesn't seem to be used anywhere, we never had a bug report or
any sign of somebody out there actually using it.

Let's remove its support in TripleO, to reduce the codebase.

Change-Id: Idca6b12f1c0ca3bc15bedf6469d4063a4dac31fa
2019-02-28 16:29:03 -05:00
Zuul
37c7cc72b9 Merge "Be able to know when we are running inside a minor update workflow" 2019-02-28 16:53:40 +00:00
David J Peacock
6dbfde9c85 flatten database service MySQL Server
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of database service MySQL Server
has been removed.

Change-Id: I407bd8d8fe9bde53609e4316b12eb0b7151552ca
Related-Blueprint: services-yaml-flattening
2019-02-28 08:36:31 -05:00
Moshe Levi
65c62f47f1 allow to configure broadcast_dhcp in neutron DHCP server
Allow Neutron DHCP agent to use broadcast in DHCP replies by
enabling this parameter NeutronDhcpServerBroadcastReply

Change-Id: I09859ea39e7fc348b7ff6626d24eb9d058d642d2
Closes-Bug: 1818035
2019-02-28 08:22:38 +00:00
Zuul
306ba5c9bb Merge "Add functionality to manage KSM on compute nodes per role" 2019-02-27 19:02:51 +00:00
Hamdy Khader
0a9ff03c76 Add Mellanox SDN ML2 template for a containerized service
Change-Id: I2868ed8cbe5414c1f09679f37853e3ebb5fd284d
2019-02-27 13:41:55 +00:00
Zuul
613a1b552b Merge "Revert "Remove host-config-and-reboot interface"" 2019-02-27 08:44:40 +00:00
Tom Barron
127dbb4e81 Support cephfs_volume_mode parameter
manila now [1] supports configuring an octal value for the
rwx permissions mode of the cephfs volumes and snapshots
and groups of these that back manila shares, snapshots,
and groups.

Expose this parameter in the backend manifests for manila
with cephfs.

[1] https://review.openstack.org/#/c/614332

Depends-on: https://review.openstack.org/638773
Change-Id: I0e3f841523dc0cc213100296bc352ac88eb1ff74
2019-02-26 19:03:26 +00:00
Martin Schuppert
badf39735d Add functionality to manage KSM on compute nodes per role
Adds functionality whether to enable / disable KSM on compute nodes.
Especially in NFV use case one wants to disable the service and as there
is in general little benefit in overcloud nodes, KSM is disabled per
default, but can be enabled using the new NovaComputeEnableKsm role
parameter.

Change-Id: I1b8dba2e2a9ff4f5ad73a4fbc3251b5dc96fd38e
2019-02-25 16:25:49 +01:00
Martin Schuppert
37e1122f8c Add OvnDbInternal to EndpointMap and use it for ovn_db_host
OVN controller/metadata use ovn_dbs_vip hiera key to configure
the central ovn DB. This key is not available on split control
plane or multi cell setup and therefore installation fails.

With this change a new entry gets created in the EndpointMap
named OvnDbInternal. This can then be exported for an overcloud
stack and can be used as an input for the cell stack.

The information from the EndpointMap is used for ovn-metadata
and ovn-controller as the ovn_db_host information in puppet-tripleo

Change-Id: I0d9eb663405d1113ea84e3c12651a3f0dbdfc75d
Closes-Bug: #1817524
2019-02-25 10:14:19 +01:00
Zuul
465180b113 Merge "Add specific upgrade hiera data file." 2019-02-21 22:30:45 +00:00
Zuul
9ded745e65 Merge "Deprecate xinetd service management" 2019-02-21 18:55:15 +00:00
Emilien Macchi
26a3d4336c Deprecate Docker
Docker is deprecated in Stein and will be removed in Train.
It is being replaced by Podman and Buildah.

blueprint podman-support
Change-Id: Id9ec9cbe9f879c2f437b234742118763d6d0f535
2019-02-20 21:58:28 +00:00
Emilien Macchi
72aa2dfc0a Create deployment/deprecated directory
It's not easy to find which services are deprecated, so let's create a
directory: deployment/deprecated and put the services in there.

This patch:
- creates the directory and a README
- moves already deprecated services into that directory
- update all references to these services to point to the right files

Change-Id: Id6c927d9c0db024875032f04228047d029c0696d
2019-02-20 16:57:58 -05:00
Michele Baldessari
7133394c35 Be able to know when we are running inside a minor update workflow
With this change we add an ansible variable called
'tripleo_minor_update' set to true only during the update_steps_playbook
which get run during a minor update.
Then inside common/deploy-steps-tasks when starting containers with
paunch we export this 'tripleo_minor_update' ansible variable and
push it inside the 'TRIPLEO_MINOR_UPDATE' environment variable.

Inside change Id1d671506d3ec827bc311b47d9363952e1239ce3 we will then
use the env variable and export it to the restart_bundles in order
to detect if we're inside a minor update workflow (as opposed to
a redeploy - aka stack update). The testing that has been done is
described in the above change.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>

Change-Id: Ib3562adbd83f7162c2aeb450329b7cc4ab200fc2
2019-02-20 15:49:09 +01:00
Saravanan KR
5c2e741da3 Revert "Remove host-config-and-reboot interface"
This reverts commit 2a8719960103d2619e908290d80235e6079c334d.

BootParams takes care of the kernel args configuration and
reboot via ansible. But Enabling of OVS-DPDK (EnableDpdkDeployment)
is still handled as part of the PreNetworkConfig (host_config_and_reboot).
It can be cleaned-up to remove unused bits, but not the entire stack.

Change-Id: Ifeb029ddaeb2bc60f43abdb8bdb02a4c911ace30
2019-02-20 09:59:08 +05:30
Emilien Macchi
2a87199601 Remove host-config-and-reboot interface
host-config-and-reboot interface was deprecated in Queens in favor of:
OS::TripleO::Services::BootParams: extraconfig/pre_network/boot-params-service.yaml

and doesn't work with config-download, which has been the default since
Rocky.

Let's remove these files.

Change-Id: I85a781cecb7224881b827ff442376c706f1c771b
2019-02-19 11:57:04 -05:00
Zuul
1939a3d986 Merge "Enable rabbitmq_management plugin" 2019-02-19 15:39:56 +00:00
Zuul
ea60b78f84 Merge "Move ipa enrollment to host_prep_tasks" 2019-02-18 21:10:42 +00:00
Sofer Athlan-Guyot
b99c0ce8a7 Add specific upgrade hiera data file.
During upgrade we need to provides hiera variable that will override
the cluster member definition.

Change-Id: I4272797a40ee61842fe29b2e177d432c27fb47c3
Implements: blueprint upgrades-with-os
2019-02-18 10:38:30 +01:00
Cédric Jeanneret
3d07ad4326 New parameter: ContainerLogStdoutPath
This is used in order to point where podman must push its logs.
Two scripts are using it:
- docker-puppet.py
- paunch (near future - see https://review.openstack.org/#/c/635438/)

This will allow to get the stdout for all containers, even when they
are removed before we can actually run "podman logs container_name".

Related-Bug: #1814897
Change-Id: Idc220047d56ce0eb41ac43903877177c4f7b75c2
2019-02-18 09:42:05 +01:00
Zuul
afe1cb5581 Merge "Introduce ContainerImagePrepareDebug parameter" 2019-02-16 05:27:57 +00:00
Zuul
f51ab50072 Merge "Switch Manila API to httpd and support TLS" 2019-02-15 17:41:07 +00:00
Harald Jensås
d6727aff73 Enable rabbitmq_management plugin
Enable the RabbitMQ managment plugin. RabbitMQ managment
will listen on localhost (127.0.0.1) only.

NOTE: This depend on this upstream change:
  https://github.com/voxpupuli/puppet-rabbitmq/pull/777

Also to optimize for performance:
 - Disables message rates in the management plugin.
 - Raises the collect_statistics_interval from 5000ms to
   30000ms.

Related-Bug: #1815675
Change-Id: I5e73660e23fef15d1cae4c89d8b45b2456b0a110
2019-02-15 15:57:07 +01:00
Alex Schultz
78f1901da4 Deprecate xinetd service management
We stopped managing this service with the switch containers. This change
starts the removal and deprecated the TripleO management of the service.

Change-Id: Idc35bdfad126f21280444ebffaa5017e73ba8368
2019-02-14 12:46:41 -07:00
Ade Lee
2a83856585 Move ipa enrollment to host_prep_tasks
This addresses a possible bug when using FreeIPA to do TLS
everywhere.

It is possible that the IPA server is not on the ctlplane.
In this case, when the nodes start up, the registration of the node
with IPA will fail, resulting in failed certificate issuance requests
later on.

We introduce a composable service to run in host_prep_tasks.
This will always run once the networks have been set up.  If the
instance has already been enrolled (by cloud-init or in an update),
then the script executed by the service will just exit.

In this iteration, we simply execute the code that the cloud-init
would have done.  In later releases, we will execute all the code
performed by novajoin-server here in ansible - and deprecate the
novajoin server.

Change-Id: I31f64c3cbd1d151e3c2a436cc3e2ec5316535087
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Resolves: rhbz#1661635
Closes-Bug: #1815924
2019-02-14 16:07:17 +00:00
Daniel Alvarez
6053eb1964 Switch default neutron ML2 mechanism driver to OVN
This patch switches the default mechanism driver for neutron from
openvswitch to OVN.

It will also flip scenario007 job to run with ML2/OVS.

Depends-On: I74ffb6b7f912e1fce6ce428cd23a7283c91b8b96
Depends-On: I99ba2fd6a85b4895b577719a7541b7cbf1fdb85c
Depends-On: Ib60de9b0df451273d1d81ba049b46b5214e09080
Depends-On: Iaed7304adf40a87a0f14b7a95339f8416140e947
Change-Id: Iab52cdf5d0f7a392c4f17c884493b5c5beb1d89f
Co-Authored-By: Kamil Sambor <ksambor@redhat.com>
2019-02-14 15:58:27 +01:00
Emilien Macchi
cb4ed31eaf Introduce ContainerImagePrepareDebug parameter
Set to false by default for backward compatibility, we can set it to
True and it'll add --debug when running the tripleo container image
prepare command, useful to have more verbosity.

Change-Id: I7d0b4035de748bf2453321d3ab09d09fd45abf8d
2019-02-14 09:06:33 -05:00
Goutham Pacha Ravi
1cb6886a21 Switch Manila API to httpd and support TLS
manila-api can be deployed in two ways:
- Using the service-provided eventlet based server
- Behind any popular web server as a wsgi process

[1] adds support to the kolla image to install necessary
packages and write configuration files to enable deploying
manila-api with Apache/mod-wsgi/
[2] and [3] add support to puppet-{manila,tripleo} to
honor httpd options like other API services.

So, switch the manila-api docker/service to running
httpd, and add necessary configuration options.
Honor the "EnableInternalTLS" option to allow running
manila-api with TLS.

[1] https://review.openstack.org/#/c/590061/
[2] https://review.openstack.org/#/c/591869/
[3] https://review.openstack.org/#/c/592188/

Depends-On: https://review.openstack.org/#/c/592188/
Change-Id: Ic88a2f08e013a49e3da45a2bfc82c62ba284526a
2019-02-14 06:42:32 +00:00
Zuul
23302ca1ce Merge "Fix Chinese quotes" 2019-02-11 23:36:59 +00:00
Zuul
f765c4a165 Merge "Add GlobalConfigExtraMapData" 2019-02-11 19:24:15 +00:00
Zuul
1abf7987e2 Merge "Disable stack check and cancel update for undercloud" 2019-02-08 16:11:23 +00:00
James Slagle
2634ffaa5d Add GlobalConfigExtraMapData
Adds a new GlobalConfigExtraMapData parameter that can be used to inject
global_config_settings hieradata into the deployment. Any values generated
in the stack will override those passed in by the parameter value.

This will be used for the distributed compute node when deploying with separate
stacks and data from the control plane stack needs to be injected into the
compute stack.

Change-Id: Id3e52e272bae67ee4036c81b3d7640255e0349ae
2019-02-08 10:29:04 -05:00
Zuul
3b2c7f9960 Merge "Create tripleo-admin user on the undercloud" 2019-02-05 17:18:41 +00:00
Zuul
43c2a8e8a6 Merge "Change NodeDataLookup type from string to json" 2019-02-05 16:48:29 +00:00
John Fulton
fe2fda491b Change NodeDataLookup type from string to json
The NodeDataLookup parameter should be valid JSON and we should
help the user by adding type checking for this early in the
deployment so that the user doesn't experience the related bug.

Change-Id: Id9d2208f1cbaba9234d7657420cd7efcad3507a0
Related-Bug: #1784967
Related-Bug: #1814070
2019-02-05 11:53:45 +00:00
Rabi Mishra
18f4e11773 Disable stack check and cancel update for undercloud
'overcloud update abort' command had been dropped since few
releases. However, users can still use heat commands to cancel
an update which is not recommended.

Undercloud now uses heat convergence architecture and stack check
has not been migrated to convergence yet.

let's add heat policy to disable both on undercloud.

Change-Id: Ib5e2dab1e94810ac02e5d64859d2e84f749f3994
2019-02-05 10:50:32 +05:30
Zuul
b8a5dbe071 Merge "Add support for native TLS encryption on NBD for disk migration" 2019-02-01 10:05:52 +00:00
Zuul
2e55557806 Merge "flatten haproxy service configuration" 2019-01-31 17:28:27 +00:00
Steve Baker
0d106a261d Create tripleo-admin user on the undercloud
The resulting user home directory is mounted into the mistral-executor
container. A later change in tripleo-common will populate
.ssh/authorized_users with the generated private key so that
mistral-executor can manage the undercloud host via ansible localhost ssh.

Change-Id: I4c8ee04534636622581eb386c01790d6610e7f58
Partial-Bug: #1813832
Depends-On: Id89cc920e165c2103707609fd37639c3032cc8ea
2019-01-31 11:33:32 -05:00
David J Peacock
05d77c9ed5 flatten haproxy service configuration
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of haproxy services has been removed.

Change-Id: Id55ae44a7b1b5f08b40170f7406e14973fa93639
Related-Blueprint: services-yaml-flattening
2019-01-29 12:33:16 -05:00
Zuul
adff253fdd Merge "Remove external_network_bridge Neutron option" 2019-01-29 15:20:24 +00:00
Zuul
9c887d2340 Merge "Update parameters for cinder's Netapp backend" 2019-01-29 06:02:40 +00:00