summaryrefslogtreecommitdiffstats
path: root/tests/inspector.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-04urgent bug fixes for danube (1)Ryota MIBU1-17/+14
- create "doctor_net" and use it in VM creation in order to avoid virtual network issues - make sample inspector use keystone v3 - use "openstack compute service set" for unset force_down - drop nova_force_down.py as keystone returns nova v2.1 - use '--os-project-name' except for ceilometer cli - avoid ping check (wait_ping) with empty "COMPUTE_IP" - add missing '$' in quota update args - move ping check (wait_ping) into unset_forced_down_hosts() and perform ping check only to downed compute hosts - use wait_until() instead of wait_ping() - put out unset_forced_down_hosts from collect_logs() JIRA: DOCTOR-95 Co-Authored-By: Carlos Goncalves <carlos.goncalves@neclab.eu> Change-Id: I3275ff5dd993b82029dac6a58087096baa251022 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-17Add multiple VM supportTomi Juvonen1-12/+43
Add support to run Doctor test with more than one VM by setting VM_COUNT to wanted amount of VMs. Normally half of those VMs gets scheduled to host that is used for Doctor testing. JIRA: DOCTOR-77 Change-Id: I9fac96c6f53c290fccc35a2fd933b9fb106b96f2 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2017-01-12Add more timestamps and export them for profilerJulien1-0/+2
Add timestamps when mark host and vm down(T03/T04). Update the sequence for host down and vm error Export more time tags for profiler: 1. Calculate and export T01,T03,T04 timestamps 2. Use regex to get time from log instead fixed column 3. Fix var usage without a '$' info: merge gerrit ticket 26551 into 26531. JIRA: DOCTOR-88 Change-Id: I3e6ccba667f470b4a00219f1e9830bb0da3d4ae5 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-01-03fix the data which post to sample inspector align to SB APIdongwenjuan1-4/+5
Change-Id: I18b0703541aa702ec833cd102260e92831a89e3a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-12-01remove `Debug = True when run Flask and add loggerdongwenjuan1-6/+9
JIRA: DOCTOR-79 Change-Id: I9193ec387af3b593b8f19d8f4b72ddec5c759bc0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-09-20cache host-vm list when inspect start to rundongwenjuan1-5/+20
As getting servers list under all tenants in specify host takes most of the time when inspector handling the host failure event, cache the host-vms list when inspector start run to improve the performance. add receive event time in inspector Change-Id: I5fca2816ae9a176be4791bf5dbe26b1c30e743c5 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-09Change type of nova_api_version from float to strCarlos Goncalves1-1/+1
Recently functest container had its python requests lib updated to version 2.8.0 and it no longer supports passing in header values of float type. Change-Id: I31da351d7f5c7c1c3ff5121b7b000f3bab1d76bf Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-03-21Fix typos in stringsCarlos Goncalves1-2/+2
Change-Id: I1fe3adf5db8539178c0e068b73b22948d0e574d2 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-02-21test: add nova_force_down clientRyota MIBU1-1/+11
New force_down API is not available due to rack of support in default configuration of keystone service catalog and limit of novaclient, so this patch adds nova_force_down client to operate the new API. Change-Id: I2545f4448313b334d4c0a12f1638e64ecfafdf41 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-29fix license description in code headersRyota MIBU1-13/+7
Change-Id: Idb7b6e55e5760a9e6ba6cb0b512f1961488312ca Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-04add test scenario and sample componentsRyota MIBU1-0/+76
DOCTOR-22 Change-Id: I82cb572fadd057151c55396dd3ab4114539c8fa7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>