'NoneType' object has no attribute 'stacks'

Bug #1621410 reported by Aditya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vitrage
In Progress
Low
tamil vanan

Bug Description

2016-09-08 14:34:42.352 27776 ERROR vitrage.datasources.driver_base File "/opt/stack/vitrage/vitrage/datasources/heat/stack/driver.py", line 107, in get_all
2016-09-08 14:34:42.352 27776 ERROR vitrage.datasources.driver_base stacks = self.client.stacks.list(global_tenant=True)
2016-09-08 14:34:42.352 27776 ERROR vitrage.datasources.driver_base AttributeError: 'NoneType' object has no attribute 'stacks'
2016-09-08 14:34:42.352 27776 ERROR vitrage.datasources.driver_base
2016-09-08 14:35:02.376 27776 ERROR vitrage.clients [-] Create Heat client - Got Exception: The resource could not be found. (HTTP 404)
2016-09-08 14:35:02.376 27776 ERROR vitrage.clients Traceback (most recent call last):

Revision history for this message
Aditya (adinandan) wrote :
Ifat Afek (ifat-afek)
Changed in vitrage:
status: New → Confirmed
Revision history for this message
Ifat Afek (ifat-afek) wrote :

The bug happens if heat datasource is configured in vitrage, but heat is not installed. An exception is written to the log, but the graph and the other datasources keep running as usual. I think the solution to this bug should be a clear error message.

In the meantime, you should either install heat, or remove it from the list of datasources: in vitrage.conf, remove 'heat.stack' from 'types' list.

Changed in vitrage:
importance: Undecided → Low
tags: added: low-hanging-fruit
Ifat Afek (ifat-afek)
Changed in vitrage:
status: Confirmed → Triaged
tamil vanan (tamilhce)
Changed in vitrage:
assignee: nobody → tamil vanan (tamilhce)
tamil vanan (tamilhce)
Changed in vitrage:
status: Triaged → In Progress
Revision history for this message
Ifat Afek (ifat-afek) wrote :

Is this bug still open?

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.