Ceilometer sanity test failed

Bug #1261768 reported by Igor Marnat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Dmitry Iakunchikov

Bug Description

Env used:
- Windows 7 PC, VirtualBox, fuel 147 img (IIRC, you can check in snapshot)

Steps to reproduce:
- Install Fuel, 1 compute, 1 controller, deployed 3 additional services (Savanna, Murano, Ceilometer), used Ubuntu deployment
- Run sanity (Health check), ceilometer test failed

Revision history for this message
Igor Marnat (imarnat) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Have same symptoms on #147 ISO.

Changed in fuel:
milestone: none → 4.0
status: New → Confirmed
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Ceilometer is up and running on controller:
root@node-2:~# ps aux|grep ceilometer
root 16757 0.0 0.0 9380 932 pts/27 S+ 16:07 0:00 grep --color=auto ceilometer
107 17821 0.1 1.8 212452 28100 ? Ss 14:53 0:06 /usr/bin/python /usr/bin/ceilometer-api --log-dir=/var/log/ceilometer
107 17844 0.0 0.0 37948 728 ? Ss 14:53 0:00 su -s /bin/sh -c exec ceilometer-alarm-evaluator --config-file /etc/ceilometer/ceilometer.conf --log-file /var/log/ceilometer/ceilometer-alarm-evaluator.log ceilometer
107 17845 0.0 0.7 88760 12232 ? S 14:53 0:00 /usr/bin/python /usr/bin/ceilometer-alarm-evaluator --config-file /etc/ceilometer/ceilometer.conf --log-file /var/log/ceilometer/ceilometer-alarm-evaluator.log

root@node-2:~# ceilometer meter-list
- doesn't provide output.

Not sure what to look for in ostf.log:
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/client.py", line 189, in request
    raise exceptions.from_response(resp, body, url, method)
NotFound: Flavor 42 could not be found. (HTTP 404) (Request-ID: req-9091b270-17d6-4ff0-b37d-8149b679a415)

2013-12-17 15:52:48 ERROR (nose_storage_plugin) fuel_health.tests.sanity.test_sanity_ceilometer.CeilometerApiTests.test_list_meter
s
Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/unittest2/case.py", line 333, in run
    self.setUp()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/ceilometermanager.py", line 34, in setUp
    alarm_id = self.get_alarm_id()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/ceilometermanager.py", line 72, in get_alarm_id
    list_alarms_resp = self.list_alarm()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/ceilometermanager.py", line 47, in list_alarm
    return self.ceilometer_client.alarms.list()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/ceilometerclient/v2/alarms.py", line 70, in list
    return self._list(options.build_url(self._path(), q))
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/ceilometerclient/common/base.py", line 57, in _list
    resp, body = self.api.json_request('GET', url)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/ceilometerclient/common/http.py", line 186, in json_request
    resp, body_iter = self._http_request(url, method, **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/ceilometerclient/common/http.py", line 155, in _http_request
    raise exc.CommunicationError(message=message)
CommunicationError: Error communicating with http://172.16.0.3:8777 [Errno 110] Connection timed out

Also, if there is connection timeout - can we wait for 15 sec as we state, not for 126 sec?

Changed in fuel:
importance: Undecided → Medium
Revision history for this message
Mike Scherbakov (mihgen) wrote :

This is diagsnapshot from my env with full logs.
Ubuntu Neutron w/VLAN + Ceilometer + Murano.

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

[root@fuel bin]# http_proxy=http://10.20.0.4:8888 ./nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
[root@fuel bin]# http_proxy=http://10.20.0.4:8888 ./ceilometer meter-list
Error communicating with http://172.16.0.2:8777 [Errno 110] Connection timed out
[root@fuel bin]#

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

At the same time on 2 identical environment we have for 1 - client that works trough proxy - one other - that do not work

Revision history for this message
Dmitry Iakunchikov (diakunchikov) wrote :
Changed in fuel:
assignee: nobody → Dmitry Iakunchikov (diakunchikov)
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
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.