Comment 3 for bug 1780245

Revision history for this message
Maciej Kucia (maciejkucia) wrote :

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] }}"