Introduce NovaLibvirtRxQueueSize and NovaLibvirtTxQueueSize to set
virtio-net queue sizes as a role parameter.
Change-Id: I7f252b38d4358fc815d98c522ca59a6adfd69a88
This doesn't work with config download anymore, since the software
configs are overwritten. It was never a very useful output anyway, so
it's being removed.
Change-Id: I2c4fc26009fb6e031c6d7fe11401e85c995bd210
Closes-Bug: #1786954
It is not necessary to exclude specific Ceph packages when running
yum update in Rocky so this change removes the --exclude argument.
Note that it also removes update_cache which is not supported by
the 'package' module.
Change-Id: I8465f16415e69b1932726cdc1644a53370364708
Do not upgrade the Ceph packages when tripleo-packages runs. This
avoids that packages on baremetal are upgraded to the Luminous
level while the cluster is still running at the Jewel level during
FFU process.
Partial-Bug: #1785279
Change-Id: Ie17daa98109b0d51e2258bd6d360d6b2f0e1b0ae
* By default in mistral api config allow_action_execution_deletion
it is false by default. In order to run mistral tempest tests
we need to enable it.
Change-Id: Iff052cd47ab34c6d3231cb024e17df56abd4b443
Change I92ee0f9a2107cdf1ca5903d3756a235a79c36c73 implemented a
conditional for ControlPlaneSubnetCidr to be resolved using get_attr
and a str_split. DeployedServer documentation specifies that this
value should be provided to DeployedServerPortMap as a numeric value
(ie; 24) rather than full cidr (ie; 192.168.24.0/24), which causes the
str_split to fail.
This change provides support for both via a yaql expression, and adds
a deprecation note to switch to the full cidr format.
Change-Id: I6d4422b4f1aa52aee2954eb447008d3d24fe8736
This makes the docker-registry service focused on installing the
registry, as it should be. Also this makes it possible to invoke this
service during overcloud deploy too.
This change also switches to calling the tripleo-common script
tripleo-container-image-prepare instead of the full openstack command.
This will allow a mistral image to do a prepare without depending on
the python-tripleoclient package.
The {{role}}Services and {{role}}Count are propagated to
tripleo-container-image-prepare so that images are filtered correctly.
sudo is used instead of become:true so that the tripleo-common mistral
sudoers pattern matches.
Depends-On: Ic1648e43f45bb7604d4c0f9abf247a475fb23707
Change-Id: Ibc16bed673de7b22cd8eef3f6fb0d45871083873
Blueprint: container-prepare-workflow
NovaResumeGuestsStateOnHostBoot (true/false) parameter which
configures whether or not to start again instances which were running at
the time of a compute reboot.
This will set the resume_guests_state_on_host_boot parameter in nova.conf
and configures and enables libvirt-guests with a dependency to the
docker service to shutdown instances before the libvirt container gets
stopped.
NovaResumeGuestsShutdownTimeout specifies the number in seconds for an
instance to allow to shutdown.
Change-Id: I946600ebbc3afd88385ca89015e8f6a6c46f46ef
Closes-Bug: 1778216
Depends-On: I2766cdd66ff17756daaf1a75ad516a7af6eebddc
Depends-On: Id1cc2e75af316b864cebf601395f1111b7fb049a
Uses get_attr on the port resource to resolve attribute
value from neutron subnet 'host_routes' attribute and
pass it to the parameter '{{network.name}}InterfaceRoutes'
in network configuration templates.
A conditional is used in puppet/role.role.j2.yaml. The
user provided parameter value is used whenever it is
not the default: []. This allow advanced user's to
override the routes in neutron.
Co-Authored-By: Dan Sneddon <dsneddon@redhat.com>
Partial: blueprint tripleo-routed-networks-templates
Change-Id: Ie44b211c4aeab9ca79d7994f31961e34aa3517e6
This patch adds new parameter to configure the crontab in charge of
archiving the deleted rows in Nova database.
The defaults were hard coded but now our operators can override it.
New parameters:
NovaCronDBArchivedMinute
NovaCronDBArchivedHour
NovaCronDBArchivedMonthday
NovaCronDBArchivedMonth
NovaCronDBArchivedWeekday
Note: the default didn't change for backward compatibility.
Closes-Bug: #1783155
Change-Id: I786179e1604ccf192826b012992cc88dacdd2b87
The default used to be -1 which translated to 'ha-mode: all'.
That means that every queue is mirrored on all controllers.
By setting this to zero we are moving to 'ha-mode: exactly' with
the number of queues to be set to CEIL(N/2):
$nr_ha_queues = CEIL(nr_of_rabbit_nodes/2)
set_policy='ha-all ^(?!amq\\.).* {\"ha-mode\":\"exactly\",\"ha-params\":${nr_ha_queues}}'
This way the queues will not be copied around all servers,
but just to a subset of them. This still provides the necessary
resilience in case of a controller crash, but is less demanding
in terms of performance (and likely triggers fewer bugs in rabbit)
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
Change-Id: If04a7bf24a5c94ec15726843a8a4d2504b656cb7
Expose configuration parameteres for NUMA
aware vswitches.
The related nova changes are done in change:
https://review.openstack.org/#/c/564440/
Depends-On: Ia8fd65a75bc732087128e9e32ba72b2491423898
Change-Id: I318ba9c262f64c0d416a017ed836ae0729acedb4
1. Spelling mismatch in ODL net mapping doesnot generate
its endpoitn clearly.
2. Rectified another small syntax correction for string
replace.
3. Delete upgrade flag and then set it to false. ODL
doesnot allow it to be set without deleting.
4. Other changes in accordance with ODL update process.
Change-Id: Ib549e29f50bbbb434183ac9423bcf776807ff1a4
Closes-Bug: 1779410
This change moves docker and docker-distribution installation from
step 1 to host_prep_tasks, then runs container prepare as
external_deploy_tasks.
Container image prepare needs to run before any steps which require
container images, and it always needs to run on the undercloud because
it only ever populates the undercloud registry. Docker needs to be
installed in host_prep_tasks, since it is just before
external_deploy_tasks step 1.
The aim is to move these prepare tasks into their own service file so
they can be run during undercloud install and overcloud deploy, as an
alternative to having a dedicated mistral action for the overcloud
prepare.
Change-Id: I2c82b6829e574424067130d1a369ff30030fb4bc
Blueprint: container-prepare-workflow
Add 'neutron::plugins::ml2::physical_network_mtus' as a
NeutronML2PhysicalNetworkMtus in heat template to allow
set MTU in ml2 plugin
Change-Id: I2f9666a5422a1272d53c869e4dad8581ab605b37
Closes-Bug: 1782123
Problem: RHEL and CentOS8 will deprecate the usage of Yum.
From DNF release note:
DNF is the next upcoming major version of yum, a package
manager for RPM-based Linux distributions.
It roughly maintains CLI compatibility with YUM and defines a strict API for
extensions.
Solution: Use "package" Ansible module instead of "yum".
"package" module is smarter when it comes to detect with package manager
runs on the system. The goal of this patch is to support both yum/dnf
(dnf will be the default in rhel/centos 8) from a single ansible module.
Change-Id: I8e67d6f053e8790fdd0eb52a42035dca3051999e
By settings these hiera keys we will actually do a deep comparison
of all pacemaker resources and update them accordingly.
This means that rerunning a deploy against an existing overcloud
will actually detect if a pacemaker resource needs updating and
will update the definition and restart of said resource. The code
will wait for the resource to be up (aka the cluster to settle
after an update).
Depends-On: I62d5662327333e17e1c32a029695b3d3a904ca10
Change-Id: I0b9ed429e6b1bd4a62b4462bf6312782f29b7d6b
Using str_replace when looking up hostnames in
HostnameMap may return unpredictable results.
For example if the map contain:
HostnameMap:
overcloud-compute-12: cmp-12-london
overcloud-compute-123: cmp-123-berlin
When we do string replace for a hostname that is
not in the map (example: 'overcloud-compute-124')
it will match on the substring. The result would
be 'cmp-12-london4'.
This change replaces the str_replace with a yaql
expression that will return the value of they key
matching the hostname provided. If the key is not
in the map, the hostname is returned.
Closes-Bug: #1781560
Change-Id: Ia3a6a3539cd566131cd81b4d755190aa5b61a573