Commit Graph

169 Commits

Author SHA1 Message Date
Zuul 506d3bae49 Merge "[Feature] Add skyline deployment capability" 2024-04-16 10:45:07 +00:00
James Denton 2c06a65a75 [Feature] Add skyline deployment capability
This change adds Skyline deployment options to OSA.

New files have been added / integrated into the normal deployment
process to support the use of skyline.

Co-Authored-By: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/912333
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/914439
Change-Id: Ia5c8c60fb152e3eb27e2719f6d7032ca62690601
2024-04-05 10:56:31 +00:00
Dmitriy Rabotyagov 959da8cd03 Fix inventory defenition for Cloudkitty
At the moment Cloudkitty is targeted at all LXC hosts along with containers
which is not needed nor intended.

Unfortunatelly there's no really good compatible fix exist, so action from operator is required to handle transition to new naming for
the service.

Change-Id: I9360495e3b3347568969e36e0e96bb1325efd59f
2024-03-22 10:57:51 +00:00
Dmitriy Rabotyagov 4245f268fb Deprecate OpenDaylight support
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/897421
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/897461
Change-Id: I40ae5f158a7658cb2a6fa3b99cc64468281e5ad0
2023-10-27 06:27:16 +00:00
Dmitriy Rabotyagov c8ecc9fa10 Add management_ip option for metal hosts
In cases when SSH and mgmt networks are different, it might be important
to have valid management_address that services are relying on when
listening on interfaces. At the moment for bare metal hosts
management_address will be equal to ansible_host which leads to
unpredictable behaviour under some scenarios. With management_ip we allow
to define another IP address that will be used as container/management
address for bare metal host, while `ip` will still represent
ansible_host.

Related-Bug: #2002645
Change-Id: I3152ae7985319e85b9ea520021f9eea6f5850341
2023-05-22 11:53:55 +02:00
Dmitriy Rabotyagov 86d1bdff55 Rename container_address to management_address
This patch aims to reduce confusion caused by a variable
`container_address` that's applicable for bare metal hosts. With that
it renames  `is_container_address` to `is_management_address`
to be aligned with the purpose of the variable, as `container` part
raised confusion.

Change-Id: I314224f3376cf91e05680b11d225fdaf81ec32ab
2023-05-22 09:57:17 +02:00
Dmitriy Rabotyagov fb34651cc2 Add is_nest property for container_skel
The main purpose of that patch is to allow creation of "virtual"
container_skel, that will not generate any containers in inventory,
but will contain all containers of corresponsive hosts. That might be
useful in usecases like AZs, or when deployer simply wants to create
custom groups and include all bare metal hosts along with all
containers on them to the same group. Such behaviour can be triggered
when empty belongs_to is provided for container_skel along with is_nest
property. Then container_skel item will contain host-containers and it's
children.

Change-Id: Ic5570bfe9f0f54d1ea1e067834c11e6c390a2686
2023-03-27 17:33:18 +02:00
Jonathan Rosser dc1f76c823 Remove support for calico ml2 driver.
The deployment of etcd as a service on the control plane is no
longer needed as calico was the only user of this.

The etcd-server role remains in our requirements as it is used
internally as part of the Zun playbook.

Change-Id: I2a158fd2b85ec0e637071ed4ef7c123a6583ecc0
2023-02-23 12:13:55 +01:00
Dmitriy Rabotyagov bb3a58604b Restore dynamic_inventory unit testing
It seems that we have dropped unit testing of our dynamic_inventory
some time ago. This patch aims to setup zuul tests using tox
and restore test functionality to make it passing with current codebase

Change-Id: I8ccee779fd629e8696ec2e12397b148b52cd0c73
2023-01-11 10:14:43 +00:00
Dmitriy Rabotyagov bc5428b21d Remove usage of rsyslog roles
We've switched all services to store logs to journald by default and
rsyslog roles are not used except really small amount of usecases that
also hardly valid as of today. With that we deprecate repos and remove
their usega to reduce maintenance load.

Change-Id: Iefd4143f83f4df44b917180000a1aa57161b2811
2022-10-19 15:10:59 +02:00
Zuul 2753702d53 Merge "Deprecate openstack_hostnames_ips" 2022-08-12 14:13:13 +00:00
Jonathan Rosser 8530ed089a Remove ironic_server from env.d
Nothing references this group, and it is empty in a deployment
running the ironic service

Change-Id: I66b0bd17ec8fb8404ddeef66c4f9b0f54b832b36
2022-08-04 16:03:14 +00:00
Dmitriy Rabotyagov 7ebd4a7914 Deprecate openstack_hostnames_ips
We never used that faile anywhere in the inventory generation process,
except saving mapping of hostnames to container_address.
At the same time we never stored extra IPs there and as of today we
can simplify workflow by simply dropping that file.

Change-Id: Id8c4f6512bc913b2480106dedfa2e457c4776ae7
2022-07-28 11:48:27 +02:00
James Denton 7a2be19d66 Implements framework for ironic_neutron_agent and Neutron 'baremetal' plugin
This patch implements the framework for the ironic_neutron_agent group
to be used with the 'baremetal' plugin for Neutron.

Change-Id: If89e56dc72f017bc57be8cede73d12bf8df572dd
2021-10-07 08:39:15 -05:00
Dmitriy Rabotyagov 3088fe2043 Deprecate os-panko role
Since upstream Panko project has retired, we deprecating role for it.

Since we might want to get some patches in for stable branches, we're
deprecating role instead of retiring it.

Change-Id: Iac98b8e09d1ee3f49c74800968e65a33547c6699
2021-07-22 20:09:51 +03:00
Dmitriy Rabotyagov 82d7c034a0 Split neutron server and neutron agent hosts
It is very common usecase when neutron-api is intended to run on
infra hosts (inside lxc containers), while neutron-agents are to run on
independent network nodes.

That was not possible by default, so env.d overrides has to be placed
to fix this behaviour. This patch brings option to do this natively
without extra override.

In the meanwhile it shouldn't break any existing depoyments as leaves
previous groups naming as is.

Change-Id: Ie9fa464561c81b503d6946a7afe4870b92790cee
2021-06-24 20:58:50 +03:00
Zuul beff242ad9 Merge "Integrate cloudkitty" 2021-04-22 17:15:50 +00:00
Jonathan Herlin 77068780b2 Integrate cloudkitty
Integrate the required bits to make Cloudkitty deploy without having
to hand-pick files from the os_cloudkitty repo

Change-Id: Id191e07eab2bef84dad30e55f59fd914b0358bfe
2021-04-22 08:40:21 +02:00
Jonathan Rosser 24b8ea0ba6 Remove support for nspawn containers.
Support for nspawn was previously deprecated, and is now removed.

Change-Id: I37811d66eedf7aa781d4365024b7181ba44081bc
2021-04-20 16:59:13 +03:00
Zuul a48a52aaef Merge "Added Openstack Adjutant role deployment" 2020-12-01 00:58:11 +00:00
Dmitriy Rabotyagov 9949f3fb4a Added Openstack Adjutant role deployment
This commit adds experimental deployment of Adjutant role.

Depends-On: https://review.opendev.org/756313
Change-Id: I7203536111eb2120fa74d639ad9fc7b783d3cca7
2020-11-30 11:29:27 +00:00
wu.shiming 469b7d66b3 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead

Change-Id: Ie36f12a4a6dd3c06b9ffd9bfb7bbb0106311820f
2020-11-23 05:24:25 +00:00
Zuul bb703453bb Merge "Deprecate os_congress role" 2020-10-18 19:48:36 +00:00
Dmitriy Rabotyagov 54a4b4e426 Remove glance_registry from inventory
Glance registry has been completely removed in ussuri,
so it's time to clean it up from the integrated
repo.

Change-Id: I9b7c5ebe93df9c9ba3a8be9a9acd590fbb18c5f7
2020-10-16 15:10:11 +00:00
Dmitriy Rabotyagov d1286267b9 Deprecate os_congress role
Change-Id: Iad0dff64ee47a1884e04bcadc6b08c98e2797122
2020-10-16 10:04:20 +00:00
Dmitriy Rabotyagov 3214d6fbc3 Added Openstack Senlin role deployment
This commit adds experimental deployment of Senlin role.

Change-Id: I1e116518ec437c1634ea9d40172e424c73da56d5
2020-09-09 21:00:48 +00:00
Dmitriy Rabotyagov 7632df34d4 Add corosync/pacemaker installation
Masakari hostmonitors require corosync cluster to be present for their
proper work. There's already a role for the deployment, so we can simply
make us of it and integrate with masakari playbook.

Needed-By: https://review.opendev.org/744673
Change-Id: I24fa44a6c3e8feeb8a7581663b53343b9c881145
2020-08-21 11:27:29 +00:00
Dmitriy Rabotyagov 6d8337b327 Remove nova_api_placement from inventory
Since placement is standalone since train, it time we removed
nova_api_placement group from inventory and playbooks

Change-Id: Ibfab5ce56b36b7b96f8e376aa7f228ad6643cabf
2020-08-17 18:05:08 +03:00
Andreas Jaeger 2860f1bda5 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Depends-On: https://review.opendev.org/722854
Change-Id: I190f32b2eea20024c71fc74bac7f5d011768473c
2020-04-29 06:20:40 +00:00
Dmitriy Rabotyagov b4665609e2 Add support to deploy zun
This patch adds zun to the integrated repo, so that deployers
were able to use it out of the box and we have integrated tests

Depends-On: https://review.opendev.org/692406
Change-Id: I7785964668679d3f97a36daa83043f6c10a3d7ac
2020-03-26 17:42:35 +02:00
Dmitriy Rabotyagov 1f50c8b538 Add ceph-mds and ceph-nfs setup
Allow deployers to install Ceph MDS and ganesha nfs service.
This will be used as a part of manila deployment in the future.

Change-Id: I468377030e9e6cde5ca43c7a12f8147720bc2c9c
2020-01-22 18:13:00 +02:00
Zuul 85f66467cd Merge "Update inventory group/user_secrets for inspector change in Ironic" 2019-11-28 17:11:30 +00:00
Cameron Loader 97d448f22d Update inventory group/user_secrets for inspector change in Ironic
This adds two new secrets for the new inspector configuratiion.

Change-Id: Iaed7027a6a8d5e158300c9d5aa21ec4c4f1ea81a
2019-11-14 11:18:55 -06:00
Guilherme Steinmüller 0ff6e1fb34 Add support to deploy murano
Needed-By: https://review.opendev.org/677830
Depends-On: https://review.opendev.org/682896
Change-Id: If40e2aa07af9ae3099aeb8f1c58388765d3ddd33
2019-10-23 18:54:35 +03:00
Mohammed Naser 42ed00dfcb powervm: drop un-used vars
The support has been removed from the role a while back, this just
removes the extra cruft

Change-Id: I8ee511820f82e1e4d4437af409dfbacd8bc372a2
2019-08-07 13:05:05 -04:00
Mohammed Naser b5f07e6719 lxd: remove support
The nova-lxd driver has been retired and therefore all lxd
jobs will be failing on the next bump, let's remove support
with this patch.

Change-Id: I73e425f441788f4d30509946965e6f3cae0ed8c6
2019-08-07 13:03:56 -04:00
Logan V d178cbccc8 Remove Neutron LBaaS v2 support
Change-Id: I102af360bdd246523517303ebdd34406c9f62fa1
2019-05-16 15:39:13 -05:00
Guilherme Steinmüller 8393ad3cbc Add support to deploy placement
Depends-On: I7600f1750538335c1348e7d042e6bf450910e12c
Depends-On: Id9bd94923e05b3911a9dfd4e10c43f4c0ab81b9b
Depends-On: I1ee165b06fe6c6a840784565a7a661b11bf9ebff
Depends-On: I4619d333187a0e96c1b60fe2f203df0838c12059
Change-Id: Iae04e60622d1ecde78676c105e35655541065d04
2019-05-08 20:25:25 +00:00
cloudnull de92efc0f9 Add the manila service to OSA
This change adds manila to our playbook lineup and will allow deployers
to use the shared filesystem as a service solution in their deployments.

Depends-On: I4d95bfc15d09b7b7c0b997d7eab91509b0c63885
Change-Id: I63ee785d3241d92ea94c07f89882000cae7a0ff6
Signed-off-by: cloudnull <kevin@cloudnull.com>
2019-03-29 14:42:13 +00:00
Jesse Pretorius 48266cefb5 Add panko to integrated build
In order to enable the testing of the complete telemetry
stack, we add panko to the integrated build.

Change-Id: Ica12e3c0a586609bf5a3e5b50905922932a0bbce
2019-03-29 16:34:28 +02:00
Dmitriy Rabotjagov 4f9e923ee6 Added Openstack Masakari role for the deployment
This commit adds experimental deployment of Masakari role.
It requires existing corosync/pacemaker cluster on compute nodes
for hostmonitors to operate correctly.
Corosync/pacemaker deployment stays out of OSA scope for now.

Depends-On: Ib33d7bc83f1428763f873e1155fd9e3eb4c937e4
Change-Id: Ie543885a52f013635b9f553982c3d6448e3cc3aa
2019-03-26 22:25:26 +02:00
Zuul af4ef51f1e Merge "Add qdrouterd role for rpc messaging backend deployment" 2019-03-12 11:40:00 +00:00
Andy Smith 35777b93ef Add qdrouterd role for rpc messaging backend deployment
This patch introduces the qdrouterd role for deployment as
a direct messaging bus for oslo.messaging rpc communications.
The qdrouterd is deployed as infrastructure in a manner similar
to the rabbitmq server.

This patch:
* Add to role requirements
* Add to inventory
* Add to playbooks
* Add experimental aio job

Change-Id: If9eed3d5848939eac005651336a1305433d96dbf
2019-03-11 11:52:34 -04:00
Guilherme Steinmüller 5b9b6d4b76 Add support to deploy mistral
In additin to adding mistral role we also
include os-mistral-install.yml to deploy
mistral to the appropriate hosts.

Change-Id: I9c93e82ec655459c45baf91ed6e6130f2735f61f
2019-03-09 21:54:32 +00:00
James Denton 8c8e21a5a3 Only enable OVN VIPs when ml2.ovn plugin is used
This patch updates the haproxy group_vars logic to only enable
OVN-related VIPs when the OVN ML2 plugin is used. It also removes
OVN bits from the inventory to be added as an env.d override
as needed.

Change-Id: Ied1e79965c340c1d4ca430a830199978782117d0
Depends-On: https://review.openstack.org/623515
2018-12-07 15:49:18 +00:00
James Denton 9ef46ba5ef Adds haproxy endpoints for networking-ovn support
This commit provides baseline changes to the openstack-ansible
playbooks to support Open Virtual Networking (OVN).

Change-Id: I0b513d68adc81dcca4b39417e41b2a385117cb18
Implements: networking-ovn support
Partial-Bug: #1782625
2018-11-26 15:55:19 +00:00
Taseer Ahmed df54583ca7 Integrate Blazar with OpenStack Ansible
Change-Id: I27874f755bcef493165877a24e284c493d99cb2a
2018-10-26 16:59:03 +02:00
Frank-ZhangXin d65906c486 Add aio host conf for barbican role
Adding this example conf file would guide user to set correct host
name in AIO case. An experimental test for barbican has been added
which uses the barbican tempest plugin.

Depends-On: https://review.openstack.org/596408
Depends-On: https://review.openstack.org/596541
Change-Id: I10a07d5e4b2b3fbf122a79f15e27a9ca34799221
2018-08-25 16:19:37 +00:00
Jesse Pretorius 41191f49d7 Remove the molteniron service from the integrated build
The molteniron service appears to be largely for testing purposes
and both the service and role have not had much activity for over
a year. As such, it is removed from OSA's integrated build.

Change-Id: I94b1be326935f7006027b4a437ff3b2b0a6f9a69
2018-07-31 19:42:36 +01:00
Zuul 22d5c7c834 Merge "Integrate Congress with OSA." 2018-03-21 14:16:56 +00:00