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
This commit is contained in:
Dmitriy Rabotyagov 2021-07-07 15:32:43 +03:00
parent 0de896859e
commit 3088fe2043
18 changed files with 15 additions and 143 deletions

View File

@ -168,11 +168,6 @@
src: https://opendev.org/openstack/openstack-ansible-os_octavia
version: master
trackbranch: master
- name: os_panko
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_panko
version: master
trackbranch: master
- name: os_placement
scm: git
src: https://opendev.org/openstack/openstack-ansible-os_placement

View File

@ -162,8 +162,6 @@ OpenStack service roles
- :role_docs:`os_octavia`
- :role_docs:`os_panko`
- :role_docs:`os_rally`
- :role_docs:`os_sahara`

View File

@ -256,14 +256,6 @@
<td></td>
<td></td>
</tr>
<tr class="warning">
<td>os_panko</td>
<td>Rocky</td>
<td>Incubated</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr >
<td>os_rally</td>
<td>Newton</td>
@ -442,4 +434,9 @@
<td>os_watcher</td>
<td>Queens</td>
<td>Train</td>
</tr>
<tr >
<td>os_panko</td>
<td>Rocky</td>
<td>Xena</td>
</tr></table>

View File

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

View File

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

View File

@ -102,9 +102,6 @@ container_skel:
octavia_server_container:
properties:
is_metal: true
panko_container:
properties:
is_metal: true
placement_container:
properties:
is_metal: true

View File

@ -287,10 +287,6 @@ tacker_container_mysql_password:
## Ceph RadosGW Keystone password
radosgw_admin_password:
## panko passwords
panko_container_db_password:
panko_service_password:
## manila passwords
manila_container_mysql_password:
manila_oslomsg_rpc_password:

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:
panko_api:
belongs_to:
- panko_all
container_skel:
panko_container:
belongs_to:
- event-infra_containers
contains:
- panko_api
properties:
service_name: panko
physical_skel:
event-infra_containers:
belongs_to:
- all_containers
event-infra_hosts:
belongs_to:
- hosts

View File

@ -425,18 +425,10 @@ haproxy_ovn_ovsdb_service:
- tcpka
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
# TODO(noonedeadpunk): Remove that in Y release
haproxy_panko_api_service:
haproxy_service_name: panko_api
haproxy_backend_nodes: "{{ groups['panko_api'] | default([]) }}"
haproxy_ssl: "{{ haproxy_ssl }}"
haproxy_ssl_all_vips: "{{ haproxy_ssl_all_vips }}"
haproxy_port: 8777
haproxy_balance_type: http
haproxy_backend_options:
- "forwardfor"
- "httpchk GET / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
- "httplog"
haproxy_service_enabled: "{{ groups['panko_all'] is defined and groups['panko_all'] | length > 0 }}"
state: absent
haproxy_placement_service:
haproxy_service_name: placement

View File

@ -222,10 +222,6 @@ nova_scheduler
[octavia_all]
[panko_all:children]
panko_api
[panko_api]
[placement_all:children]
placement_api
[placement_api]

View File

@ -54,7 +54,6 @@ nova_install_method: distro
nova_bin: /usr/bin
octavia_install_method: distro
octavia_bin: /usr/bin
panko_install_method: distro
placement_install_method: distro
rally_install_method: distro
sahara_install_method: distro

View File

@ -278,12 +278,6 @@ octavia_git_install_branch: d10c9c2f9afacff8047a8005843483a07fe7472e # HEAD as o
octavia_git_track_branch: master
## Panko service
panko_git_repo: https://opendev.org/openstack/panko
panko_git_install_branch: ca45bbdca049c6544cd9ece0d564ae7f20a1cd78 # HEAD as of 30.06.2021
panko_git_track_branch: master
## Placement service
placement_git_repo: https://opendev.org/openstack/placement
placement_git_install_branch: f77a7f9928d1156450c48045c48597b2feec9cc1 # HEAD as of 30.06.2021

View File

@ -1,40 +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 panko facts
hosts: panko_all
gather_facts: "{{ osa_gather_facts | default(True) }}"
tags:
- always
- name: Install the panko components
hosts: panko_all
gather_facts: false
user: root
environment: "{{ deployment_environment_variables | default({}) }}"
vars_files:
- "defaults/repo_packages/openstack_services.yml"
- "defaults/{{ install_method }}_install.yml"
tags:
- panko
pre_tasks:
- name: Gather additional facts
include_tasks: "common-tasks/gather-hardware-facts.yml"
tags:
- always
- include_tasks: "common-tasks/os-{{ container_tech | default('lxc') }}-container-setup.yml"
when: not is_metal
roles:
- role: "os_panko"

View File

@ -29,7 +29,6 @@
- import_playbook: os-ceilometer-install.yml
- import_playbook: os-aodh-install.yml
- import_playbook: os-cloudkitty-install.yml
- import_playbook: os-panko-install.yml
- import_playbook: os-ironic-install.yml
- import_playbook: os-magnum-install.yml
- import_playbook: os-trove-install.yml

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
With the retirement of upstram Panko project, os_panko role has been
deprecated. Panko service API endpoint will be removed during upgrade.
If you want to preserve Panko API working, you should override
haproxy_panko_api_service.

View File

@ -45,7 +45,7 @@ bootstrap_host_scenarios_expanded: |-
{% set _ = scenario_list.extend(['heat']) %}
{% endif %}
{% if 'telemetry' in bootstrap_host_scenarios %}
{% set _ = scenario_list.extend(['aodh', 'ceilometer', 'gnocchi', 'panko']) %}
{% set _ = scenario_list.extend(['aodh', 'ceilometer', 'gnocchi']) %}
{% endif %}
{% if 'translations' in bootstrap_host_scenarios %}
{% set _ = scenario_list.extend(['designate', 'heat', 'magnum', 'sahara', 'swift', 'trove']) %}

View File

@ -223,9 +223,6 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase):
'etcd_container',
'etcd_containers',
'etcd_hosts',
'event-infra_all',
'event-infra_containers',
'event-infra_hosts',
'galera',
'galera_all',
'galera_container',
@ -349,9 +346,6 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase):
'octavia-health-manager',
'octavia-infra_containers',
'octavia-infra_all',
'panko_all',
'panko_api',
'panko_container',
'placement-infra_all',
'placement-infra_containers',
'placement-infra_hosts',

View File

@ -78,7 +78,6 @@
- name: openstack/openstack-ansible-os_neutron
- name: openstack/openstack-ansible-os_nova
- name: openstack/openstack-ansible-os_octavia
- name: openstack/openstack-ansible-os_panko
- name: openstack/openstack-ansible-os_placement
- name: openstack/openstack-ansible-os_rally
- name: openstack/openstack-ansible-os_sahara
@ -101,8 +100,6 @@
- name: openstack/ansible-role-pki
# OpenStack service repos - listed here to make cached repos available in CI
- name: openstack/requirements
# OpenStack service repos - listed here as the corresponding OSA role cannot do distro install
- name: openstack/panko
- job:
name: openstack-ansible-deploy-aio
@ -147,7 +144,6 @@
- name: openstack/openstack-ansible-os_neutron
- name: openstack/openstack-ansible-os_nova
- name: openstack/openstack-ansible-os_octavia
- name: openstack/openstack-ansible-os_panko
- name: openstack/openstack-ansible-os_placement
- name: openstack/openstack-ansible-os_rally
- name: openstack/openstack-ansible-os_sahara
@ -214,7 +210,6 @@
- name: openstack/trove
- name: openstack/trove-dashboard
- name: openstack/octavia
- name: openstack/panko
- name: openstack/placement
- name: openstack/tacker
- name: openstack/octavia-dashboard