summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-10Refactor installers support codeCarlos Goncalves5-159/+199
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>
2016-12-09Merge "blueprint performance-profiler"Gerald Kunzmann1-0/+118
2016-12-08Merge "Introducing common functions"Ryota Mibu2-38/+94
2016-12-08Merge "remove `Debug = True when run Flask and add logger"Tomi Juvonen5-15/+71
2016-12-07Merge "Adding UPSTREAM links"Ryota Mibu1-0/+39
2016-12-07blueprint performance-profilerYujun Zhang1-0/+118
JIRA: DOCTOR-72 Change-Id: Iced857d8194f15c660ae506119797f85e067a6f4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-01remove `Debug = True when run Flask and add loggerdongwenjuan5-15/+71
JIRA: DOCTOR-79 Change-Id: I9193ec387af3b593b8f19d8f4b72ddec5c759bc0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-11-29Fix typo in text and imagesYujun Zhang4-3/+3
Change-Id: I891dee905d1cf8a52ac6f6f7f4ea5b1e7e59da68 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-16Introducing common functionsCarlos Goncalves2-38/+94
These functions will ease human readability, writing and debugging of our test codes. Common functions imported from devstack project. This is series of patches to refactor the test baseline code in what it will hopefully become more modular, readable and maintainable. JIRA: DOCTOR-71 Change-Id: Icbd7a1c2b3979081db8e5de3c46d9827ab54d7ca Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-10-11Adding UPSTREAM linksRyota MIBU1-0/+39
See, https://gerrit.opnfv.org/gerrit/#/c/21057 . Change-Id: Ia1f9acfa4042776672abf9bcc6343a1cda9a943d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-21Merge "release notes for colorado"Ryota MIBU2-0/+180
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-09-20release notes for coloradoRyota MIBU2-0/+180
Change-Id: I22a5c29db6f37b15fc5d968de0d1662751314a20 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-09Merge "Run the tests with existing image"wenjuan dong1-4/+14
2016-09-08Run the tests with existing imagecristinapauna1-4/+14
When ran in functest on arm, the doctor suite fails because the x86 image is hardocded in the source files. This change adds the option to run the doctor suite with an existing image as opposed to downloading and creating it. The image name is taken from an enviroment variables (if it is set). When ran with functest, the env variable is set in doctor.py file. Change-Id: Ib6ce56e650ebe8b29618a9a31ec990f9f0895f54 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-09-08update docs license to CC BY 4.0Ryota MIBU2-11/+2
Change-Id: I02c6b5471d8ded0958dfe0a359268f3798d57cf5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-07Merge "fix the description in doctor_scenario_in_functest.rst"Carlos Goncalves1-4/+12
2016-09-07Unnecessary command and let VM creation stabilizeCarlos Goncalves1-3/+7
Method 'wait_for_status' in OpenStack CLI test_server.py suggests that we might have to wait a little bit longer after server reaches expected status. Better wait than break. Change-Id: I4aaa3091ac2e458aa527b6bd0164d65d46c85017 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-08-31fix the description in doctor_scenario_in_functest.rstdongwenjuan1-4/+12
Change-Id: I76d5437c64b080a5908b41ffca7686c7e7ae8e3b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-31Merge "Adjust the structure of doctor/userguide dir"Carlos Goncalves6-69/+31
2016-08-30Adjust the structure of doctor/userguide dirJulien-zte6-69/+31
Change-Id: Ie526d921dabbfa3b7a9c95f1705390c2eef53998 Signed-off-by: Julien <zhang.jun3g@zte.com.cn> Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
2016-08-26Add exit status to notification time calculationCarlos Goncalves1-1/+5
Change-Id: Ib85571c3939ecb5136eba2c5de8d4b72f2d0659e Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-08-25Merge "Minor changes to user guide Removal of configguide directory ↵wenjuan dong4-69/+4
Corrected links"
2016-08-24Merge "add notification_driver config in nova.conf"Bertrand Souville1-23/+51
2016-08-24Minor changes to user guideBertrand Souville4-69/+4
Removal of configguide directory Corrected links Change-Id: I74381f761b39a3db18ef9eee8555e1927ac9a326 Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2016-08-24add notification_driver config in nova.confdongwenjuan1-23/+51
Change-Id: Ib7462570b80bd0cf8214411a3467c5484a8d98a1 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-23Update version info of imageliyuanzhen1-1/+1
Change-Id: I0bfdb803a8152003849c4d1b26e55baf85fafd0e Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
2016-08-22Merge "resolve controller cannot talk to consumer in fuel"Tomi Juvonen1-25/+42
2016-08-22Updated Doctor user/config guides using opnfvdocs templatesBertrand Souville4-1/+60
https://gerrit.opnfv.org/gerrit/#/c/18311 https://gerrit.opnfv.org/gerrit/#/c/18967 Change-Id: Ia1a08415f316665dcd8ee5d0e99601ec3f3b753c Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2016-08-22resolve controller cannot talk to consumer in fueldongwenjuan1-25/+42
Change-Id: I0d5aac135d66bb41b4ecfe651f071800c323902d Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-22string compare use `!=` not `-ne`dongwenjuan1-1/+1
Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-21add modify ceilometer config in fuel envdongwenjuan1-0/+73
Change-Id: I59a2b3893272c8cb44d92babb8d2d7b0c0cf3302 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-20refactor some commmon functiondongwenjuan1-29/+45
get installer info and get key to access cloud can be picked up as common function for prepare env before test Change-Id: I1a96c4ad12f3f36dec0291c2f458e97e85f3ca27 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-19Test Congress Doctor driver supportCarlos Goncalves2-13/+135
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-08-19fix login to controller nodesRyota MIBU1-2/+2
Change-Id: I9a85923b1b1766435280aeddfcebfaccbbb4e098 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-19fix the way to get controller IPsRyota MIBU1-2/+4
Change-Id: I5c449ac13d804aa1a65c703fc1e6b0caa70ff142 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-19update workaround for notification from OpenStackRyota MIBU1-6/+28
Now ssh tunnels will be created from each controller node to functest container, so that aodh can send message to doctor consumer in functest VM. Change-Id: Ia4360e78caa99b17a27802477765ec055c1144d7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-18Merge "fix ssh tunnel creation"Ryota MIBU1-1/+1
2016-08-18fix ssh tunnel creationRyota MIBU1-1/+1
this patch removes unnecessary single quotes JIRA: DOCTOR-63 Change-Id: Ie24cb4c3c8fcae43371e58068cf03ee74ce9962e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-18Merge "add project when create user"dongwenjuan1-3/+4
2016-08-18workaround for issue controller cannot talk to consumerRyota MIBU1-1/+9
The doctor test kick by functest fails in some deployment due to no connectivity from controller to the doctor consumer. To avoid this issue, this patch add ssh tunnel from installer node to the functest contatiner. JIRA: DOCTOR-63 Change-Id: Ide85137767382a53ebd15b875fd216aeed632705 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-17add project when create userdongwenjuan1-3/+4
sometimes after create `admin` role, we use `openstack user role list doctor --project doctor` cli can't get the `admin` role. We should add project when we create user. Change-Id: Ib3ee8a3009600aa2c88de2350b483f295c12d8d5 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-17misuse `ssh_options`dongwenjuan1-2/+2
misuse `ssh_options` which is not define in script Change-Id: I932859750d7fbe7cd4b69e3f3aceb5d84fa8f485 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-11improve log printingsRyota MIBU1-5/+10
Now, we can see log messages in INFO level, but it's not clear from where to where comes from which log file. This patch adding file names in INFO level. Change-Id: I3c8fa9f28c2c9ca3e758536243a8110849591825 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-12Merge "Adding comparison of NFV, Doctor and AODH alarms"Gerald Kunzmann1-0/+86
2016-08-11Adding comparison of NFV, Doctor and AODH alarmsTommyLindgren@gerrit.opnfv.org1-0/+86
Change-Id: I07bb2317b3ef911302dc06182b112dfb47ffe6d5 JIRA: DOCTOR-46 Signed-off-by: TommyLindgren@gerrit.opnfv.org <tommy.lindgren@ericsson.com>
2016-08-11test scenario support fuel installerdongwenjuan1-7/+23
This patch extends support for fuel OPNFV installer for the test scenario. JIRA: DOCTOR-62 Change-Id: I09746b0e64b3999363db53c318027b81c471e2c4 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-10Revert role of doctor user to adminCarlos Goncalves1-1/+2
JIRA: DOCTOR-55 Change-Id: I41dc85fe43c2c8f9c5d98ff33770a59483caa19a Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-08-10Merge "Add newest Colorado feature"Bertrand Souville1-5/+13
2016-08-10Merge "Add a subsection under "Doctor capabilities and usage" section"Bertrand Souville1-1/+4