d3fb3a5e9e74936baa47e8dd43b71efbc08bfe2a
1429 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Dmitriy Rabotyagov
|
d3fb3a5e9e |
Extend apparmor overrides for custom nova folder
In case arbitrary folder is being used for Nova, more folders needs to be allowed in apparmor. With that, we don't need to have any overrides by default, as they all are already present in default aa-helper profile. Change-Id: Ib7a03434dae9f838289fbb16bfeb6c640eeccfc2 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> |
||
|
Zuul
|
695fc40479 | Merge "[doc] Document post-copy enablement for Nova" | ||
|
Zuul
|
7810c8a4e8 | Merge "Do not add scheduler sections to computes" | ||
|
Zuul
|
e4d1a71870 | Merge "Define resource allocation and reservation only for computes" | ||
|
Zuul
|
790e87389f | Merge "Do not add libvirt and mdev sections for non-computes" | ||
|
Zuul
|
da63a9ac54 | Merge "Remove functional test environments from tox.ini" | ||
|
Dmitriy Rabotyagov
|
4036217f1f |
[doc] Document post-copy enablement for Nova
Change-Id: If975bbbcf318e24b194a77a4e0450768c79cf8cd Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> |
||
|
Dmitriy Rabotyagov
|
676fd9353b |
[doc] Add description on how to use huge pages
Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_mount/+/951891 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/951947 Change-Id: I85f622312612723a6960ba0e77520b4b8fa1be1a Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com> |
||
|
Zuul
|
6a4cd22abe | Merge "tox: Remove ineffective ignore_basepython_conflict and bump minimum version" | ||
|
Ivan Anfimov
|
12de509741 |
tox: Remove ineffective ignore_basepython_conflict and bump minimum version
Change-Id: Ie30910f99962a26ec066c79aaf01c37d45e0a52c Signed-off-by: Ivan Anfimov <lazekteam@gmail.com> |
||
|
Zuul
|
f03bfdb127 | Merge "Remove outdate file manual-test.rc" | ||
|
Ivan Anfimov
|
60740c05f3 |
Remove functional test environments from tox.ini
This removes tox evs which are dependent on a tests repo framework, which was deprecated. Change-Id: I57d54c60fad3b37b330196bf3cfd8767c42fcbdc Co-authored-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> Signed-off-by: Ivan Anfimov <lazekteam@gmail.com> |
||
|
Ivan Anfimov
|
b2096dfa3c |
Remove deprecated run_tests/vagrantfile
run_tests.sh was part of functional testing framwork which was deprecated. Vagrantfile while running integrated tests, does not contain any supported distro and effectively unmaintained. Change-Id: I8ff83305f432110708bc63f67bd69afcc74a1c10 Co-authored-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> Signed-off-by: Ivan Anfimov <lazekteam@gmail.com> |
||
|
Ivan Anfimov
|
34d96c589f |
Remove outdate file manual-test.rc
Change-Id: I6f1681b3329f4089671a0aed7b89558bd2159455 Signed-off-by: Ivan Anfimov <lazekteam@gmail.com> |
||
|
Dmitriy Rabotyagov
|
2f30f9f9ac |
Use mkisofs as config_drive prepare command
xorriso in EL10 no longer contains genisoimage to prepare config_drive image. mkisofs is already used by devstack on Fedora [1] and reported to work on SUSE 15 as well [1] https://opendev.org/openstack/devstack/src/branch/master/lib/nova#L535-L537 Change-Id: Ia36a5225aae501e7ffe556e54b459fe7f8fa97bd Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> |
||
|
Zuul
|
840087f608 | Merge "Allow to skip discovered mdevs" | ||
|
Zuul
|
72e0456cfa | Merge "Drop rootwrap.d creation" | ||
|
Zuul
|
db1225bf51 | Merge "libvirt: Drop support for Xen and UML" | ||
|
Dmitriy Rabotyagov
|
4906e4d641 |
Drop rootwrap.d creation
As rootwrap.d is now shipped by nova, we don't need to ensure that directory exists explicitly. Related-Bug: #2115295 Change-Id: If4aa8b289dc5664d36fd67991d481f49670a13f9 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> |
||
|
Dmitriy Chubinidze
|
30a74c07bf |
Drop os_nova "Copy nova rootwrap filter config" task
Drop the os_nova task "Copy nova rootwrap filter config", as it is a leftover from an earlier cleanup where rootwrap.d files were removed from the codebase. Change-Id: Ia5620952fb50c6cc6a3e47f18f67a1b1cd77992f Closes-Bug: #2115295 |
||
|
Dmitriy Rabotyagov
|
d92a72c612 |
Do not add scheduler sections to computes
For purpose of reducing deployed config to destination, we remove scheduler-related sections for non-scheduler hosts. Change-Id: I1c6dbc6570d14dc6165155c9d3dc3125a391d1b1 |
||
|
Dmitriy Rabotyagov
|
02437fb97e |
Define resource allocation and reservation only for computes
Allocation ratios as well as resource reservation should be defined per compute. Compute does report it's resources to placement and registers itself based on this data. Defining parameters also for scheduler can be confusing and misleading of how these params work. Same goes for used compute driver and some other compute-related options which are historically added and managed by the role. Change-Id: Iae5f5d3cf5853e3866d37e108ca4ea752858fbe4 |
||
|
Dmitriy Rabotyagov
|
eb06951374 |
Do not add libvirt and mdev sections for non-computes
Libvirt configuration should not be needed outside of the compute hosts, which shall reduce amount of parameters in nova.conf for scheduler/api. Change-Id: Ic74feafa0a9fa26ea8453cacf99cf6a53decf877 |
||
|
zhoulinhui
|
91166dc43a |
libvirt: Drop support for Xen and UML
nova already removed support for UML (User Mode Linux) and Xen. Change-Id: I8e9d6f2f0045b5b2a55aaba937f1bde22951b1e0 |
||
|
Dmitriy Rabotyagov
|
8968c235ec |
Allow to skip discovered mdevs
Currently there is no way to avoid auto-discovery of mdev devices. The only way to avoid them propagating to nova.conf is through the config override. Change-Id: Ie1c40a427599e610278262cfdb55fdcf017d4ede |
||
|
Jonathan Rosser
|
a9818d26c3 |
Switch from wsgi script to wsgi module
Change-Id: I75bdecd4a2452b56b19561432e0b77791f111c95 |
||
|
Ivan Anfimov
|
17497426f4 |
Remove tags from README
The tags framework has been discontinued for a long time. https://governance.openstack.org/tc/reference/tags/ https://governance.openstack.org/tc/resolutions/20211224-tags-framework-removal.html Change-Id: Iff34b4422de9d8a8983ddede15d90e65598219eb |
||
|
Dmitriy Rabotyagov
|
17d5b9bd2f |
Switch volume catalog_type to block-storage
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/942775 Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/942783 Change-Id: I833fb0018184a3ae24c4fea23c661b038cdc3f81 |
||
|
Vincent Legoll
|
ca89c07cd4 |
Fix ansible difference() filter use
The `difference()` filter inputs a list, and takes another list as
parameter, computes a set difference between the two, and returns
the resulting (unordered) list.
This is documented here:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/difference_filter.html
This filter was changed in:
|
||
|
Dmitriy Rabotyagov
|
11ff642fe6 |
Auto-fix usage of modules via FQCN
Since ansible-core 2.10 it is recommended to use modules via FQCN In order to align with recommendation, we perform migration by applying suggestions made by `ansible-lint --fix=fqcn` Change-Id: I335f0f1bcdb5e5564ce3f82f44eec7d8c6ab4e0e |
||
|
Dmitriy Rabotyagov
|
aa1503d8ce |
Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply auto-fixing of violations. In current patch we replace all kind of truthy variables with `true` or `false` values to align with recommendations along with alignment of used quotes. Change-Id: Ie1737a7f88d783e39492c704bb6805c89a199553 |
||
|
Jonathan Rosser
|
5cdbe69b50 |
Remove support for amqp1
Support is removed in oslo.messaging so we remove support in openstack-ansible roles. Change-Id: I13f77bb8b63b3cc3d198dcbf918a6708f7d9d80e |
||
|
Andrew Bonney
|
61be9e722d |
Change ordering of /etc/ operations to improve upgrades
This change matches an earlier modification to os_neutron Currently we symlink /etc/<service> to empty directory at pre-stage, and filling it with config only during post_install. This means, that policies and rootwrap filters are not working properly until playbook execution finish. Additionally, we replace sudoers file with new path in it, which makes current operations impossible for the service, since rootwrap can not gain sudo privileges. With this change we move symlinking and rootwrap steps to handlers, which means that we will do replace configs while service is stopped. During post_install we place all of the configs inside the venv, which is versioned at the moment. This way we minimise downtime of the service while performing upgrades Closes-Bug: #2056180 Change-Id: I9c8212408c21e09895ee5805011aecb40b689a13 |
||
|
Zuul
|
d106a515eb | Merge "Allow to apply custom configuration to Nova SSH config" | ||
|
Dmitriy Rabotyagov
|
5884318116 |
Allow to apply custom configuration to Nova SSH config
In case compute nodes using non-standard SSH port or some other hacky connection between each other, deployers might need to supply extra configuration inside it. community.general.ssh_config module was not used, as it requires extra `paramiko` module to be installed on each destination host. Change-Id: Ic79aa391e729adf61f5653dd3cf72fee1708e2f5 |
||
|
Dmitriy Rabotyagov
|
3d385e9d3f |
Ensure that first/last host detection is deterministic
With ansible-core 2.16 a breaking changes landed [1] to some filters making their result returned in arbitrary order. With that, we were relying on them to always return exactly same ordered lists. With that we need to ensure that we still have determenistic behaviour where this is important. [1] https://github.com/ansible/ansible/issues/82554 Change-Id: If26ec122b8defaa1dc1a44f8d6cb2510982cfdf7 |
||
|
Jonathan Rosser
|
3719d5bf8b |
Install architecture specific efi firmware for qemu
The qemu-efi package does not exist on Ubuntu Noble, so instead install the specific package for the host architecture. Change-Id: Id91cafc9c2f234bd5f18017a99f757f2bd751b35 |
||
|
Zuul
|
0d90186970 | Merge "Allow to supply multiline overrides to vendor_data" | ||
|
Dmitriy Rabotyagov
|
d40f5a4725 |
Disable heartbeat_in_pthread by default
The default value for heartbeat_in_pthread has been reverted in oslo.messaging to False [1] and backported back to Yoga. At the moment this setting brings intermittent issues during live migrations of instances and some other operations. So makes sense to align it with default value. [1] https://review.opendev.org/c/openstack/oslo.messaging/+/852251 Change-Id: I5601726095ff19620de2d87220efad191cf7cb6d |
||
|
Dmitriy Rabotyagov
|
1b6740f3f8 |
Allow to supply multiline overrides to vendor_data
According to the documentation, it is expected to have a multiline data inside vendor_data.json [1] [1] https://cloudinit.readthedocs.io/en/latest/reference/datasources/openstack.html#vendor-data Depends-On: https://review.opendev.org/c/openstack/ansible-config_template/+/924217 Closes-Bug: #2073171 Change-Id: Ifc1239e4ef768e94c44d8d07df7a0b93c73638f9 |
||
|
Dmitriy Rabotyagov
|
6d32065246 |
Update conditions for kernel statoverride
With update of ansible version having variables in conditions is not allowed anymore, which results in error like: `Conditional is marked as unsafe, and cannot be evaluated` Change-Id: I6e8e0ee1ffc2c154bac0f64f2e797281d7ba966f |
||
|
Zuul
|
4689ed7ebf | Merge "reno: Update master for unmaintained/zed" | ||
|
Dmitriy Rabotyagov
|
85bbd5f2c3 |
Define unique hostname for QManager
Due to the shortcoming of QManager implementation [1], in case of uWSGI usage on metal hosts, the flow ends up with having the same hostname/processname set, making services to fight over same file under SHM. In order to avoid this, we prepend the hostname with a service_name. We can not change processname instead, since it will lead to the fight between different processes of the same service. [1] https://bugs.launchpad.net/oslo.messaging/+bug/2065922 Change-Id: Ie8c68cad4a89e5fcc43dad53d895d093cb3fe671 |
||
|
Andrew Bonney
|
ae20d2d9fd |
Add tag to enable targeting of post-install config elements only
<service>-config tags are quite broad and have a long execution time. Where you only need to modify a service's '.conf' file and similar it is useful to have a quicker method to do so. Change-Id: Idf0a0a7033d8f6c4d6efebff456ea3f19ea81185 |
||
|
Dmitriy Rabotyagov
|
6a592e88d0 |
Implement variables to address oslo.messaging improvements
During last release cycle oslo.messaging has landed [1] series of extremely useful changes that are designed to implement modern messaging techniques for rabbitmq quorum queues. Since these changes are breaking and require queues being re-created, it makes total sense to align these with migration to quorum queues by default. Change-Id: Ia5069c9976d07ee3949e637d8eb76a06b380cdec |
||
| bb958e66c6 |
reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from unmaintained/zed. Change-Id: Ic2423331f637f6054cc9c138aa6ca48ab3c08d61 |
|||
|
Dmitriy Rabotyagov
|
97c408e19d |
Add variable to globally control notifications enablement
In order to be able to globally enable notification reporting for all services, without an need to have ceilometer deployed or bunch of overrides for each service, we add `oslomsg_notify_enabled` variable that aims to control behaviour of enabled notifications. Presence of ceilometer is still respected by default and being referenced. Potential usecase are various billing panels that do rely on notifications but do not require presence of Ceilometer. Change-Id: Ib5d4f174be922f9b6f5ece35128a604fddb58e59 |
||
|
Dmitriy Rabotyagov
|
82d439c3fb |
Add service policies defenition
In order to allow definition of policies per service, we need to add variables so service roles, that will be passed to openstack.osa.mq_setup. Currently this can be handled by leveraging group_vars and overriding `oslomsg_rpc_policies` as a whole, but it's not obvious and can be non-trivial for some groups which are co-locating multiple services or in case of metal deployments. Change-Id: I6a4989df2cd53cc50faae120e96aa4480268f42d |
||
|
Zuul
|
737da47464 | Merge "Include PKI role only once" | ||
|
Zuul
|
4943bab3fd | Merge "fix apparmor profile for non-standard nova home" |