Cost analytics wasn't working for me at all until I updated gevent on my scalr server. Now cost analytics is working for AWS, but not for Openstack.
I'm seeing the following error in python-analytics_poller.log for all my openstack environments:
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [11]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [9]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [8]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [13, 14]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [12]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [15]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [4]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[22/Nov/2016 22:14:40][ analytics_poller][ 6490] WARNING platform: 'openstack', environments: [10]. Reason: <class 'libcloud.common.exceptions.BaseHTTPError'> {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
The error is generated by a libcloud call from the _openstack function in scalrpy/analytics_poller.py:
I haven't managed to track down exactly where in the libcloud calls everything is falling apart, though. Has anyone experienced this issue with scalr/openstack?