Remove rally deployment
Remove rally role as planned Change-Id: Ic898efe42b21b01c45d4621af2cf90ecd7afc398
This commit is contained in:
parent
db0cfea817
commit
3009109616
@ -64,7 +64,6 @@ Kolla Ansible deploys containers for the following OpenStack projects:
|
|||||||
- `Neutron <https://docs.openstack.org/neutron/latest/>`__
|
- `Neutron <https://docs.openstack.org/neutron/latest/>`__
|
||||||
- `Nova <https://docs.openstack.org/nova/latest/>`__
|
- `Nova <https://docs.openstack.org/nova/latest/>`__
|
||||||
- `Octavia <https://docs.openstack.org/octavia/latest/>`__
|
- `Octavia <https://docs.openstack.org/octavia/latest/>`__
|
||||||
- `Rally <https://docs.openstack.org/rally/latest/>`__
|
|
||||||
- `Sahara <https://docs.openstack.org/sahara/latest/>`__
|
- `Sahara <https://docs.openstack.org/sahara/latest/>`__
|
||||||
- `Senlin <https://docs.openstack.org/senlin/latest/>`__
|
- `Senlin <https://docs.openstack.org/senlin/latest/>`__
|
||||||
- `Solum <https://docs.openstack.org/solum/latest/>`__
|
- `Solum <https://docs.openstack.org/solum/latest/>`__
|
||||||
|
@ -674,7 +674,6 @@ enable_osprofiler: "no"
|
|||||||
enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
|
enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
|
||||||
enable_prometheus: "no"
|
enable_prometheus: "no"
|
||||||
enable_qdrouterd: "{{ 'yes' if om_rpc_transport == 'amqp' else 'no' }}"
|
enable_qdrouterd: "{{ 'yes' if om_rpc_transport == 'amqp' else 'no' }}"
|
||||||
enable_rally: "no"
|
|
||||||
enable_redis: "no"
|
enable_redis: "no"
|
||||||
enable_sahara: "no"
|
enable_sahara: "no"
|
||||||
enable_senlin: "no"
|
enable_senlin: "no"
|
||||||
|
@ -206,9 +206,6 @@ control
|
|||||||
[watcher:children]
|
[watcher:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
[rally:children]
|
|
||||||
control
|
|
||||||
|
|
||||||
[octavia:children]
|
[octavia:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
@ -224,9 +224,6 @@ control
|
|||||||
[watcher:children]
|
[watcher:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
[rally:children]
|
|
||||||
control
|
|
||||||
|
|
||||||
[octavia:children]
|
[octavia:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
@ -159,8 +159,6 @@ fluentd_input_openstack_services:
|
|||||||
enabled: "{{ enable_nova | bool }}"
|
enabled: "{{ enable_nova | bool }}"
|
||||||
- name: octavia
|
- name: octavia
|
||||||
enabled: "{{ enable_octavia | bool }}"
|
enabled: "{{ enable_octavia | bool }}"
|
||||||
- name: rally
|
|
||||||
enabled: "{{ enable_rally | bool }}"
|
|
||||||
- name: sahara
|
- name: sahara
|
||||||
enabled: "{{ enable_sahara | bool }}"
|
enabled: "{{ enable_sahara | bool }}"
|
||||||
- name: senlin
|
- name: senlin
|
||||||
|
@ -209,7 +209,6 @@
|
|||||||
- { name: "octavia", enabled: "{{ enable_octavia | bool }}" }
|
- { name: "octavia", enabled: "{{ enable_octavia | bool }}" }
|
||||||
- { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq | bool }}" }
|
- { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq | bool }}" }
|
||||||
- { name: "rabbitmq", enabled: "{{ enable_rabbitmq | bool }}" }
|
- { name: "rabbitmq", enabled: "{{ enable_rabbitmq | bool }}" }
|
||||||
- { name: "rally", enabled: "{{ enable_rally | bool }}" }
|
|
||||||
- { name: "sahara", enabled: "{{ enable_sahara | bool }}" }
|
- { name: "sahara", enabled: "{{ enable_sahara | bool }}" }
|
||||||
- { name: "senlin", enabled: "{{ enable_senlin | bool }}" }
|
- { name: "senlin", enabled: "{{ enable_senlin | bool }}" }
|
||||||
- { name: "skydive", enabled: "{{ enable_skydive | bool }}" }
|
- { name: "skydive", enabled: "{{ enable_skydive | bool }}" }
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
"/var/log/kolla/rally/*.log"
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
project_name: "rally"
|
|
||||||
|
|
||||||
rally_services:
|
|
||||||
rally:
|
|
||||||
container_name: "rally"
|
|
||||||
image: "{{ rally_image_full }}"
|
|
||||||
enabled: true
|
|
||||||
group: "rally"
|
|
||||||
volumes: "{{ rally_default_volumes + rally_extra_volumes }}"
|
|
||||||
dimensions: "{{ rally_dimensions }}"
|
|
||||||
|
|
||||||
|
|
||||||
########
|
|
||||||
# Docker
|
|
||||||
########
|
|
||||||
rally_install_type: "{{ kolla_install_type }}"
|
|
||||||
rally_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ rally_install_type }}-rally"
|
|
||||||
rally_tag: "{{ openstack_tag }}"
|
|
||||||
rally_image_full: "{{ rally_image }}:{{ rally_tag }}"
|
|
||||||
rally_dimensions: "{{ default_container_dimensions }}"
|
|
||||||
|
|
||||||
rally_default_volumes:
|
|
||||||
- "{{ node_config_directory }}/rally/:{{ container_config_directory }}/:ro"
|
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
|
||||||
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}"
|
|
||||||
- "kolla_logs:/var/log/kolla/"
|
|
||||||
|
|
||||||
rally_extra_volumes: "{{ default_extra_volumes }}"
|
|
||||||
|
|
||||||
####################
|
|
||||||
# Database
|
|
||||||
####################
|
|
||||||
rally_database_name: "rally"
|
|
||||||
rally_database_user: "{% if use_preconfigured_databases | bool and use_common_mariadb_user | bool %}{{ database_user }}{% else %}rally{% endif %}"
|
|
||||||
rally_database_address: "{{ database_address | put_address_in_context('url') }}:{{ database_port }}"
|
|
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Restart rally container
|
|
||||||
vars:
|
|
||||||
service_name: "rally"
|
|
||||||
service: "{{ rally_services[service_name] }}"
|
|
||||||
become: true
|
|
||||||
kolla_docker:
|
|
||||||
action: "recreate_or_restart_container"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
name: "{{ service.container_name }}"
|
|
||||||
image: "{{ service.image }}"
|
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
|
||||||
dimensions: "{{ service.dimensions }}"
|
|
||||||
when:
|
|
||||||
- kolla_action != "config"
|
|
@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Creating rally database
|
|
||||||
become: true
|
|
||||||
kolla_toolbox:
|
|
||||||
module_name: mysql_db
|
|
||||||
module_args:
|
|
||||||
login_host: "{{ database_address }}"
|
|
||||||
login_port: "{{ database_port }}"
|
|
||||||
login_user: "{{ database_user }}"
|
|
||||||
login_password: "{{ database_password }}"
|
|
||||||
name: "{{ rally_database_name }}"
|
|
||||||
run_once: True
|
|
||||||
delegate_to: "{{ groups['rally'][0] }}"
|
|
||||||
when:
|
|
||||||
- not use_preconfigured_databases | bool
|
|
||||||
|
|
||||||
- name: Creating rally database user and setting permissions
|
|
||||||
become: true
|
|
||||||
kolla_toolbox:
|
|
||||||
module_name: mysql_user
|
|
||||||
module_args:
|
|
||||||
login_host: "{{ database_address }}"
|
|
||||||
login_port: "{{ database_port }}"
|
|
||||||
login_user: "{{ database_user }}"
|
|
||||||
login_password: "{{ database_password }}"
|
|
||||||
name: "{{ rally_database_user }}"
|
|
||||||
password: "{{ rally_database_password }}"
|
|
||||||
host: "%"
|
|
||||||
priv: "{{ rally_database_name }}.*:ALL"
|
|
||||||
append_privs: "yes"
|
|
||||||
run_once: True
|
|
||||||
delegate_to: "{{ groups['rally'][0] }}"
|
|
||||||
when:
|
|
||||||
- not use_preconfigured_databases | bool
|
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
|
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Running rally bootstrap container
|
|
||||||
vars:
|
|
||||||
rally: "{{ rally_services['rally'] }}"
|
|
||||||
become: true
|
|
||||||
kolla_docker:
|
|
||||||
action: "start_container"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
detach: False
|
|
||||||
environment:
|
|
||||||
KOLLA_BOOTSTRAP:
|
|
||||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
||||||
image: "{{ rally.image }}"
|
|
||||||
labels:
|
|
||||||
BOOTSTRAP:
|
|
||||||
name: "bootstrap_rally"
|
|
||||||
restart_policy: no
|
|
||||||
volumes: "{{ rally.volumes }}"
|
|
||||||
run_once: True
|
|
||||||
delegate_to: "{{ groups[rally.group][0] }}"
|
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Check rally containers
|
|
||||||
become: true
|
|
||||||
kolla_docker:
|
|
||||||
action: "compare_container"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
name: "{{ item.value.container_name }}"
|
|
||||||
image: "{{ item.value.image }}"
|
|
||||||
volumes: "{{ item.value.volumes }}"
|
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
|
||||||
when:
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
||||||
notify:
|
|
||||||
- "Restart {{ item.key }} container"
|
|
@ -1 +0,0 @@
|
|||||||
---
|
|
@ -1,80 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Ensuring config directories exist
|
|
||||||
file:
|
|
||||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
|
||||||
state: "directory"
|
|
||||||
owner: "{{ config_owner_user }}"
|
|
||||||
group: "{{ config_owner_group }}"
|
|
||||||
mode: "0770"
|
|
||||||
become: true
|
|
||||||
when:
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
||||||
|
|
||||||
- name: Check if policies shall be overwritten
|
|
||||||
stat:
|
|
||||||
path: "{{ item }}"
|
|
||||||
delegate_to: localhost
|
|
||||||
run_once: True
|
|
||||||
register: rally_policy
|
|
||||||
with_first_found:
|
|
||||||
- files: "{{ supported_policy_format_list }}"
|
|
||||||
paths:
|
|
||||||
- "{{ node_custom_config }}/rally/"
|
|
||||||
skip: true
|
|
||||||
|
|
||||||
- name: Set rally policy file
|
|
||||||
set_fact:
|
|
||||||
rally_policy_file: "{{ rally_policy.results.0.stat.path | basename }}"
|
|
||||||
rally_policy_file_path: "{{ rally_policy.results.0.stat.path }}"
|
|
||||||
when:
|
|
||||||
- rally_policy.results
|
|
||||||
|
|
||||||
- include_tasks: copy-certs.yml
|
|
||||||
when:
|
|
||||||
- kolla_copy_ca_into_containers | bool
|
|
||||||
|
|
||||||
- name: Copying over config.json files for services
|
|
||||||
template:
|
|
||||||
src: "{{ item.key }}.json.j2"
|
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/config.json"
|
|
||||||
mode: "0660"
|
|
||||||
become: true
|
|
||||||
when:
|
|
||||||
- item.value.enabled | bool
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
||||||
notify:
|
|
||||||
- Restart rally container
|
|
||||||
|
|
||||||
- name: Copying over rally.conf
|
|
||||||
vars:
|
|
||||||
service_name: "{{ item.key }}"
|
|
||||||
merge_configs:
|
|
||||||
sources:
|
|
||||||
- "{{ role_path }}/templates/rally.conf.j2"
|
|
||||||
- "{{ node_custom_config }}/rally.conf"
|
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/{{ item.key }}.conf"
|
|
||||||
mode: "0660"
|
|
||||||
become: true
|
|
||||||
when:
|
|
||||||
- item.value.enabled | bool
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
||||||
notify:
|
|
||||||
- Restart rally container
|
|
||||||
|
|
||||||
- name: Copying over existing policy file
|
|
||||||
template:
|
|
||||||
src: "{{ rally_policy_file_path }}"
|
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/{{ rally_policy_file }}"
|
|
||||||
mode: "0660"
|
|
||||||
become: true
|
|
||||||
when:
|
|
||||||
- rally_policy_file is defined
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
||||||
notify:
|
|
||||||
- Restart rally container
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
- name: "Copy certificates and keys for {{ project_name }}"
|
|
||||||
import_role:
|
|
||||||
role: service-cert-copy
|
|
||||||
vars:
|
|
||||||
project_services: "{{ rally_services }}"
|
|
@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
- import_tasks: check-containers.yml
|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
- import_tasks: config.yml
|
|
||||||
|
|
||||||
- import_tasks: check-containers.yml
|
|
||||||
|
|
||||||
- import_tasks: bootstrap.yml
|
|
||||||
|
|
||||||
- name: Flush handlers
|
|
||||||
meta: flush_handlers
|
|
@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Warn about deprecation
|
|
||||||
debug:
|
|
||||||
msg: >
|
|
||||||
rally role is deprecated and will be removed in Xena
|
|
||||||
|
|
||||||
- include_tasks: "{{ kolla_action }}.yml"
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
- import_role:
|
|
||||||
name: service-precheck
|
|
||||||
vars:
|
|
||||||
service_precheck_services: "{{ rally_services }}"
|
|
||||||
service_name: "{{ project_name }}"
|
|
@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Pulling rally image
|
|
||||||
become: true
|
|
||||||
kolla_docker:
|
|
||||||
action: "pull_image"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
image: "{{ item.value.image }}"
|
|
||||||
when:
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ rally_services }}"
|
|
@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
- import_tasks: deploy.yml
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
- import_role:
|
|
||||||
name: service-stop
|
|
||||||
vars:
|
|
||||||
project_services: "{{ rally_services }}"
|
|
||||||
service_name: "{{ project_name }}"
|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
- import_tasks: config.yml
|
|
||||||
|
|
||||||
- import_tasks: check-containers.yml
|
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
|
||||||
|
|
||||||
- name: Flush handlers
|
|
||||||
meta: flush_handlers
|
|
@ -1,16 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
debug = {{ openstack_logging_debug }}
|
|
||||||
log_file = rally.log
|
|
||||||
use_stderr = False
|
|
||||||
log_dir = /var/log/kolla/rally/
|
|
||||||
|
|
||||||
[database]
|
|
||||||
connection = mysql+pymysql://{{ rally_database_user }}:{{ rally_database_password }}@{{ rally_database_address }}/{{ rally_database_name }}
|
|
||||||
connection_recycle_time = {{ database_connection_recycle_time }}
|
|
||||||
max_pool_size = {{ database_max_pool_size }}
|
|
||||||
max_retries = -1
|
|
||||||
|
|
||||||
{% if rally_policy_file is defined %}
|
|
||||||
[oslo_policy]
|
|
||||||
policy_file = {{ rally_policy_file }}
|
|
||||||
{% endif %}
|
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"command": "sleep infinity",
|
|
||||||
"config_files":[
|
|
||||||
{
|
|
||||||
"source": "{{ container_config_directory }}/rally.conf",
|
|
||||||
"dest": "/etc/rally/rally.conf",
|
|
||||||
"owner": "rally",
|
|
||||||
"perm": "0600"
|
|
||||||
}{% if rally_policy_file is defined %},
|
|
||||||
{
|
|
||||||
"source": "{{ container_config_directory }}/{{ rally_policy_file }}",
|
|
||||||
"dest": "/etc/rally/{{ rally_policy_file }}",
|
|
||||||
"owner": "rally",
|
|
||||||
"perm": "0600"
|
|
||||||
}{% endif %}
|
|
||||||
],
|
|
||||||
"permissions": [
|
|
||||||
{
|
|
||||||
"path": "/var/log/kolla/rally",
|
|
||||||
"owner": "rally:rally",
|
|
||||||
"recurse": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -64,7 +64,6 @@
|
|||||||
- enable_prometheus_{{ enable_prometheus | bool }}
|
- enable_prometheus_{{ enable_prometheus | bool }}
|
||||||
- enable_qdrouterd_{{ enable_qdrouterd | bool }}
|
- enable_qdrouterd_{{ enable_qdrouterd | bool }}
|
||||||
- enable_rabbitmq_{{ enable_rabbitmq | bool }}
|
- enable_rabbitmq_{{ enable_rabbitmq | bool }}
|
||||||
- enable_rally_{{ enable_rally | bool }}
|
|
||||||
- enable_redis_{{ enable_redis | bool }}
|
- enable_redis_{{ enable_redis | bool }}
|
||||||
- enable_sahara_{{ enable_sahara | bool }}
|
- enable_sahara_{{ enable_sahara | bool }}
|
||||||
- enable_senlin_{{ enable_senlin | bool }}
|
- enable_senlin_{{ enable_senlin | bool }}
|
||||||
@ -958,17 +957,6 @@
|
|||||||
tags: designate,
|
tags: designate,
|
||||||
when: enable_designate | bool }
|
when: enable_designate | bool }
|
||||||
|
|
||||||
- name: Apply role rally
|
|
||||||
gather_facts: false
|
|
||||||
hosts:
|
|
||||||
- rally
|
|
||||||
- '&enable_rally_True'
|
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
|
||||||
roles:
|
|
||||||
- { role: rally,
|
|
||||||
tags: rally,
|
|
||||||
when: enable_rally | bool }
|
|
||||||
|
|
||||||
- name: Apply role vmtp
|
- name: Apply role vmtp
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
|
@ -371,7 +371,6 @@
|
|||||||
#enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
|
#enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
|
||||||
#enable_prometheus: "no"
|
#enable_prometheus: "no"
|
||||||
#enable_qdrouterd: "{{ 'yes' if om_rpc_transport == 'amqp' else 'no' }}"
|
#enable_qdrouterd: "{{ 'yes' if om_rpc_transport == 'amqp' else 'no' }}"
|
||||||
#enable_rally: "no"
|
|
||||||
#enable_redis: "no"
|
#enable_redis: "no"
|
||||||
#enable_sahara: "no"
|
#enable_sahara: "no"
|
||||||
#enable_senlin: "no"
|
#enable_senlin: "no"
|
||||||
|
@ -143,8 +143,6 @@ ceilometer_keystone_password:
|
|||||||
watcher_database_password:
|
watcher_database_password:
|
||||||
watcher_keystone_password:
|
watcher_keystone_password:
|
||||||
|
|
||||||
rally_database_password:
|
|
||||||
|
|
||||||
senlin_database_password:
|
senlin_database_password:
|
||||||
senlin_keystone_password:
|
senlin_keystone_password:
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``Rally`` project is not a serive of openstack but its client.
|
||||||
|
Its images and support are removed since Xena cycle.
|
@ -276,9 +276,6 @@ control
|
|||||||
[watcher:children]
|
[watcher:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
[rally:children]
|
|
||||||
control
|
|
||||||
|
|
||||||
[octavia:children]
|
[octavia:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user