Move Murano/Senlin/Sahara to Inactive state

Due to the TC decision these services are marked as Inactive for 2024.1
release, which means we need to remove roles for these services from
our releasing as well.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_senlin/+/916892
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_murano/+/916891
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_sahara/+/916890
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/918159
Change-Id: I8007204ad2ae892935e0aa10c3f28b6a8fe99be5
This commit is contained in:
Dmitriy Rabotyagov 2024-04-24 14:58:07 +02:00 committed by Dmitriy Rabotyagov
parent 8d46abfff5
commit 930f799141
20 changed files with 33 additions and 509 deletions

View File

@ -173,12 +173,6 @@
version: master
trackbranch: master
shallow_since: '2023-12-06'
- name: os_murano
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_murano
version: master
trackbranch: master
shallow_since: '2023-12-06'
- name: os_neutron
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_neutron
@ -209,18 +203,6 @@
version: master
trackbranch: master
shallow_since: '2023-12-06'
- name: os_sahara
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_sahara
version: master
trackbranch: master
shallow_since: '2023-12-06'
- name: os_senlin
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_senlin
version: master
trackbranch: master
shallow_since: '2023-12-06'
- name: os_swift
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_swift

View File

@ -162,8 +162,6 @@ OpenStack service roles
- :role_docs:`os_mistral <os_mistral>`
- :role_docs:`os_murano <os_murano>`
- :role_docs:`os_neutron <os_neutron>`
- :role_docs:`os_nova <os_nova>`
@ -174,10 +172,6 @@ OpenStack service roles
- :role_docs:`os_rally <os_rally>`
- :role_docs:`os_sahara <os_sahara>`
- :role_docs:`os_senlin <os_senlin>`
- :role_docs:`os_swift <os_swift>`
- :role_docs:`os_tacker <os_tacker>`

View File

@ -1,3 +0,0 @@
murano-infra_hosts:
aio1:
ip: 172.29.236.100

View File

@ -1,8 +0,0 @@
# The infra nodes that will be running the murano services
murano-infra_hosts:
infra1:
ip: 172.20.236.111
infra2:
ip: 172.20.236.112
infra3:
ip: 172.20.236.113

View File

@ -1,16 +0,0 @@
---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
sahara-infra_hosts:
aio1:
ip: 172.29.236.100

View File

@ -1,4 +0,0 @@
# The controller host that the senlin control plane will be run on
senlin-infra_hosts:
aio1:
ip: 172.29.236.100

View File

@ -1,8 +0,0 @@
# The infra nodes that will be running the senlin services
senlin-infra_hosts:
infra1:
ip: 172.20.236.111
infra2:
ip: 172.20.236.112
infra3:
ip: 172.20.236.113

View File

@ -1,38 +0,0 @@
---
# Copyright 2019, VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
component_skel:
murano_api:
belongs_to:
- murano_all
murano_engine:
belongs_to:
- murano_all
container_skel:
murano_container:
belongs_to:
- murano-infra_containers
contains:
- murano_api
- murano_engine
physical_skel:
murano-infra_containers:
belongs_to:
- all_containers
murano-infra_hosts:
belongs_to:
- hosts

View File

@ -1,36 +0,0 @@
---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
component_skel:
sahara_api:
belongs_to:
- sahara_all
sahara_engine:
belongs_to:
- sahara_all
container_skel:
sahara_container:
belongs_to:
- sahara-infra_containers
contains:
- sahara_api
- sahara_engine
physical_skel:
sahara-infra_containers:
belongs_to:
- all_containers
sahara-infra_hosts:
belongs_to:
- hosts

View File

@ -1,31 +0,0 @@
component_skel:
senlin_api:
belongs_to:
- senlin_all
senlin_engine:
belongs_to:
- senlin_all
senlin_conductor:
belongs_to:
- senlin_all
senlin_health_manager:
belongs_to:
- senlin_all
container_skel:
senlin_container:
belongs_to:
- senlin-infra_containers
contains:
- senlin_api
- senlin_engine
- senlin_conductor
- senlin_health_manager
physical_skel:
senlin-infra_containers:
belongs_to:
- all_containers
senlin-infra_hosts:
belongs_to:
- hosts

View File

@ -1,21 +0,0 @@
---
# Copyright 2023, Cleura AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
### HEAD as of 13.12.2023 ###
## Murano service
murano_git_repo: "{{ openstack_opendev_base_url }}/openstack/murano"
murano_git_install_branch: c898a310afbc27f12190446ef75d8b0bd12115eb
murano_git_track_branch: master

View File

@ -1,21 +0,0 @@
---
# Copyright 2023, Cleura AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
### HEAD as of 13.12.2023 ###
## Sahara service
sahara_git_repo: "{{ openstack_opendev_base_url }}/openstack/sahara"
sahara_git_install_branch: 0947762d5235654314dbac809b8cc837bd2f3409
sahara_git_track_branch: master

View File

@ -43,7 +43,6 @@ utility_devel_distro_packages: "{{ (ansible_facts['os_family'] == 'RedHat') | te
utility_distro_openstack_clients_packages:
- python3-keystoneclient
- python3-cinderclient
- python3-muranoclient
- python3-neutronclient
- python3-novaclient
- python3-openstackclient

View File

@ -168,12 +168,6 @@ mistral_notifier
[mistral_executor]
[mistral_notifier]
[murano_all:children]
murano_api
murano_engine
[murano_api]
[murano_engine]
[neutron_all:children]
ironic_neutron_agent
neutron_agent
@ -226,22 +220,6 @@ nova_scheduler
placement_api
[placement_api]
[sahara_all:children]
sahara_api
sahara_engine
[sahara_api]
[sahara_engine]
[senlin_all:children]
senlin_api
senlin_engine
senlin_conductor
senlin_health_manager
[senlin_api]
[senlin_engine]
[senlin_conductor]
[senlin_health_manager]
[swift_all:children]
swift_acc
swift_cont

View File

@ -1,86 +0,0 @@
---
# Copyright 2019, VEXXHOST, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Gather murano facts
hosts: murano_all
gather_facts: "{{ osa_gather_facts | default(True) }}"
tasks:
- name: Gather additional facts
include_tasks: "common-tasks/gather-hardware-facts.yml"
when: osa_gather_facts | default(True)
tags:
- always
- name: Configure haproxy services
import_playbook: openstack.osa.haproxy_service_config
vars:
service_group: murano_api
service_variable: "murano_haproxy_services"
when: groups[service_group] | length > 0
tags:
- haproxy-service-config
- name: Install murano components
hosts: murano_all
gather_facts: false
serial: "{{ murano_serial | default(['1','100%']) }}"
environment: "{{ deployment_environment_variables | default({}) }}"
user: root
vars_files:
- "defaults/{{ install_method }}_install.yml"
tags:
- murano
pre_tasks:
# In order to ensure that any container, software or
# config file changes which causes a container/service
# restart do not cause an unexpected outage, we drain
# the load balancer back end for this container.
- name: Disabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: murano-back
haproxy_state: disabled
when:
- "'murano_all' in group_names"
- "groups['murano_all'] | length > 1"
- name: Including container-setup tasks
include_role:
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
when: not is_metal
- name: Including unbound-clients tasks
include_tasks: common-tasks/unbound-clients.yml
when:
- hostvars['localhost']['resolvconf_enabled'] | bool
roles:
- role: "os_murano"
- role: "openstack.osa.system_crontab_coordination"
tags:
- crontab
post_tasks:
# Now that container changes are done, we can set
# the load balancer back end for this container
# to available again.
- name: Enabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: murano-back
haproxy_state: enabled
when:
- "'murano_all' in group_names"
- "groups['murano_all'] | length > 1"

View File

@ -1,80 +0,0 @@
---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Gather sahara facts
hosts: sahara_all
gather_facts: "{{ osa_gather_facts | default(True) }}"
tasks:
- name: Gather additional facts
include_tasks: "common-tasks/gather-hardware-facts.yml"
when: osa_gather_facts | default(True)
tags:
- always
- name: Configure haproxy services
import_playbook: openstack.osa.haproxy_service_config
vars:
service_group: sahara_api
service_variable: "sahara_haproxy_services"
when: groups[service_group] | length > 0
tags:
- haproxy-service-config
- name: Install sahara server
hosts: sahara_all
gather_facts: "{{ osa_gather_facts | default(True) }}"
serial: "{{ sahara_serial | default(['1','100%']) }}"
user: root
environment: "{{ deployment_environment_variables | default({}) }}"
vars_files:
- "defaults/{{ install_method }}_install.yml"
tags:
- sahara
pre_tasks:
# In order to ensure that any container, software or
# config file changes which causes a container/service
# restart do not cause an unexpected outage, we drain
# the load balancer back end for this container.
- name: Disabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: sahara_api-back
haproxy_state: disabled
when:
- "'sahara_api' in group_names"
- "groups['sahara_api'] | length > 1"
- name: Including container-setup tasks
include_role:
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
when: not is_metal
- name: Including unbound-clients tasks
include_tasks: common-tasks/unbound-clients.yml
when:
- hostvars['localhost']['resolvconf_enabled'] | bool
roles:
- role: "os_sahara"
post_tasks:
# Now that container changes are done, we can set
# the load balancer back end for this container
# to available again.
- name: Enabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: sahara_api-back
haproxy_state: enabled
when:
- "'sahara_api' in group_names"
- "groups['sahara_api'] | length > 1"

View File

@ -1,78 +0,0 @@
---
# Copyright 2020, City Network International AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Gather senlin facts
hosts: senlin_all
gather_facts: "{{ osa_gather_facts | default(True) }}"
tasks:
- name: Gather additional facts
include_tasks: "common-tasks/gather-hardware-facts.yml"
when: osa_gather_facts | default(True)
tags:
- always
- name: Configure haproxy services
import_playbook: openstack.osa.haproxy_service_config
vars:
service_group: senlin_api
service_variable: "senlin_haproxy_services"
when: groups[service_group] | length > 0
tags:
- haproxy-service-config
- name: Install senlin services
hosts: senlin_all
gather_facts: false
serial: "{{ senlin_serial | default(['1','100%']) }}"
user: root
environment: "{{ deployment_environment_variables | default({}) }}"
vars_files:
- "defaults/{{ install_method }}_install.yml"
tags:
- senlin
pre_tasks:
# In order to ensure that any container, software or
# config file changes which causes a container/service
# restart do not cause an unexpected outage, we drain
# the load balancer back end for this container.
- name: Disabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: senlin_api-back
haproxy_state: disabled
when:
- "'senlin_api' in group_names"
- "groups['senlin_api'] | length > 1"
- name: Including unbound-clients tasks
include_tasks: common-tasks/unbound-clients.yml
when:
- hostvars['localhost']['resolvconf_enabled'] | bool
roles:
- role: "os_senlin"
post_tasks:
# Now that container changes are done, we can set
# the load balancer back end for this container
# to available again.
- name: Enabling haproxy backends
include_tasks: common-tasks/haproxy-endpoint-manage.yml
vars:
haproxy_backend: senlin_api-back
haproxy_state: enabled
when:
- "'senlin_api' in group_names"
- "groups['senlin_api'] | length > 1"

View File

@ -73,12 +73,6 @@
- name: Importing os-trove-install playbook
import_playbook: os-trove-install.yml
- name: Importing os-sahara-install playbook
import_playbook: os-sahara-install.yml
- name: Importing os-senlin-install playbook
import_playbook: os-senlin-install.yml
- name: Importing os-octavia-install playbook
import_playbook: os-octavia-install.yml
@ -97,9 +91,6 @@
- name: Importing os-mistral-install playbook
import_playbook: os-mistral-install.yml
- name: Importing os-murano-install playbook
import_playbook: os-murano-install.yml
- name: Importing os-zun-install playbook
import_playbook: os-zun-install.yml

View File

@ -0,0 +1,33 @@
---
upgrade:
- |
Services, that were makred as Inactive (Murano, Senlin, Sahara) will not be
upgraded as they were not released for 2024.1 (Caracal).
In order to keep managing these services on older versions you will need to
do following actions:
* Create file /etc/openstack_deploy/user-role-requirements.yml with following content:
.. code-block:: yaml
- name: os_<service>
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_<service>
version: master
trackbranch: master
* Playbooks for managing services can be found inside role examples, ie: ``/etc/ansible/roles/os_<service>/examples/playbook.yml``
* Services will remain in your previously generated inventory until you explicitly remove them.
deprecations:
- |
Following roles are not going to be part of 2024.1 release due to services
being trafered to `Inactive state <https://governance.openstack.org/tc/reference/emerging-technology-and-inactive-projects.html#current-inactive-projects>`_:
- Murano
- Senlin
- Sahara
Playbooks for managing these services were also removed out of the tree
and can be found only under specific role `examples` folder.

View File

@ -316,13 +316,6 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase):
'mistral_engine',
'mistral_executor',
'mistral_notifier',
'murano-infra_all',
'murano-infra_containers',
'murano-infra_hosts',
'murano_all',
'murano_container',
'murano_api',
'murano_engine',
'mano_all',
'mano_containers',
'mano_hosts',
@ -440,22 +433,6 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase):
'repo-infra_all',
'repo_all',
'repo_container',
'sahara-infra_all',
'sahara-infra_containers',
'sahara-infra_hosts',
'sahara_all',
'sahara_api',
'sahara_container',
'sahara_engine',
'senlin-infra_all',
'senlin-infra_containers',
'senlin-infra_hosts',
'senlin_all',
'senlin_api',
'senlin_container',
'senlin_engine',
'senlin_conductor',
'senlin_health_manager',
'skyline',
'skyline_all',
'skyline_container',