14654 Commits

Author SHA1 Message Date
Takashi Kajinami
20368af844 Fix the wrong parameter name to disable management of libvirt services
The parameter name is not manage_libvirt_service's' but
manage_libvirt_service. This parameter actually has no effect in
TripleO because the service resource and the exect resource are both
disabled but would help us reduce unnecessary resources.

Change-Id: I05128eb7ba04194247993e32a16280a135f4d18b
2021-12-08 19:55:15 +09:00
Zuul
b3e8e218f8 Merge "Introduce a new linter for yaml-validate, and correct issues" 2021-12-02 03:07:23 +00:00
Cédric Jeanneret
7a99ae23e3 Introduce a new linter for yaml-validate, and correct issues
This new linter ensures we don't have any trailing "/" in the container
volume definitions.

Those trailing "/" may create issues with the containers, for instance
for specific mounts such as "/dev"[1].

This patch also takes the opportunity to fix those trailing "/" for the
affected files, in order to start on a clean basis.

[1] https://launchpad.net/bugs/1950176

Change-Id: If951f9643d67574c1225301aab7c9e4b0d316b7f
Related-Bug: #1950176
2021-12-01 09:43:25 +01:00
Zuul
bf9417699f Merge "Ensure we bind-mount /dev instead of /dev/" 2021-11-30 19:33:37 +00:00
Zuul
8895b48a13 Merge "Sc001: Enable glance image import methods" 2021-11-30 15:57:54 +00:00
Zuul
211020d244 Merge "Add timestamps to nova/placement wait for scripts" 2021-11-30 00:28:28 +00:00
Cédric Jeanneret
1f868ba530 Ensure we bind-mount /dev instead of /dev/
With the move to crun instead of runc for the container engine, we seem
to hit a known issue that was corrected back in 2015[1] for runc. There
was then a regression, fixed with [2] a bit later.

There's a good chance crun has a partial fix only, matching only /dev
and not /dev/, leading to the change of /dev/ptmx from an actual node to
a symlink pointing to /dev/pts/ptmx.

Another fix might be ensuring we don't have any trailing "/" in the
volume paths passed to the tripleo-ansible/tripleo_container_manage
module/role.

[1] https://github.com/opencontainers/runc/pull/96
[2] https://github.com/opencontainers/runc/pull/742/files

Closes-Bug: #1950176

Change-Id: I094120f7f2f6bfcfc0cc5843aa1b23629cd90a23
2021-11-29 15:12:25 +01:00
Pranali Deore
579102e544 Sc001: Enable glance image import methods
Support of enabling image import methods was added in [1]
Enabling this parameter in sc001 to test this feature in CI

[1]: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/567667

Change-Id: Ifa588f0017bf6ecda6d5489308615d389ed0a84f
2021-11-29 12:33:44 +05:30
Zuul
04b9dd0af4 Merge "CoreServices list has to be flatten" 2021-11-25 13:50:05 +00:00
Zuul
b9454b4363 Merge "Update project personas policies in custom neutron policy" 2021-11-25 01:38:41 +00:00
David Vallee Delisle
e6f24185ba CoreServices list has to be flatten
Just like other lists this one needs to be flatten

Closes-Bug: #1947193
Change-Id: I1e46bdf73cbd4d5e6e5eb0abd61d5e54bec63e11
2021-11-24 15:50:43 -05:00
Zuul
85e65d2a24 Merge "Add IronicDefaultBootInterface parameter" 2021-11-24 10:25:32 +00:00
David Hill
0436025d87 Add IronicDefaultBootInterface parameter
Add IronicDefaultBootInterface parameter otherwise, some ironic
drivers will complain about missing default_boot_interface parameter.

Change-Id: Iebb572d0bfdc0e9146aa1f405023bcd1c1e3f9ed
2021-11-23 12:07:54 -05:00
Zuul
5b23246412 Merge "Run Swift replicators in single replica mode" 2021-11-23 13:22:36 +00:00
Zuul
f47c88b366 Merge "Allow Swift to configure secure RBAC options" 2021-11-23 13:11:55 +00:00
Zuul
7928537362 Merge "Allow configuring secure RBAC in glance" 2021-11-23 12:24:24 +00:00
Bogdan Dobrelya
dbf5d36fdf Add timestamps to nova/placement wait for scripts
Related-bug: #1951577

Change-Id: I5ca99f53540d27b3e7824d22910ddc69cae3c9d0
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2021-11-22 11:02:03 +01:00
Zuul
03010fad3f Merge "Fix convert_v1_net_data.py - ipv6 property" 2021-11-21 15:22:26 +00:00
Sandeep Yadav
969043befc Correct the multiple_nics_vlans_dvr.j2 file path
Correcting the typo in multiple_nics_vlans_dvr.j2 file path.

Change-Id: Id0d88930c6b5c57e24209406503dabe4cff7ad4f
2021-11-19 15:23:01 +05:30
Zuul
51a087700a Merge "Clean up update converge file" 2021-11-18 17:28:53 +00:00
Zuul
6e31b1579f Merge "task-core basic framework" 2021-11-18 17:28:49 +00:00
Zuul
f08234852d Merge "Deprecate ineffective MysqlIncreaseFileLimit" 2021-11-18 00:45:54 +00:00
Harald Jensås
531aecc4ba Fix convert_v1_net_data.py - ipv6 property
Ensure the ipv6 property is at the network level.
Previously the key would be converted in at the
subnet level, which is incorrect.

Closes-Bug: #1951308
Change-Id: Iab58ff31b4434785376ae3c553c0e7c89c6b7ff5
2021-11-17 21:41:00 +01:00
Zuul
913aa30d85 Merge "[Neutron] Add custom env file to set dns_domain_name" 2021-11-17 17:10:54 +00:00
Zuul
2643c90b10 Merge "Fix condition to add per subnet routes parameter" 2021-11-17 16:41:49 +00:00
Zuul
ff11ea788a Merge "[Pure Storage] Set default parameter for iscsi cidr" 2021-11-16 22:51:25 +00:00
Zuul
ad7d839edd Merge "Implement project personas in custom barbican policy file" 2021-11-16 18:36:39 +00:00
Martin Schuppert
0474999379 Fix condition to add per subnet routes parameter
Fix condition to add per subnet {{network.name}}Routes_{{subnet}}
parameter to the network-environments file.

Change-Id: I38b8b899716bfd8c50c419761963a423e45397ea
2021-11-16 13:22:30 +01:00
Slawek Kaplonski
ee846d21e9 [Neutron] Add custom env file to set dns_domain_name
To be able to run properly dns_domain_name related tests from the
neutron_tempest_plugin.api.test_ports module, Neutron has to have
configured non default dns_domain_name option.
This patch adds custom environment file which will set that config
option to "openstackgate.local" which is the same value like is configured
in all of the Neutron CI jobs by the Neutron Devstack plugin.

Related-Bug: #1950815
Change-Id: I4d803a7b43533debdf6063299878cf1b13c664e6
2021-11-16 11:11:39 +01:00
Simon Dodsley
0555ee4df2 [Pure Storage] Set default parameter for iscsi cidr
Change-Id: Ia118c6dcd4adca70ff640a5fe76a06b2113dbb35
2021-11-15 09:16:38 -05:00
Takashi Kajinami
368102b149 Deprecate ineffective MysqlIncreaseFileLimit
This parameter enables the systemd drop-in for mariadb.service but
the service has never used since all services were containerized.

Change-Id: I88e5f7c13861729c464a8ba88b5ca2c090597d93
2021-11-15 10:03:39 +00:00
Douglas Viroel
efc328c668 Make PingTestGatewayIPsMap a map of flatten lists
PingTestGatewayIPsMap elements may contain list of lists, causing failures
on roles that iterate over them. See [1] and #1950528 for more info.

[1] https://review.opendev.org/c/openstack/tripleo-ansible/+/817500

Closes-bug: #1950528
Change-Id: Idb70c822f01f808871a53689edfa2edf52e59e54
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2021-11-12 12:16:48 -03:00
Slawek Kaplonski
1f79df6dab Update project personas policies in custom neutron policy
Neutron networks which are confiugred as external (router:external=True)
are visible for all projects so that attribute "router:external" should
be also visible for all networks for all users.
This patch changes that policy to make it visible always.

Closes-Bug: #1950478
Change-Id: I6dd96183384c269f77acc3bf3e90e6f2b8bdc7c7
2021-11-12 13:42:25 +01:00
Zuul
65c005cf9a Merge "[ovn] Deleting ovn agents during scale down tasks" 2021-11-12 04:18:10 +00:00
Zuul
c6f26dbb85 Merge "[Pure Storage] Add new FlashArray Cinder driver params" 2021-11-12 04:18:03 +00:00
Zuul
f18d3b2ed6 Merge "Use a designate specific directory for the bind persistent storage" 2021-11-12 04:17:53 +00:00
Simon Dodsley
70720d21d7 [Pure Storage] Add new FlashArray Cinder driver params
Depends-On: I9ab50d6c0835ea69044249f1cbbbf10f9b6a2498
Change-Id: If135ab7bf06f4bc49db48b4248c472e77054249b
2021-11-11 11:30:19 -05:00
Zuul
e574ae06a7 Merge "Add note indicating only Controllers use network VIPs" 2021-11-11 05:31:26 +00:00
Zuul
ee9355823a Merge "Add rgw max attributes constraints" 2021-11-11 01:37:12 +00:00
Zuul
fb6dcbc792 Merge "Keystone: Remove unused container_puppet_tasks" 2021-11-10 21:07:36 +00:00
Francesco Pantano
632afe18c0
Add rgw max attributes constraints
When the swift /info endpoint is queried, Tempest fails checking the
following missing keys:

1. max_meta_count
2. max_meta_name_length
3. max_meta_value_length

Those keys are not present because the related rgw settings are missing,
and as per [1], nothing is generated if the rgw_max_* are not set.
This patch is a workaround, on the TripleO side, to provide the missing
keys to the cluster.

[1] https://github.com/ceph/ceph/blob/master/src/rgw/rgw_rest_swift.cc#L1883-L1900

Closes-Bug: #1950486
Change-Id: I0b199e47cce9dc72490110105f6a4ff94f90934d
2021-11-10 17:10:15 +01:00
Takashi Kajinami
925e2db462 Keystone: Remove unused container_puppet_tasks
This was introduced to manage keystone resources (users, projects and
so on) by puppet but now these resources are managed by ansible.

Change-Id: I9e76f21e41e2891f959cbf41b89cba07b2e67632
2021-11-10 01:01:37 +09:00
Zuul
544fbc0fba Merge "Change authentication method for Mellanox sdn controller" 2021-11-09 14:43:49 +00:00
Zuul
d6c1af4cf2 Merge "Fix logic related to CinderEtcdLocalConnect parameter" 2021-11-09 12:31:06 +00:00
Zuul
5baf546ee7 Merge "Clean up implementation to manage volume type by puppet" 2021-11-09 10:12:16 +00:00
Zuul
ca1f19eb47 Merge "Set default value of IronicDefaultBootMode to uefi" 2021-11-09 00:43:57 +00:00
Alan Bishop
8cb2fd898c Fix logic related to CinderEtcdLocalConnect parameter
I0ffb201c7c0a453a022cca45255afc7ab2c08046 simplified a number of
cinder's templates, but the logic related to CinderEtcdLocalConnect
was inadvertently inverted. This patch fixes the logic so that the
associated config data is generated when CinderEtcdLocalConnect is
True.

Change-Id: I01bdd04fd7643672b45415271be5c9c63ad498e2
2021-11-08 14:02:10 -08:00
Brent Eagles
7f04caaf46 Use a designate specific directory for the bind persistent storage
Give the designate bind instance it's own persistent storage path to
avoid collisions with non-tripleo-owned bind instances.

Change-Id: Id05b48c97d5d9f2cdeba5dfad67616bf97b7fcae
2021-11-08 16:11:23 -03:30
Brendan Shephard
0265f95721 Clean up update converge file
Update converge is no longer required with
ephemeral Heat. Removing the lifecycle file
accordingly.

Related: https://review.opendev.org/c/openstack/python-tripleoclient/+/810132
Change-Id: If73fd84052055b00683c357ab11e8c936d0c3472
2021-11-08 16:20:13 +00:00
Zuul
a402c7982f Merge "Add ping test for all networks gateway IPs" 2021-11-06 02:05:14 +00:00