124 Commits

Author SHA1 Message Date
Alex Schultz
8d1fc85744 Use ansible_facts instead
In order to ANSIBLE_INJECT_FACT_VARS=False we have to use ansible_facts
instead of ansible_* vars. This change switches our distribution and
hostname related items to use ansible_facts instead.

Change-Id: I49a2c42dcbb74671834f312798367f411c819813
Related-Bug: #1915761
2021-02-22 17:57:17 +00:00
ramishra
7f195ff9a8 Remove DefaultPasswords interface
This was mainly there as an legacy interface which was
for internal use. Now that we pull the passwords from
the existing environment and don't use it, we can drop
this.

Reduces a number of heat resources.

Change-Id: If83d0f3d72a229d737a45b2fd37507dc11a04649
2021-02-12 11:38:44 +05:30
Michele Baldessari
48d0e4d9b6 Notification drivers need to be a list
Convert the NotificationDriver to a comma_delimited_list.
This will still not break existing templates because passing
a string is still completely valid. This is done so that the hiera keys
will be passed down as lists.

The oslo::messaging::notifications::driver expects a list anyway so this
won't break things and will allow us to actually specify multiple
notification drivers correctly. The change that allowed
oslo::notifications to use both strings and lists is
If65946412b42e0919456ed92fdd8e3788ad67872 (Messaging notifications
should be set as a list)

Related-Bug: #1851629

Change-Id: I24c860cd3121e5c307233864818ca86967ff6d72
2020-12-18 11:26:15 +00:00
Zuul
0519978254 Merge "Remove Sahara support" 2020-11-06 03:12:06 +00:00
Rabi Mishra
d00943a58a Deprecate zaqar services
Already been disabled in undercloud and we don't intend
to support it on overcloud.

Also removes some zaqar specific parameters from undercloud.yaml
environment as it's already disabled.

Change-Id: I564f24e0760d09302cbc9a4be84e470bb31106be
2020-10-29 13:26:54 +00:00
Alan Bishop
80fcd33248 Deploy multipathd using tripleo_multipathd ansible role
The puppet and ansible tasks for deploying the Multipathd service have
been moved to a new tripleo_multipathd ansible role. THT uses that role
passing in parameter values via ansible variables.

Two new THT parameters are supported:
- MultipathdCustomConfigFile provides a way for the user to specify a
  custom multipath.conf file. This makes it easier for the user to
  manage custom settings that are unique to their deployment, such as
  vendor specific hardware tuning.
- MultipathdSkipKpartx provides a means for overriding multipathd's
  default behavior whereby it automatically creates disk partitions on
  multipath devices. Partitions should be managed by VM servers accessing
  the device, not by the overcloud host itself.

Depends-On: Icf9faff31d83f0ea77d00a59a53d6ad36b06da4f
Depends-On: I3478312b5117da5c2e819e47c99f574246e84838
Change-Id: I934a1ae5bc0d77fd39b25f5039635e5df6e9004f
2020-10-22 06:07:15 -07:00
Takashi Kajinami
4a7d56947a Remove Sahara support
Sahara support was deprecated during previous Ussuri cycle[1], so we
can remove it completely now.

[1] f1d9b15c85fd1ed2250d40cea8184a18f458234f
Change-Id: Id047221cb912c09984cc3bf864196a26fd36736f
2020-10-19 09:39:36 +09:00
Luke Short
cf7afced09 Use consistent naming for MistralRpcResponseTimeout
Before: MistralRPCResponseTimeout
After: MistralRpcResponseTimeout

Change-Id: I1fb16e6db72316dae7143e77c1508e7e091feb6a
Signed-off-by: Luke Short <ekultails@gmail.com>
2020-10-14 14:43:34 +00:00
Zuul
194c7509e0 Merge "Enforce internal api for token verification" 2020-10-13 20:12:15 +00:00
69ee0acbfe Remove mount for tripleo-validations from mistral containers
openstack-tripleo-validations datadir no longer exists
post movement to /usr/share/ansible with [1], remove
no longer needed bind mount from mistral containers.

[1] I62e36f4ab7a77b5120e014dc61168a1ccc9fc6e0

Closes-Bug: #1898931
Change-Id: If796b5eb81c9287141e04d24685b66e1cfe81964
2020-10-12 13:50:11 +05:30
Takashi Kajinami
37548ddb40 Enforce internal api for token verification
This change enforces the usage of internal api for token verification,
so that internal requests to keystone uses internal endpoint instead
of admin endpoint which is deployed on provisioning network by default.

Change-Id: I8b5ac36ff1da46844d18fa73f835175e52719a63
Closes-Bug: #1899266
2020-10-11 15:46:08 +09:00
Emilien Macchi
47ab368caf Deprecate Mistral services
Mistral services aren't used anymore on the Undercloud and we never saw
users on the Overcloud.
For simplification purpose, let's deprecate it so we can reduce our
number of containers and services in TripleO.

Change-Id: I422766fbdfa5d8728477d2b0d2b1d46a90f631ae
2020-10-09 13:21:01 -04:00
Zuul
55d1945c97 Merge "Disable notification from services by default" 2020-10-02 09:06:42 +00:00
Zuul
5540877689 Merge "Deprecate novajoin" 2020-10-01 18:14:49 +00:00
Ade Lee
bf910512c3 Deprecate novajoin
Deprecate the services related to novajoin.

Depends-On: https://review.opendev.org/#/c/753856/
Change-Id: I7803cccc4b4bf8c7cc201372ec91f9254cef7eb3
2020-09-30 01:23:38 -04:00
Takashi Kajinami
afc0b731e0 Disable notification from services by default
Currently we disable Telemetry services like Ceilometer by defaut,
which means that we don't have any consumers for notification messages.
So NotificationDriver should be set as noop by default so that we don't
have unconsumed messages in notification queues.

Change-Id: I1d05749c94bd58ad4badafa7d9755009cb4b64af
Closes-Bug: #1869355
2020-09-30 09:51:08 +09:00
rajinir
954dc4ccb7 [PowerFlex/VxFlex OS] Fix typos in templates
The PowerFlex and VxFlex OS templates have typos
This change fixes some of the issues

Change-Id: I2cee47498eb08f69d82dd4d3e6f03cb079c8f587
2020-09-21 13:59:54 -05:00
rajinir
7858b573e9 Deprecating VxFlex OS Cinder Config
Dell EMC VxFlex OS Cinder config is now
deprecated. Use the new resource
OS::TripleO::Services::CinderBackendDellEMCPowerFlex

Depends-On: https://review.opendev.org/#/c/743851/
Change-Id: I70ab03cc2680885165af4f1dd6089106319209a0
2020-08-10 10:42:31 -05:00
Jose Luis Franco Arza
8783ec9c45 Remove ffwd-upgrade leftovers from THT.
Now that the FFU process relies on the upgrade_tasks and deployment
tasts there is no need to keep the old fast_forward_upgrade_tasks.

This patch removes all the fast_forward_upgrade_tasks section from
the services, as well as from the common structures.

Change-Id: I39b8a846145fdc2fb3d0f6853df541c773ee455e
2020-07-23 15:33:25 +00:00
Zuul
6cc477d4e8 Merge "Deprecating Old ScaleIO Volume Config" 2020-06-11 00:18:17 +00:00
Emilien Macchi
4f198c32cb Remove some deprecated services
- Docker isn't supported anymore.
- Clients are now installed by Ansible, not Puppet
- Neutron SRIOV host isn't supported and operators should deploy with
  sriov_pf network object in nic configs.
- firewall is now managed by Ansible, not Puppet

Change-Id: I2b6068a719563a53bc255dcce72a92465e7df468
2020-06-04 09:16:04 -04:00
rajinir
5e4f319edc Deprecating Old ScaleIO Volume Config
New Dell EMC VxFlexOS Volume config is now
added. See https://review.opendev.org/#/c/728727/
Deprecating the old resource.

Change-Id: I65339e92d3ab1a7904ca0477666b32367295808d
2020-06-01 14:42:03 -05:00
Alex Schultz
a833432b16 Update loop_vars
We're currently throwing warnings about duplicated loop variables so we
should specific different variable names for these loops.

Change-Id: I359d6402a67f6ab4b810e294fdbf3ca02d140d6d
2020-05-18 15:13:18 -06:00
Alex Schultz
c071d14d32 Add retries to initial image fetch
Since we're fetching containers from a remote location, if there is any
sort of connectivity issues while deploying, we end up failing the
deploy. We should retries these calls to improve deployment reliability.

Change-Id: Ia67f46f418b05bdf3ad797aab496c9b430c47650
Closes-Bug: #1878615
2020-05-14 07:40:13 -06:00
Emilien Macchi
c712355e4b Deprecate Keepalived service
We don't deploy Keepalived in multi-node as our HA story is done with
Pacemaker. Therefore, we don't use VRRP protocol that Keepalived
provides to maintain the VIPs alive, so we don't really need this
service.

Instead, we can configure the VIPs on the br-ctlplane interface which
already handled the local_ip. Now it also handles the configuration of
public ip and admin ip.

Keepalived is now deprecated and will be removed in the next cycle.

blueprint replace-keepalived-undercloud
Change-Id: I3192be07cb6c19d5e26cb4cddbe68213e7e48937
2020-05-05 10:16:52 -04:00
Jose Luis Franco Arza
94bc023390 Add mode option when creating persistent directories.
Almost every single tripleo service creates a persistent directory. To
simplify the creation, a with_items structure was being used. In which
many times, the mode option was being set. However, that mode option
was not taken into account at the time of creating the file. As a
consequence, the directory was being created with its father directory
rights, instead of the ones being passed in the template.

Change-Id: I215db2bb79029c19ab8c62a7ae8d93cec50fb8dc
Closes-Bug: #1871231
2020-04-20 15:37:08 +02:00
Takashi Kajinami
f1d9b15c85 Deprecate Sahara support
Change-Id: I20445402dd7397a817566f8fa9ec244a41982351
2020-04-14 08:03:58 +09:00
Takashi Kajinami
fffdcf0f30 Use absolute name to include puppet classes
Current puppet modules uses only absolute name to include classes,
so replace relative name by absolute name in template files so that
template description can be consistent with puppet implementation.

Change-Id: I7a704d113289d61ed05f7a31d65caf2908a7994a
2020-04-11 08:13:23 +09:00
Alex Schultz
230844010a Switch to docker pull
If you don't have docker-py installed, this fails. We may not always
have it so let's just use docker pull for this deprecated service.

Change-Id: I481780993e959709caf3da59e6ae3f0b62d2d6a5
Related-Bug: #1870557
2020-04-06 09:37:13 -06:00
Alex Schultz
24fb2e3f5e Fetch containers early
Rather than wait until we run the container puppet process or paunch, we
should pull the containers after we setup the container engine. This
will allow us to fail early when containers aren't available and be able
to troubleshoot connectivity/auth issues seperately from configuration
problems.

Change-Id: I9cb011dd4bed35a55a586e97a4e7d653f8296595
2020-04-01 17:08:36 -06:00
Emilien Macchi
3e9b66877f Remove deprecated aide puppet service
This was moved to Ansible in Train, it can be removed.
The code doesn't exist anymore in puppet-tripleo so the service wasn't
working anyway.

Change-Id: Id69b710ebd992b5fb42552fed79b561f280ebed8
2020-02-18 17:22:44 +00:00
Emilien Macchi
548c6e3e9c Remove deprecated tuned-baremetal-puppet
The code doesn't exist anymore in puppet-tripleo, this YAML is useless.

Change-Id: Ia74ff816accca7717014d31fa4c6bd48dba3ec98
2020-02-18 17:22:40 +00:00
Emilien Macchi
64c11ac770 Remove deprecated time services
They were converted to Ansible in Train, we don't need them anymore.

Change-Id: Id6bf982014e3874dada9af25e224c125720a9221
2020-02-18 17:22:34 +00:00
Emilien Macchi
18a9d8240b Remove deprecated securetty
The service was moved to Ansible in Train, we don't need the Puppet
version anymore.

Change-Id: I0398a862cac893ac38fccd80643563821630878d
2020-02-18 17:22:30 +00:00
Emilien Macchi
80a8ec48b1 Remove deprecated kubernetes services
They were deprecated in Train and aren't used anywhere.
This also remove scenario006 which wasn't working anyway, and was
deploying the kubernetes service.

Change-Id: Id2ea4944c688039e28c4d16635bb4f2b0ed23154
2020-02-18 17:22:04 +00:00
Emilien Macchi
c717faf885 Remove deprecated kernel-baremetal-puppet
This was deprecated in Train, and has been converted to Ansible.

Change-Id: I4ce3436881508f155e72e6760253118555faaf7e
2020-02-11 20:53:07 -05:00
Kevin Carter
c0b1055b10
Use ansible to install client packages
This change deprecates the puppet process to install the openstack
service clients and transitions to the ansible role for installing
client packages.

Story: 2005984
Task: 34437

Change-Id: I3ba4eb6e3352e117450fc0130de3e547df93fe84
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-01-16 08:16:01 -06:00
Pradeep Kilambi
a309f03c18 Move the legacy telemetry environment template to correct location
The deployment directory is not the right place for environment
templates. Hences the relative paths end up as file not found.

Change-Id: Ia2961f22d5bf1afbe6f5c1dd7bf7eb762d4c6e53
2019-12-04 15:09:43 +00:00
Zuul
b0a75f1db0 Merge "Fix typo in parameter name" 2019-11-22 02:15:57 +00:00
Kevin Carter
22b85a063f Configure time using tripleo-ansible
The timezone and ptp heat templates have been converted to use
tripleo-ansible roles. This change preserves the old ptp puppet
interface by moving the template to the deprecated directory.

Story: 2006028
Task: 34657
Change-Id: I36c71508570c165982af557e2cb55b87880c3e8d
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-11-20 14:03:40 +00:00
Rajesh Tailor
cbf5395e7d Fix typo in parameter name
Fixed typo in parameter name from InotifyIntancesMax
to InotifyInstancesMax.

Change-Id: Ib70796f74579642ebc1946a39c3478084d8be44e
2019-11-20 14:21:12 +05:30
Zuul
fb0dbebf9b Merge "Convert firewall rules to use TripleO-Ansible" 2019-11-20 05:30:43 +00:00
Ryan McCabe
d74083a2ca Disable legacy telemetry by default
Disable the legacy telemetry services aodh, gnocchi,
ceilometer, and redis by default.

DocImpact
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>

Change-Id: I8200e76f254fe6dd76f28d0768373a211927cfc3
2019-11-19 08:09:57 -05:00
Kevin Carter
50367fbe35 Convert firewall rules to use TripleO-Ansible
This change converts our filewall deployment practice to use
the tripleo-ansible firewall role. This change creates a new
"firewall_rules" object which is queried using YAQL from the
"FirewallRules" resource.

A new parameter has been added allowing users to input
additional firewall rules as needed. The new parameter is
`ExtraFirewallRules` and will be merged on top of the YAQL
interface.

Depends-On: Ie5d0f51d7efccd112847d3f1edf5fd9cdb1edeed
Change-Id: I1be209a04f599d1d018e730c92f1fc8dd9bf884b
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-11-18 15:40:22 -06:00
Zuul
ea7c85f26b Merge "Remove EC2 api" 2019-10-30 13:54:19 +00:00
Martin Schuppert
7adb850fbc Remove EC2 api
EC2 api was deprecated with Ieb108a363cecafe3407d0dd505947c99bb24226c.
Lets remove it.

Change-Id: Ied22623e56d8a01649486b43a7c673470f75f13b
2019-10-23 15:24:39 +02:00
Zuul
5ffad3a3f0 Merge "Remove OpenDaylight templates and environments" 2019-10-23 04:22:42 +00:00
Zuul
814ca5ed32 Merge "Add SQLAlchemy-collectd support" 2019-10-21 19:38:56 +00:00
Zuul
7285ad7ff7 Merge "Less agressive cleanup of docker containers in post_upgrade_tasks" 2019-10-21 16:33:55 +00:00
Saravanan KR
9c3638b8a1 Remove OpenDaylight templates and environments
OpenDaylight deployment has been deprecated in Stein. In Train,
the tempaltes are removed.

Change-Id: I9711ef977d045f1dbcdc631fe2655294109031b8
2019-10-18 11:39:41 +05:30