Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ skip_list:
# Role names
- role-name
- var-naming[no-role-prefix]
- yaml[line-length]

use_default_rules: true
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ Infrastructure components
Kolla Ansible deploys containers for the following infrastructure components:

- `Collectd <https://collectd.org/>`__,
`Telegraf <https://docs.influxdata.com/telegraf/>`__,
`InfluxDB <https://www.influxdata.com/products/influxdb-overview/>`__,
`Prometheus <https://prometheus.io/>`__, and
`Grafana <https://grafana.com/>`__ for performance monitoring.
- `OpenSearch <https://opensearch.org/docs/latest/>`__ and
Expand Down
7 changes: 1 addition & 6 deletions ansible/group_vars/all/cloudkitty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ enable_cloudkitty: false
#######################
# Cloudkitty options
#######################
# Valid options are 'sqlalchemy' or 'influxdb'. The default value is
# 'influxdb', which matches the default in Cloudkitty since the Stein release.
# When the backend is "influxdb", we also enable Influxdb.
# Also, when using 'influxdb' as the backend, we trigger the configuration/use
# of Cloudkitty storage backend version 2.
cloudkitty_storage_backend: "influxdb"
cloudkitty_storage_backend: "sqlalchemy"

cloudkitty_internal_fqdn: "{{ kolla_internal_fqdn }}"
cloudkitty_external_fqdn: "{{ kolla_external_fqdn }}"
Expand Down
12 changes: 0 additions & 12 deletions ansible/group_vars/all/influxdb.yml

This file was deleted.

9 changes: 0 additions & 9 deletions ansible/group_vars/all/telegraf.yml

This file was deleted.

10 changes: 0 additions & 10 deletions ansible/inventory/all-in-one
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ monitoring
[etcd:children]
control

[telegraf:children]
compute
control
monitoring
network
storage

[hacluster:children]
control

Expand Down Expand Up @@ -104,9 +97,6 @@ control
[ironic:children]
control

[influxdb:children]
monitoring

[prometheus:children]
monitoring

Expand Down
10 changes: 0 additions & 10 deletions ansible/inventory/multinode
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,9 @@ monitoring
[etcd:children]
control

[influxdb:children]
monitoring

[prometheus:children]
monitoring

[telegraf:children]
compute
control
monitoring
network
storage

[hacluster:children]
control

Expand Down
15 changes: 0 additions & 15 deletions ansible/roles/cloudkitty/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,21 +154,6 @@ cloudkitty_custom_metrics_yaml_file: "metrics.yml"
####################
# Storage backend
####################
# InfluxDB retention policy to use (defaults to autogen).
# cloudkitty_influxdb_retention_policy: "autogen"

# Set to true to use SSL for InfluxDB connections.
cloudkitty_influxdb_use_ssl: "{{ kolla_enable_tls_internal }}"

# Path of the CA certificate to trust for HTTPS connections.
cloudkitty_influxdb_cafile: "{{ openstack_cacert }}"

# Set to true to authorize insecure HTTPS connections to InfluxDB.
# This means, HTTPS connections without validating the certificate used by InfluxDB
# cloudkitty_influxdb_insecure_connections: false

cloudkitty_influxdb_name: "cloudkitty"

# Set the elasticsearch/opensearch index name.
cloudkitty_elasticsearch_index_name: "cloudkitty"
cloudkitty_opensearch_index_name: "{{ cloudkitty_elasticsearch_index_name }}"
Expand Down
17 changes: 0 additions & 17 deletions ansible/roles/cloudkitty/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,6 @@
when:
- not use_preconfigured_databases | bool

- name: Creating Cloudkitty influxdb database
become: true
kolla_toolbox:
container_engine: "{{ kolla_container_engine }}"
module_name: influxdb_database
module_args:
hostname: "{{ influxdb_address }}"
port: "{{ influxdb_http_port }}"
ssl: "{{ cloudkitty_influxdb_use_ssl | bool }}"
database_name: "{{ cloudkitty_influxdb_name }}"
# The influxdb_database module and the InfluxDB 1.x Python client don't
# support specifying a CA certificate file.
validate_certs: false
run_once: true
delegate_to: "{{ groups['cloudkitty-api'][0] }}"
when: cloudkitty_storage_backend == 'influxdb'

- name: Checking if Cloudkitty elasticsearch index exists
become: true
kolla_toolbox:
Expand Down
24 changes: 0 additions & 24 deletions ansible/roles/cloudkitty/templates/cloudkitty.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -132,30 +132,6 @@ version = 1
version = 2
{% endif %}

{% if cloudkitty_storage_backend == 'influxdb' %}
[storage_influxdb]
database = {{ cloudkitty_influxdb_name }}
host = {{ influxdb_address }}
port = {{ influxdb_http_port }}

{% if cloudkitty_influxdb_retention_policy is defined %}
retention_policy = {{ cloudkitty_influxdb_retention_policy }}
{% endif %}

{% if cloudkitty_influxdb_use_ssl is defined %}
use_ssl = {{ cloudkitty_influxdb_use_ssl }}
{% endif %}

{% if cloudkitty_influxdb_insecure_connections is defined %}
insecure = {{ cloudkitty_influxdb_insecure_connections }}
{% endif %}

{% if cloudkitty_influxdb_cafile is defined %}
cafile = {{ cloudkitty_influxdb_cafile }}
{% endif %}

{% endif %}

{% if cloudkitty_storage_backend == 'elasticsearch' %}
[storage_elasticsearch]
host = {{ cloudkitty_elasticsearch_url }}
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/cron/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
- { name: "haproxy", enabled: "{{ enable_haproxy | bool }}" }
- { name: "heat", enabled: "{{ enable_heat | bool }}" }
- { name: "horizon", enabled: "{{ enable_horizon | bool }}" }
- { name: "influxdb", enabled: "{{ enable_influxdb | bool }}" }
- { name: "ironic", enabled: "{{ enable_ironic | bool }}" }
- { name: "keystone", enabled: "{{ enable_keystone | bool }}" }
- { name: "kuryr", enabled: "{{ enable_kuryr | bool }}" }
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion ansible/roles/destroy/tasks/cleanup_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
glance_file_datadir_volume: "{{ glance_file_datadir_volume }}"
nova_instance_datadir_volume: "{{ nova_instance_datadir_volume }}"
gnocchi_metric_datadir_volume: "{{ gnocchi_metric_datadir_volume }}"
influxdb_datadir_volume: "{{ influxdb_datadir_volume }}"
kolla_internal_vip_address: "{{ kolla_internal_vip_address }}"
kolla_external_vip_address: "{{ kolla_external_vip_address }}"
kolla_dev_repos_directory: "{{ kolla_dev_repos_directory }}"
Expand Down
10 changes: 0 additions & 10 deletions ansible/roles/grafana/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ grafana_database_shard:
# Datasource
####################
grafana_data_sources:
influxdb:
enabled: "{{ enable_influxdb | bool }}"
data:
isDefault: true
database: "telegraf"
name: "telegraf"
type: "influxdb"
url: "{{ influxdb_internal_endpoint }}"
access: "proxy"
basicAuth: false
opensearch:
enabled: "{{ enable_opensearch | bool }}"
data:
Expand Down
4 changes: 4 additions & 0 deletions ansible/roles/grafana/templates/grafana.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ check_for_updates = false
[security]
admin_user = {{ grafana_admin_username }}
admin_password = {{ grafana_admin_password }}

[plugins]
plugin_admin_enabled = false
public_key_retrieval_disabled = true
39 changes: 0 additions & 39 deletions ansible/roles/influxdb/defaults/main.yml

This file was deleted.

13 changes: 0 additions & 13 deletions ansible/roles/influxdb/handlers/main.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/roles/influxdb/tasks/check-containers.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/roles/influxdb/tasks/check.yml

This file was deleted.

32 changes: 0 additions & 32 deletions ansible/roles/influxdb/tasks/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion ansible/roles/influxdb/tasks/config_validate.yml

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/roles/influxdb/tasks/deploy-containers.yml

This file was deleted.

9 changes: 0 additions & 9 deletions ansible/roles/influxdb/tasks/deploy.yml

This file was deleted.

7 changes: 0 additions & 7 deletions ansible/roles/influxdb/tasks/loadbalancer.yml

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/roles/influxdb/tasks/main.yml

This file was deleted.

28 changes: 0 additions & 28 deletions ansible/roles/influxdb/tasks/precheck.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/roles/influxdb/tasks/pull.yml

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/roles/influxdb/tasks/reconfigure.yml

This file was deleted.

7 changes: 0 additions & 7 deletions ansible/roles/influxdb/tasks/stop.yml

This file was deleted.

9 changes: 0 additions & 9 deletions ansible/roles/influxdb/tasks/upgrade.yml

This file was deleted.

Loading
Loading