cloudkitty-processor fails to start due to UnboundLocalError in orchestrator.py

Bug #1779127 reported by Marius L
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloudkitty
New
Undecided
Unassigned

Bug Description

While trying to run the "master" branch of cloudkitty, the cloudkitty-processor service
throws the following error on start:

 Traceback (most recent call last):
   File "/var/lib/kolla/venv/bin/cloudkitty-processor", line 10, in <module>
     sys.exit(main())
   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cloudkitty/cli/processor.py", line 32, in main
     processor.process()
   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cloudkitty/orchestrator.py", line 305, in process
     eventlet.sleep(tenant['period'])
 UnboundLocalError: local variable 'tenant' referenced before assignment
2018-06-28 15:14:30.547 6 ERROR cloudkitty

On this line `eventlet.sleep(tenant['period'])` tenant is an undefined variable.

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.