Comment 1 for bug 1519477

Revision history for this message
gordon chung (chungg) wrote :

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--
2015-11-23 21:16:24.393 INFO nova.osapi_compute.wsgi.server [req-033f94d7-c800-4cb0-8f45-66c88f6672e8 admin admin] 127.0.0.1 "POST /v2.1/a0e8f5ffca4e41f9b2ca06c35ef65775/servers HTTP/1.1" status: 202 len: 826 time: 1.9208431

--vm initialised and polled--
2015-11-23 21:16:31.509 13218 DEBUG ceilometer.compute.pollsters.memory [-] Checking resident memory for instance 3ffca170-67f2-45a1-980d-b94d392d0f09 get_samples /opt/stack/new/ceilometer/ceilometer/compute/pollsters/memory.py:76

--first resource check--
127.0.0.1 - - [23/Nov/2015:21:16:36 +0000] "GET //v1/resource/instance HTTP/1.1" 200 2154 "-" "gabbi/1.10.0 (Python httplib2)"

--first create resource [collector]--
127.0.0.1 - - [23/Nov/2015:21:17:23 +0000] "POST /v1/resource/instance HTTP/1.1" 400 459 "-" "python-requests/2.8.1"

--last resource check--
127.0.0.1 - - [23/Nov/2015:21:17:31 +0000] "GET //v1/resource/instance HTTP/1.1" 200 2154 "-" "gabbi/1.10.0 (Python httplib2)"

--first successful resource create--
127.0.0.1 - - [23/Nov/2015:21:17:31 +0000] "POST /v1/resource/instance HTTP/1.1" 201 2399 "-" "python-requests/2.8.1"