summaryrefslogtreecommitdiffstats
path: root/tests/monitor.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-05urgent bug fixes for danube (2)Ryota MIBU1-9/+6
- use relevant identity version estimated from OS_AUTH_URL - (apex) unset OS_PROJECT_ID Change-Id: I7e51c7d5510baaa4d14b16600f9efa6fcfc011b9 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-04urgent bug fixes for danube (1)Ryota MIBU1-5/+3
- 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-01-03fix the data which post to sample inspector align to SB APIdongwenjuan1-18/+16
Change-Id: I18b0703541aa702ec833cd102260e92831a89e3a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-12-01remove `Debug = True when run Flask and add loggerdongwenjuan1-4/+7
JIRA: DOCTOR-79 Change-Id: I9193ec387af3b593b8f19d8f4b72ddec5c759bc0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-19Test Congress Doctor driver supportCarlos Goncalves1-6/+59
When running Congress as Inspector implementation, the Monitor has to be started after starting the Inspector because we need to first ensure the Doctor datasource is created, otherwise the Monitor cannot get the Doctor datasource ID at init. This patch defaults the Inspector to 'sample' and for the time being functest will run only against 'sample', not all supported Inspector types ('sample' and 'congress'). Testing multiple Inspectors in single functest run would require major additional changes to our test scripts. It should still be done and addressed in a future patch. This patch focus on adding testing support against Congress as first step. One can test against Congress executing for example: $ INSPECTOR_TYPE=congress INSTALLER_TYPE=local COMPUTE_HOST=compute1 ./run.sh JIRA: DOCTOR-56 Change-Id: Icebd6fd6ad0c01d511c97e804727ad2a71f742e8 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-21Fix typo in monitor to correctly print IP addressCarlos Goncalves1-1/+1
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-02-12tests: enable doctor test scenario with fixesRyota MIBU1-2/+5
Change-Id: I2c0c939b41f28684a1697b0099f2df62ce27c6a3 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/+79
DOCTOR-22 Change-Id: I82cb572fadd057151c55396dd3ab4114539c8fa7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>