summaryrefslogtreecommitdiffstats
path: root/tests/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-03-05urgent bug fixes for danube (2)Ryota MIBU1-0/+4
- 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-2/+2
- 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-02refactor lib/installerRyota MIBU4-43/+101
- make sure expected parameters and functions are set - remove all installer dependent codes from run.sh except non-used function which will be removed later on Change-Id: I4628173ef0891d893146976c7553ed6a95329957 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-02correct usage of common functionsRyota MIBU4-6/+7
Change-Id: I5c486c5f08880f6b3b6b4b393360752fb6077bed Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-02Fix functions for fuel installerRyota MIBU2-84/+112
JIRA: DOCTOR-58 Change-Id: Ic9326791007a3afa754cc64423b46adc17c59dc0 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-31improve cleanup() in run.shRyota MIBU2-11/+14
- make sure all hosts are unset force_down flag - load all functions for inspector and installer first in order to avoid 'command not found' error - also, print VM if it has error state Change-Id: If56cba201e1a5f3669a97ffb3d28b3c55c7cdb58 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-14Refactor inspectors support codeCarlos Goncalves3-0/+115
JIRA: DOCTOR-71 Change-Id: I0913d4d0390325cc0cc715572b7525a6bbb795d3 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-12-10Refactor installers support codeCarlos Goncalves4-0/+186
Restructuring tests directory to become more modular, and adding installer helper functions. JIRA: DOCTOR-71 Change-Id: Ib3846c35485cfa4f0a0881beb69811cdc0b8f66f Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>