bootstrap_gnocchi fails during deploy (rocky)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Expired
|
Undecided
|
Unassigned | ||
kolla-ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
Deployed with kolla-ansible=
Kolla-ansible is being run in a venv.
Deploying a very vanilla multinode setup. External ceph (mimic 13.2.2), all core services & some logging. In addition to this all telemetry services, which aren't deploying properly.
#globals.yml
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "rocky"
node_custom_config: "/etc/kolla/config"
kolla_internal_
kolla_external_
network_interface: "eno1"
api_interface: "eno1"
storage_interface: "ens4.20"
tunnel_interface: "ens4.40"
neutron_
neutron_
enable_
kolla_enable_
kolla_external_
enable_aodh: "yes"
enable_ceilometer: "yes"
enable_
enable_ceph: "no"
enable_chrony: "yes"
enable_cinder: "yes"
enable_
enable_
enable_
enable_
enable_
enable_
enable_fluentd: "yes"
enable_gnocchi: "yes"
enable_haproxy: "yes"
enable_heat: "yes"
enable_horizon: "yes"
enable_openvswitch: "{{ neutron_
enable_panko: "yes"
enable_redis: "yes"
external_
enable_
enable_
keystone_
glance_
panko_database_
gnocchi_
gnocchi_pool_name: "metrics"
gnocchi_
cinder_
nova_backend_ceph: "yes"
nova_compute_
All goes well until kolla-ansible gets to: TASK [gnocchi : Running gnocchi bootstrap container]
This fails with:
2018-11-15 10:58:14,406 [17] INFO gnocchi.service: Gnocchi version 4.3.0
2018-11-15 10:58:14,724 [17] WARNING py.warnings: /var/lib/
""")
2018-11-15 10:58:14,898 [17] INFO gnocchi.cli.manage: Upgrading indexer SQLAlchemyIndexer: mysql+pymysql:
2018-11-15 10:58:15,004 [17] INFO gnocchi.
2018-11-15 10:58:15,021 [17] INFO gnocchi.cli.manage: Upgrading storage CephStorage: 73f8c334-
2018-11-15 10:58:15,024 [17] ERROR gnocchi.utils: Unable to initialize incoming driver
Traceback (most recent call last):
File "/var/lib/
result = fn(*args, **kwargs)
File "/var/lib/
conf.incoming, conf.metricd.
File "/var/lib/
self._client, self._scripts = redis.get_
File "/var/lib/
raise KeyError(name)
I have also tried using tooz as coordinator but it fails as well, I will try to post those logs a bit later.
I believe the solution is to upgrade the gnocchi pip package that is installed, gnocchi==4.3.0 (in the /va/lib/
Upgrading this to gnocchi==4.3.2 and rerunning gnocchi-upgrade fixes the problem.
Can someone confirm? I'm still new to kolla-ansible & kolla. I will try to build a new base-image later.
summary: |
- bootstrap_fails during deploy + bootstrap_gnocchi fails during deploy |
summary: |
- bootstrap_gnocchi fails during deploy + bootstrap_gnocchi fails during deploy (rocky) |
So when not using redis and instead using tooz as coordinator for gnocchi, deployment is fine but gnocchi_metricd container spams with:
2018-11-15 11:59:26,339 [48] ERROR gnocchi. cli.metricd: Unexpected error during processing job kolla/venv/ local/lib/ python2. 7/site- packages/ gnocchi/ cli/metricd. py", line 85, in run kolla/venv/ local/lib/ python2. 7/site- packages/ gnocchi/ cli/metricd. py", line 246, in _run_job coord.update_ capabilities( self.GROUP_ ID, self.store. statistics) kolla/venv/ local/lib/ python2. 7/site- packages/ tooz/coordinati on.py", line 592, in update_capabilities
Traceback (most recent call last):
File "/var/lib/
self._run_job()
File "/var/lib/
self.
File "/var/lib/
raise tooz.NotImplemented
NotImplemented
Same goes here, installing gnocchi under /var/lib/kolla/venv virtualenv solves the issue.