gnocchi-upgrade is executed during bootstrapping:
extended_start.sh:
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
sudo -H -u gnocchi gnocchi-upgrade --log-file /var/log/kolla/gnocchi/gnocchi-upgrade.log
exit 0
fi
In kolla-ansible the bootstraping is done on single node.
bootstrap_service.yml:
- name: Running gnocchi bootstrap container
kolla_docker:
action: "start_container"
environment: KOLLA_BOOTSTRAP: KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
[...]
delegate_to: "{{ groups[gnocchi_api.group][0] }}"
gnocchi-upgrade is executed during bootstrapping: BOOTSTRAP[ @]}" ]]; then kolla/gnocchi/ gnocchi- upgrade. log
extended_start.sh:
if [[ "${!KOLLA_
sudo -H -u gnocchi gnocchi-upgrade --log-file /var/log/
exit 0
fi
In kolla-ansible the bootstraping is done on single node. service. yml:
KOLLA_BOOTSTRAP :
KOLLA_CONFIG_ STRATEGY: "{{ config_strategy }}" gnocchi_ api.group] [0] }}"
bootstrap_
- name: Running gnocchi bootstrap container
kolla_docker:
action: "start_container"
environment:
[...]
delegate_to: "{{ groups[