2470 Commits

Author SHA1 Message Date
Zuul
99c3e515fb Merge "Stop using deprecated function mysql_password" 2020-05-13 15:13:02 +00:00
Damien Ciabrini
b382becab1 Stop using deprecated function mysql_password
Function mysql_password is deprecated and has been removed
in recent puppetlabs-mysql [1]. It has been replaced with
the equivalent, namespaced function mysql::password. Use it
instead.

[1] 5a70627674

Change-Id: I405a986f78f865d89b54dffea17e84d75c068ed7
Closes-Bug: #1878153
2020-05-12 22:59:11 +02:00
Zuul
d087fd6a94 Merge "Remove EC2 API" 2020-05-12 20:09:39 +00:00
rajinir
d9cae95f0a Powermax Config Fixes
Fixing the issues with Powermax config
and unit tests

Change-Id: Idf5c2f3a9f00833baee4299b8147427938a28df9
2020-05-11 10:45:56 -05:00
Zuul
ca3ce73676 Merge "Support for Dell EMC XtremIO Volume Config" 2020-05-09 05:36:28 +00:00
Zuul
1e3910a361 Merge "Deprecating Old Dell SC Volume Config" 2020-05-07 02:07:40 +00:00
Takashi Kajinami
1854f9a641 Remove EC2 API
... because support for EC2 API was alreday removed from
tripleo-heat-templates[1].

[1] 7adb850fbc6b4544a542111c930e9169e2051ba7

Change-Id: I16ddf16a39c5f7edd9a4ddf669d0993d9aaa676b
2020-05-06 22:10:12 +09:00
Zuul
978115bc8b Merge "Accept missing memcached_node_ips" 2020-05-06 10:08:45 +00:00
Zuul
15d84c3745 Merge "Do not set cache parameter for openidc" 2020-05-06 10:08:43 +00:00
Zuul
48ffe8d0a5 Merge "Rremove manifests for ceilometer-expirer" 2020-05-06 01:08:50 +00:00
rajinir
d9bdd746dc Support for Dell EMC XtremIO Volume Config
Added support for XtremIO volume config options.
Supports both iSCSI and FC drivers.
Supports deploying multiple instances of the
cinder::backend::dellemc_xtremio backend
(e.g. one iscsi + one fc, multiple iscsi, etc.).

Change-Id: I5a02b90530057f616fb84de5b04d04865693ce2f
2020-05-04 12:15:19 -05:00
Michele Baldessari
651e353445 Use http mode for nova_novncproxy
Haproxy warns us with the following:
stderr F [WARNING] 121/195330 (7) : parsing [/etc/haproxy/haproxy.cfg:116] : HTTP log/header format not usable with proxy 'nova_novncproxy' (needs 'mode http').
stderr F [WARNING] 121/195330 (7) : config : 'http-request' rules ignored for proxy 'nova_novncproxy' as they require HTTP mode.

Let's add mode http to avoid this which is used in most other services
anyways.

Change-Id: Ib3daf19ed7318a0a04349b62ea4c821e1d87e648
2020-05-03 17:43:07 +02:00
Takashi Kajinami
e2ea1206c8 Accept missing memcached_node_ips
Currently when Memcached is disabled in the deployment, puppet-tripleo
fails because some manifests expect that memcached_node_ips is defined
in hieradata.

This patch ensures that we define the default value ([]) for
memcached_node_ips, so that puppet-tripleo doesn't fail even if
the parameter doesn't appear in heradata.

Change-Id: I6d3e32f7f8f0751bdfbd0b6f2e79c5d85e1af284
2020-05-02 15:51:17 +00:00
Zuul
7693be73da Merge "Support for Dell EMC SC Volume Config" 2020-05-01 23:02:15 +00:00
Takashi Kajinami
b7ec567884 Do not set cache parameter for openidc
... because now the parameter is defined in tht.

Depends-on: https://review.opendev.org/#/c/724870/
Change-Id: I19dc7e041a3c5afff348e897150c61f1c0d70969
2020-05-02 00:24:45 +09:00
Emilien Macchi
25cf148373 Revert "Remove neutron wrappers"
This reverts commit afe7cecb598441abc0704c868643613428ef850a.

Change-Id: I961262422206c695de79a03de2be1e53defbc41c
2020-04-30 18:47:17 +00:00
Zuul
9e51bf6b9d Merge "CephRgw healthcheck aligned with ceph-ansible" 2020-04-30 18:07:53 +00:00
rajinir
bd15ac0a1f Support for Dell EMC SC Volume Config
Added support for SC volume config options.
Supports both iSCSI and FC drivers.
Supports deploying multiple instances of the
cinder::backend::dellemc_sc backend
(e.g. one iscsi + one fc, multiple iscsi, etc.).

Change-Id: I2f441a9df5bda4e1c646b3259d233f760fd3e742
2020-04-29 21:47:51 -05:00
Zuul
b71d9cb8c4 Merge "Remove fluentd manifests" 2020-04-29 10:20:10 +00:00
Takashi Kajinami
dbbb2c9b13 Rremove manifests for ceilometer-expirer
ceilometer-expirer was alreday removed from ceilometer[1], and it is
no longer used in TripleO deployment.

[1] 9323f07f977f320882f8b536c3b54835274826fc

Change-Id: I9b4a2b38de393d050c95060cc9145efad904deca
2020-04-28 23:55:04 +09:00
Francesco Pantano
d4d03ad098
CephRgw healthcheck aligned with ceph-ansible
ceph-ansible specifies GET in the healthcheck
option and this patch just aligns the haproxy
rgw section to the ceph-ansible specs.

Change-Id: I2de78f17ebb5ff50566c4f53f3377322018525d1
2020-04-28 10:06:46 +02:00
Zuul
3760847eff Merge "Replace deprecated nova::::metadata::novajoin::api::service_password" 2020-04-28 01:45:45 +00:00
Zuul
698a164711 Merge "Remove unnecessory usage of hiera" 2020-04-27 22:42:40 +00:00
Zuul
01412c1428 Merge "Remove plumgrid support" 2020-04-27 22:19:07 +00:00
rajinir
8e074fd166 Deprecating Old Dell SC Volume Config
A new Dell SC volume config which supports both iSCSI and FC drivers
is added. Deprecating the old Dell SC config
See review https://review.opendev.org/#/c/722538/

Change-Id: I3402f71fde956ede80da0840780ad4bd227103c7
2020-04-24 15:05:17 -05:00
Takashi Kajinami
cb5d5d09c4 Replace deprecated nova::::metadata::novajoin::api::service_password
Depends-on: https://review.opendev.org/#/c/720891/
Change-Id: I50489c5e512f2b69adf2a1c09d58dc05444c083b
2020-04-23 21:23:15 +09:00
Takashi Kajinami
5f77bc71ac Remove unnecessory usage of hiera
We don't need to use hiera if the parameter is actually implemented
in the class.

Change-Id: Ia916707eaecb7a6d48f992ff2112fe8507544ee1
2020-04-21 23:30:39 +09:00
Takashi Kajinami
e3a56f6af2 Remove support for Sensu/Uchiwa
... because it was relady removed from tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/684614/
Change-Id: I38b2f325477540e86fe98ed075ac75a0988eeec3
2020-04-21 10:54:59 +09:00
Takashi Kajinami
6c39dd7e69 Remove plumgrid support
... because it is not more supported by tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/686847/
Change-Id: I131e9d12f2fe4471f86774e552a30bd0927a4355
2020-04-21 09:19:41 +09:00
Takashi Kajinami
2527249caf Remove fluentd manifests
We don't need these implementations anymore because fluentd support was
already removed from tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/668851/
Change-Id: If8bca34b9893fc49f598e8c86cd45bc55848363f
2020-04-21 09:04:39 +09:00
Takashi Kajinami
a00d93e1ba Remove Panko support
... because Panko support has already been removed from
tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/680493/
Change-Id: I3ef5c1433691dd31b619e0fdbd5ec433a181ec03
2020-04-20 11:17:55 +09:00
Zuul
e240091435 Merge "Remove remaining implementation for TripleO UI" 2020-04-18 07:54:34 +00:00
Zuul
0f8c0a5950 Merge "Hardcode openidc_cache_type parameter for keystone federation with OpenIdc" 2020-04-18 04:59:49 +00:00
Zuul
0b8a3ec980 Merge "Do not manage pv/vg for cinder iscsi backend" 2020-04-18 04:48:06 +00:00
Zuul
897cae98d2 Merge "Remove OpenDaylight support" 2020-04-18 04:48:03 +00:00
Alexey Stupnikov
da9b1a3ecb Hardcode openidc_cache_type parameter for keystone federation with OpenIdc
By default OpenIdc uses shared memory caching mode, which will
not work for multiple controller nodes. puppet-tripleo already
configured to calculate memcached servers for OpenIdc, but for
some reason doesn't set "openidc_cache_type" to "memcache", so
shm is used.

There are a number of options available for "openidc_cache_type",
but memcache is the only one that will currently work for multiple
controllers:

- shm and file are stored locally on every node;
- redis requires mod_auth_openidc to be compiled with redis
  support, but it is not generally the case.

To avoid providing illusion of freedom of choice, it would
be right to hardcode this in puppet-tripleo.

Closes-Bug: #1873239
rhbz: #1824506

Change-Id: I7cbc462b2ff99b7b0d3ff58fda1b52ccf85fc86d
2020-04-16 12:26:42 +02:00
Michele Baldessari
06c4aa7446 Log stdout of HA containers
When podman dropped the journald log-driver we rushed to move to the supported
k8s-file driver. This had the side effect of us losing the stdout logs of the
HA containers.

In fact previously we were easily able to troubleshoot haproxy startup failures
just by looking in the journal. These days instead if haproxy fails to start we
have no traces whatsoever in the logs, because when a container fails it gets
stopped by pacemaker (and consequently removed) and no logs on the system are
available any longer.

Tested as follows:
1) Redeploy a previously deployed overcloud that did not have the patch
and observe that we now log the startup of HA bundles in /var/log/containers/stdouts/*bundle.log

[root@controller-0 stdouts]# ls -l *bundle.log |grep -v -e init -e restart
-rw-------. 1 root root   16032 Apr 14 14:13 openstack-cinder-volume.log
-rw-------. 1 root root   19515 Apr 14 14:00 haproxy-bundle.log
-rw-------. 1 root root   10509 Apr 14 14:03 ovn-dbs-bundle.log
-rw-------. 1 root root    6451 Apr 14 14:00 redis-bundle.log

2) Deploy a composable HA overcloud from scratch with the patch above
and observe that we obtain the stdout on disk.

Note that most HA containers log to their usual on-host files just
fine, we are mainly missing haproxy logs and/or the kolla startup only
of the HA containers.

Closes-Bug: #1872734

Change-Id: I4270b398366e90206adffe32f812632b50df615b
2020-04-15 20:10:03 +00:00
Takashi Kajinami
b7cb8896ee Do not manage pv/vg for cinder iscsi backend
They are currently created within tripleo-heat-teampltes, so there are
no reasons why we should create it by puppet.

Change-Id: Icd8730aa4d47bb1059321014d5e8b2c5c323976a
2020-04-15 14:51:41 +00:00
Takashi Kajinami
474d20438a Remove OpenDaylight support
... because OpenDaylight tempmates and environemtns were alredy removed
in tripleo-heat-teampltes[1].

[1] 9c3638b8a13ea08a1bab95c9cd6ab335b729b6b3

Change-Id: I0204b6985de71441e0f63f21cfda24d55fd340e5
2020-04-14 22:42:44 +09:00
Takashi Kajinami
53e7252db4 Remove remaining implementation for TripleO UI
TripleO UI was alreday retired, so cleanup all implementation for it.

Change-Id: I821e09c36ef9e2ba652f871eda3dd780822dd895
2020-04-11 09:09:57 +09:00
Zuul
e27d092742 Merge "Add Octavia OVN Provider configuration (2 of 2)" 2020-04-10 15:24:46 +00:00
Zuul
174c8cccd6 Merge "Remove manifests for Trove" 2020-04-10 15:24:43 +00:00
Zuul
64fdc5cda9 Merge "Remove the usage of cinder::ceilometer" 2020-04-10 07:45:57 +00:00
Takashi Kajinami
a05d328c18 Remove manifests for Trove
We don't support Trove in TripleO now, so these manifests can be
removed safely.

Change-Id: Ic668398c706d3a0eb834750453d1b42ce7ab9b16
2020-04-10 00:43:40 +09:00
Flavio Fernandes
a485965a23 Add Octavia OVN Provider configuration (2 of 2)
This is part 2 of 2, where ovn provider info located in
tripleo::profile::base::octavia::api will move
to newly created octavia::provider::ovn.
But that has to be split into 2 parts to avoid breaking the
CI until the THT+pupple-tripleo changes merges [1].

[1]: https://review.opendev.org/#/q/topic:bug/1861886+(status:open+OR+status:merged)

This patch enhances Octavia's OVN driver config, so it can connect to
OVN_Northbound DB using TLS.

Depends-On: https://review.opendev.org/#/c/711333/
Depends-On: https://review.opendev.org/#/c/711557/
Depends-On: https://review.opendev.org/#/c/705728/
Depends-On: https://review.opendev.org/#/c/707695/

Closes-Bug: #1861886

Change-Id: If4a6f25015374883050c48b7705e8207906118f4
2020-04-09 09:41:51 -04:00
Alex Schultz
a566d6b9b8 Add check for bootstrap_node for downcase
Downcase in puppet 6.14 throws an error if the input to it is Undef. We
can avoid this by checking for a value before trying to downcase.

See context https://review.rdoproject.org/r/#/c/26297/

Change-Id: Ib2e97060523a4198a14949a15c9171b56928699c
2020-04-07 14:51:41 -06:00
Zuul
93c1e91e22 Merge "Autonatically set memcache_servers for keystone cache" 2020-04-07 14:59:54 +00:00
Zuul
f4e4ad1fb7 Merge "Define nova::cache parameters in tht" 2020-04-07 02:30:44 +00:00
Takashi Kajinami
5e48ea5d10 Remove the usage of cinder::ceilometer
... because all parameters in cinder::ceilometer are now implemented
under cinder class.

Depends-on: https://review.opendev.org/#/c/717413/
Change-Id: Id3425badc492ea07e34b99629dec771cf483cb5d
2020-04-06 09:36:02 +09:00
Takashi Kajinami
c570d18f93 Autonatically set memcache_servers for keystone cache
... so that operators can enable keystone caching with memcache
easilty.

Change-Id: Ie1ff8e774e3a2115ca7b19a2183c43d3c15849d6
2020-04-04 09:49:51 +09:00