kolla/ubuntu-source-cloudkitty-processor:train won't start

Bug #1861679 reported by Florian 'rephlex' Panzer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Undecided
Christopher Wellie

Bug Description

**Bug Report**

What happened: kolla/ubuntu-source-cloudkitty-processor:train will not start, because of AttributeError: 'NoneType' object has no attribute 'auth_url' at File "/var/lib/kolla/venv/lib/python3.6/site-packages/cloudkitty/fetcher/keystone.py", line 59, in __init__
    auth_url=self.auth.auth_url

What you expected to happen: container kolla/ubuntu-source-cloudkitty-processor:train should start without error

How to reproduce it (minimal and precise):

(1) configure kolla:
root@deployment:~# grep -ir cloudkitty /etc/kolla/globals.yml
enable_cloudkitty: "yes"
enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}"
enable_influxdb: "{{ enable_monasca | bool or (enable_cloudkitty | bool and cloudkitty_storage_backend == 'influxdb') }}"
# cloudkitty_storage_backend: "influxdb"

(2) deploy kolla
kolla-ansible deploy -i /root/inventory/blah

**Environment**:
* OS (e.g. from /etc/os-release):
* Kernel (e.g. `uname -a`):VERSION="18.04.4 LTS (Bionic Beaver)"
* Docker version if applicable (e.g. `docker version`): 5:19.03.5~3-0~ubuntu-bionic
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): kolla-ansigbe 9.0.1
* Docker image Install type (source/binary): source (in binary, cloudkitty is marked as broken!)
* Docker image distribution: train
* Are you using official images from Docker Hub or self built? Docker Hub
* If self built - Kolla version and environment used to build: -
* Share your inventory file, globals.yml and other configuration files if relevant
see above

summary: - kolla/ubuntu-source-cloudkitty-processor:train won't start on deployment
- because
+ kolla/ubuntu-source-cloudkitty-processor:train won't start
Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks for raising this Florian. Is this something you are planning to fix?

Revision history for this message
Florian 'rephlex' Panzer (rephlex) wrote :

Yes, I'll be forced to dive into this next week ;-)

Changed in kolla-ansible:
assignee: nobody → Christopher Wellie (well100)
status: New → Confirmed
Changed in kolla-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/707379

Changed in kolla-ansible:
status: In Progress → Fix Committed
Changed in kolla-ansible:
status: Fix Committed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.