integration tests fail randomly
Bug #1519477 reported by
gordon chung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
gordon chung |
Bug Description
see https:/
every few runs, integration tests will fail to find one of the servers.
error output shows gnocci resource exists for both instances but one does not have metrics. the logs show 404 when trying to create metrics for instance.
Changed in ceilometer: | |
assignee: | nobody → gordon chung (chungg) |
status: | Triaged → In Progress |
To post a comment you must log in.
so based on logs, it seems like the auto scaled vm is not created in time... only after the check for gnocchi resources.
there appears to a full minute between polled data and initial write to db
--creates vm-- compute. wsgi.server [req-033f94d7- c800-4cb0- 8f45-66c88f6672 e8 admin admin] 127.0.0.1 "POST /v2.1/a0e8f5ffc a4e41f9b2ca06c3 5ef65775/ servers HTTP/1.1" status: 202 len: 826 time: 1.9208431
2015-11-23 21:16:24.393 INFO nova.osapi_
--vm initialised and polled-- compute. pollsters. memory [-] Checking resident memory for instance 3ffca170- 67f2-45a1- 980d-b94d392d0f 09 get_samples /opt/stack/ new/ceilometer/ ceilometer/ compute/ pollsters/ memory. py:76
2015-11-23 21:16:31.509 13218 DEBUG ceilometer.
--first resource check-- 2015:21: 16:36 +0000] "GET //v1/resource/ instance HTTP/1.1" 200 2154 "-" "gabbi/1.10.0 (Python httplib2)"
127.0.0.1 - - [23/Nov/
--first create resource [collector]-- 2015:21: 17:23 +0000] "POST /v1/resource/ instance HTTP/1.1" 400 459 "-" "python- requests/ 2.8.1"
127.0.0.1 - - [23/Nov/
--last resource check-- 2015:21: 17:31 +0000] "GET //v1/resource/ instance HTTP/1.1" 200 2154 "-" "gabbi/1.10.0 (Python httplib2)"
127.0.0.1 - - [23/Nov/
--first successful resource create-- 2015:21: 17:31 +0000] "POST /v1/resource/ instance HTTP/1.1" 201 2399 "-" "python- requests/ 2.8.1"
127.0.0.1 - - [23/Nov/