13602 Commits

Author SHA1 Message Date
Zuul
26352bb459 Merge "Add missing KOLLA_CONFIG_STRATEGY for the aodh_api_cron container" 2021-04-06 22:32:33 +00:00
Zuul
b104f039af Merge "Use list_concat_unique instead of yaql" 2021-04-06 19:59:29 +00:00
Zuul
4749fef686 Merge "Introduce pre_deploy_step_tasks" 2021-04-06 18:58:21 +00:00
Takashi Kajinami
e163846971 Add missing KOLLA_CONFIG_STRATEGY for the aodh_api_cron container
... because kolla_start fails to start with the following error if
that environment parameter is not defined.

ERROR:__main__:InvalidConfig: KOLLA_CONFIG_STRATEGY is not set properly

Change-Id: I7cdf127b495c4d9f415a703fc8b7954a3f5b53fe
2021-04-06 23:51:36 +09:00
Michele Baldessari
35cb010cc8 Introduce pre_deploy_step_tasks
Let's introduce a new set of tasks that will be called after all the
groundwork to run containers has been run (so after podman's
host_prep_tasks, after the container_setup tasks but before any
deployment step or external deployment step).

Change-Id: If3c74703a684fbd5a815e073cc9da34e9ad672e8
2021-04-06 09:25:34 +02:00
Zuul
5ed1b12242 Merge "Enable fernet token cache by default" 2021-04-06 01:39:04 +00:00
Zuul
870dc4e519 Merge "[collectd] Fix CollectdAmqpSendQueueLimit references" 2021-04-06 00:43:10 +00:00
Zuul
b9563a0e4d Merge "Fix CephExternalMultiConfig using tripleo_ceph_client" 2021-04-05 21:56:33 +00:00
ramishra
ef240c1f62 Use list_concat_unique instead of yaql
These tasks are already filtered per service.

Change-Id: Ib868c110f8d32619762333e1dda3ddc2b007148a
2021-04-05 10:26:30 +05:30
Zuul
824ec8b5ad Merge "Simplify internal_tls_enabled conditions" 2021-04-03 13:20:28 +00:00
Zuul
76cb99a2a7 Merge "radosgw_frontend_port should be a number" 2021-04-01 19:34:39 +00:00
Zuul
ff30e18bb1 Merge "Simplify conditions in aodh service templates" 2021-04-01 19:34:29 +00:00
Zuul
cc6cdfa754 Merge "Simplify conditions in heat service templates" 2021-04-01 18:57:41 +00:00
Zuul
fdb5ac2a24 Merge "Use 'wallaby' heat_template_version" 2021-04-01 18:57:13 +00:00
Zuul
7d48e49301 Merge "Move overcloud common bootstrap tasks out of step1 deploy tasks" 2021-04-01 13:59:32 +00:00
Zuul
0dbcbd18ad Merge "Move tmpwatch from cron.daily to actual root crontab" 2021-03-31 16:09:27 +00:00
ramishra
dba59f9047 Simplify conditions in aodh service templates
Change-Id: I75678ee767871190a598a6e08c9222628ddd90ea
2021-03-31 17:35:15 +05:30
ramishra
4ee0f18947 Simplify conditions in heat service templates
This is part of a series of patches to reduce the
template complexity.

Change-Id: I685ec7d7c583c9f8d9f04b0f1027136ed042487c
2021-03-31 17:35:15 +05:30
ramishra
c9991c2e31 Use 'wallaby' heat_template_version
With I57047682cfa82ba6ca4affff54fab5216e9ba51c Heat has added
a new template version for wallaby. This would allow us to use
2-argument variant of the ``if`` function that would allow for
 e.g. conditional definition of resource properties and help
cleanup templates. If only two arguments are passed to ``if``
function, the entire enclosing item is removed when the condition
is false.

Change-Id: I25f981b60c6a66b39919adc38c02a051b6c51269
2021-03-31 17:35:12 +05:30
Zuul
c1957574cf Merge "Remove neutron-l3-compute-dvr referenced nowhere" 2021-03-31 11:22:54 +00:00
Zuul
6edb6760f1 Merge "Provide ability to deploy metrics_qdr using ansible" 2021-03-31 09:54:02 +00:00
Francesco Pantano
d04e7b8ccf
radosgw_frontend_port should be a number
cephadm, when rgw is deployed via [1], requires that the frontend_port
in the spec dict is an int and not a string.
[2] shows a string is produced, and this patch just adds some logic at
tht level to manipulate the input, casting it to int.
The ansible option 'ANSIBLE_JINJA2_NATIVE=True' [3] is supposed to be
able to enable this feature at tripleo-ansible level, but it's a
constraint we wouldn't like to introduce.

[1] https://review.opendev.org/c/openstack/tripleo-ansible/+/783305
[2] https://github.com/openstack/tripleo-heat-templates/blob/master/network/endpoints/endpoint_map.yaml#L64
[3] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_JINJA2_NATIVE

Change-Id: I34f34bc3b263cf0df319ae6f175c7fc414528559
2021-03-31 11:31:55 +02:00
Zuul
91ae3c4ec6 Merge "Change all *Debug parameter types to boolean" 2021-03-31 08:59:54 +00:00
Cédric Jeanneret
1c7657b00b Move tmpwatch from cron.daily to actual root crontab
It appeary running the tmpwatch from the cron.daily location isn't
possible: the way cron/anacron is running things appears to break
SELinux context at some point, leading to SELinux denials caused by a
weird need for dac_override.

In order to NOT allow this dac_override (security hazard), and after
extensive testing, it seems it's better to push the job directly in
root's crontab.

Change-Id: Ib7e1d47fe7cffa2bd2ed1d72d94e4f380162f10a
Closes-Bug: #1922002
Resolves: rhbz#1944466
2021-03-31 08:37:35 +02:00
Zuul
0e97b71fdb Merge "Set vlan-limit value depending on vlan_transparent setting" 2021-03-31 00:25:32 +00:00
Zuul
80c8df022d Merge "Remove CrushRules coverage from scenario001" 2021-03-31 00:25:16 +00:00
Michele Baldessari
3e9df9576b Move overcloud common bootstrap tasks out of step1 deploy tasks
And move it into its own play called 'Overcloud container setup tasks'
This set of tasks covers creating kolla files and
container-startup-config files.

It makes more sense to split them out of the deployment steps as they
need to be run before any deployment step task and this makes it more
explicit.

This change is needed in order to support a new upcoming set of tasks
pre_deployment_setup_tasks that can spawn containers even before
any deployment tasks or external deployment task.

Change-Id: Idf004f7a13544dfc1a8a6da033debd1a4f8b96e7
2021-03-30 15:31:37 +02:00
ramishra
b4203a30eb Change all *Debug parameter types to boolean
This changes all these parameters as heat would correctly
parse all values. Also, drops all yaql shenanigans
used for their handling and heat conditions.

Also fixes wrong usage of non-existent NeutronWrapperDebug
parameter in ovn-metadata-container-puppet.yaml.

We had converted all ``Debug`` parameters to boolean with
Ib6c3969d4dd75d5fb2cc274266c060acff8d5571.

Change-Id: Ia2bffffde34aa248a4cc60c3895464f1f9d1ded2
2021-03-30 08:29:10 +05:30
Zuul
aa601a280f Merge "Designate: split bind instance into separate template" 2021-03-30 00:43:03 +00:00
Zuul
7399f85bc9 Merge "Remove duplicate keys from yaml files" 2021-03-29 21:22:47 +00:00
Francesco Pantano
e68ed6f7cc
Remove CrushRules coverage from scenario001
We see many issues in CI due to the missing hdd device class.
This is something that can be related to the fact that only
1 OSD in this job is built on top of a loop device.
For this reason, and in order to keep the CI healthy, it's
safe removing the device classes coverage.
In addition, since there is only 1 osd, add and configure
tiering in this context makes no sense.

Change-Id: I4638b9badd17a7a75642895623a63753534fd341
2021-03-29 21:45:36 +02:00
Zuul
47ccf1cfc7 Merge "Config parameters for timemaster service" 2021-03-29 17:03:32 +00:00
Zuul
1bb50929a4 Merge "Add artifact push interface to deployments" 2021-03-29 16:51:22 +00:00
Zuul
faf807a07d Merge "Correct spelling mistake" 2021-03-29 16:51:08 +00:00
Zuul
29f824b0b0 Merge "[OVN] Remove check for OVN + Availability Zones" 2021-03-29 16:05:40 +00:00
Zuul
bcd4ddeb71 Merge "Expose crush rule config parameter" 2021-03-29 15:39:13 +00:00
Zuul
a9361b28d4 Merge "Updating settings description" 2021-03-29 15:05:04 +00:00
Sorin Sbarnea
27788212cc Remove duplicate keys from yaml files
- removes duplicate keys from yaml files by assuming that the last
  one was the desired one (matches current loader behavior)
- prevent regressions by activating yaml lint rule that detects them
  (yaml skip was silencing all yaml checks, so the long list seen
  is in fact shorter than just 'yaml')
- includes sorting of some of the keys, was needed in order to spot
  the duplicates.

Change-Id: Idf5c0041a0c6d3ed7d5d49fb68be856719916663
2021-03-29 13:56:31 +00:00
Zuul
57842d13ae Merge "Fixed tox executions" 2021-03-29 12:29:19 +00:00
Zuul
14df5f0bff Merge "Add support for cinder-backup GCS and S3 backends" 2021-03-28 03:46:02 +00:00
Michele Baldessari
5e4c17acfb Simplify internal_tls_enabled conditions
We do not need to add an if: internal_tls_enabled in a number of
ansible tasks. enabled_internal_tls is already defined as an ansible
fact in common/deploy-steps.j2:
enable_internal_tls: {get_param: EnableInternalTLS}

So when the service uses the enable_internal_tls condition and it points
to the EnableInternalTLS param, we can just use the ansible fact
directly. Note that if the enable_internal_tls condition points to
something else than the mere EnableInternalTLS we may not do this
cleanup.

Change-Id: Idb07cbc8fc3a4d73ff52c54d869310fd6c49b502
2021-03-27 13:42:35 +01:00
Zuul
bb81090ef1 Merge "[collectd][ansible] Add THT to deploy collectd using ansible" 2021-03-27 08:49:17 +00:00
Zuul
32f1b3e7e1 Merge "HA: inject public certificates without blocking container" 2021-03-27 05:36:31 +00:00
Zuul
bceb6c42d9 Merge "Cavium/Liquidio is deprecated" 2021-03-27 05:25:39 +00:00
Zuul
15b1a2755b Merge "Remove or fix outdated/incorrect manila hieradata definitions" 2021-03-27 05:25:13 +00:00
Zuul
d52aa23ae9 Merge "Remove or fix outdated/incorrect swift hieradata definitions" 2021-03-27 05:24:54 +00:00
Zuul
12c4195803 Merge "Remove or fix outdated/incorrect ironic hieradata definitions" 2021-03-27 05:24:39 +00:00
Zuul
2f10cce757 Merge "Remove or fix outdated/incorrect ceilometer hieradata definitions" 2021-03-27 05:24:24 +00:00
Zuul
34076ab64b Merge "Remove or fix outdated/incorrect aodh hieradata definitions" 2021-03-27 05:24:16 +00:00
Zuul
6fb5fa97fd Merge "Remove or fix outdated/incorrect gnocchi hieradata definitions" 2021-03-27 05:15:19 +00:00