wenjuan dong [Thu, 22 Dec 2016 03:37:38 +0000 (03:37 +0000)]
Merge "Refactor inspectors support code"
Gerald Kunzmann [Thu, 15 Dec 2016 10:49:01 +0000 (10:49 +0000)]
Merge "Add performance-profiler to index"
Carlos Goncalves [Wed, 30 Nov 2016 13:08:20 +0000 (13:08 +0000)]
Refactor inspectors support code
JIRA: DOCTOR-71
Change-Id: I0913d4d0390325cc0cc715572b7525a6bbb795d3
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Ryota Mibu [Wed, 14 Dec 2016 02:51:31 +0000 (02:51 +0000)]
Merge "Refactor installers support code"
Yujun Zhang [Tue, 13 Dec 2016 14:12:02 +0000 (22:12 +0800)]
Add performance-profiler to index
Change-Id: I6f369506856b9ac4311f4b4d7fbeb738aac42253
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Gerald Kunzmann [Tue, 13 Dec 2016 15:00:43 +0000 (15:00 +0000)]
Merge "Inspector design guideline"
Carlos Goncalves [Mon, 12 Dec 2016 10:15:28 +0000 (10:15 +0000)]
Merge "remove print_log"
Carlos Goncalves [Wed, 16 Nov 2016 09:55:01 +0000 (09:55 +0000)]
Refactor installers support code
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>
Gerald Kunzmann [Fri, 9 Dec 2016 10:45:17 +0000 (10:45 +0000)]
Merge "blueprint performance-profiler"
Ryota Mibu [Thu, 8 Dec 2016 20:30:07 +0000 (20:30 +0000)]
Merge "Introducing common functions"
Tomi Juvonen [Thu, 8 Dec 2016 07:33:51 +0000 (07:33 +0000)]
Merge "remove `Debug = True when run Flask and add logger"
Ryota Mibu [Wed, 7 Dec 2016 21:24:59 +0000 (21:24 +0000)]
Merge "Adding UPSTREAM links"
Yujun Zhang [Wed, 7 Dec 2016 06:21:33 +0000 (14:21 +0800)]
blueprint performance-profiler
JIRA: DOCTOR-72
Change-Id: Iced857d8194f15c660ae506119797f85e067a6f4
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Ryota MIBU [Tue, 6 Dec 2016 20:49:58 +0000 (20:49 +0000)]
remove print_log
Now, we can see log files with jenkins weg GUI as log files are
archived automatically.
Change-Id: I6214c121a5d5ddbdf00524649f80da7810e8fd9e
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
dongwenjuan [Tue, 20 Sep 2016 09:56:28 +0000 (17:56 +0800)]
remove `Debug = True when run Flask and add logger
JIRA: DOCTOR-79
Change-Id: I9193ec387af3b593b8f19d8f4b72ddec5c759bc0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Yujun Zhang [Wed, 23 Nov 2016 06:21:32 +0000 (14:21 +0800)]
Fix typo in text and images
Change-Id: I891dee905d1cf8a52ac6f6f7f4ea5b1e7e59da68
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Thu, 10 Nov 2016 06:05:40 +0000 (14:05 +0800)]
Inspector design guideline
- outline created
- detailed guideline to be added in followup patchsets
JIRA: DOCTOR-73
Change-Id: I4134e2e34bc4550210246f9e16ad8d90e4c57be1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Carlos Goncalves [Wed, 16 Nov 2016 08:57:09 +0000 (08:57 +0000)]
Introducing common functions
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>
Ryota MIBU [Thu, 6 Oct 2016 06:49:47 +0000 (15:49 +0900)]
Adding UPSTREAM links
See, https://gerrit.opnfv.org/gerrit/#/c/21057 .
Change-Id: Ia1f9acfa4042776672abf9bcc6343a1cda9a943d
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota MIBU [Wed, 21 Sep 2016 10:55:45 +0000 (10:55 +0000)]
Merge "release notes for colorado"
dongwenjuan [Mon, 12 Sep 2016 08:57:57 +0000 (16:57 +0800)]
cache host-vm list when inspect start to run
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>
Ryota MIBU [Sun, 18 Sep 2016 22:29:05 +0000 (07:29 +0900)]
release notes for colorado
Change-Id: I22a5c29db6f37b15fc5d968de0d1662751314a20
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
wenjuan dong [Fri, 9 Sep 2016 00:07:01 +0000 (00:07 +0000)]
Merge "Run the tests with existing image"
cristinapauna [Mon, 5 Sep 2016 15:47:23 +0000 (18:47 +0300)]
Run the tests with existing image
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>
Ryota MIBU [Thu, 8 Sep 2016 04:27:54 +0000 (13:27 +0900)]
update docs license to CC BY 4.0
Change-Id: I02c6b5471d8ded0958dfe0a359268f3798d57cf5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Carlos Goncalves [Wed, 7 Sep 2016 13:20:06 +0000 (13:20 +0000)]
Merge "fix the description in doctor_scenario_in_functest.rst"
Carlos Goncalves [Tue, 6 Sep 2016 13:40:37 +0000 (15:40 +0200)]
Unnecessary command and let VM creation stabilize
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>
dongwenjuan [Thu, 25 Aug 2016 00:56:37 +0000 (08:56 +0800)]
fix the description in doctor_scenario_in_functest.rst
Change-Id: I76d5437c64b080a5908b41ffca7686c7e7ae8e3b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Wed, 31 Aug 2016 09:30:23 +0000 (09:30 +0000)]
Merge "Adjust the structure of doctor/userguide dir"
Julien-zte [Wed, 17 Aug 2016 08:08:18 +0000 (16:08 +0800)]
Adjust the structure of doctor/userguide dir
Change-Id: Ie526d921dabbfa3b7a9c95f1705390c2eef53998
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
Carlos Goncalves [Fri, 26 Aug 2016 14:00:29 +0000 (14:00 +0000)]
Add exit status to notification time calculation
Change-Id: Ib85571c3939ecb5136eba2c5de8d4b72f2d0659e
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
wenjuan dong [Thu, 25 Aug 2016 06:37:08 +0000 (06:37 +0000)]
Merge "Minor changes to user guide Removal of configguide directory Corrected links"
Bertrand Souville [Wed, 24 Aug 2016 13:26:15 +0000 (13:26 +0000)]
Merge "add notification_driver config in nova.conf"
Bertrand Souville [Wed, 24 Aug 2016 07:28:41 +0000 (09:28 +0200)]
Minor changes to user guide
Removal of configguide directory
Corrected links
Change-Id: I74381f761b39a3db18ef9eee8555e1927ac9a326
Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
dongwenjuan [Wed, 24 Aug 2016 09:05:19 +0000 (17:05 +0800)]
add notification_driver config in nova.conf
Change-Id: Ib7462570b80bd0cf8214411a3467c5484a8d98a1
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
liyuanzhen [Tue, 23 Aug 2016 02:11:25 +0000 (10:11 +0800)]
Update version info of image
Change-Id: I0bfdb803a8152003849c4d1b26e55baf85fafd0e
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
Tomi Juvonen [Mon, 22 Aug 2016 14:12:08 +0000 (14:12 +0000)]
Merge "resolve controller cannot talk to consumer in fuel"
Bertrand Souville [Mon, 22 Aug 2016 08:49:44 +0000 (10:49 +0200)]
Updated Doctor user/config guides using opnfvdocs templates
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>
dongwenjuan [Thu, 18 Aug 2016 02:48:22 +0000 (10:48 +0800)]
resolve controller cannot talk to consumer in fuel
Change-Id: I0d5aac135d66bb41b4ecfe651f071800c323902d
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
dongwenjuan [Mon, 22 Aug 2016 02:59:51 +0000 (10:59 +0800)]
string compare use `!=` not `-ne`
Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
dongwenjuan [Wed, 17 Aug 2016 10:03:11 +0000 (18:03 +0800)]
add modify ceilometer config in fuel env
Change-Id: I59a2b3893272c8cb44d92babb8d2d7b0c0cf3302
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
dongwenjuan [Thu, 18 Aug 2016 08:20:44 +0000 (16:20 +0800)]
refactor some commmon function
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>
Carlos Goncalves [Thu, 11 Aug 2016 13:04:14 +0000 (13:04 +0000)]
Test Congress Doctor driver support
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>
Ryota MIBU [Fri, 19 Aug 2016 09:55:27 +0000 (18:55 +0900)]
fix login to controller nodes
Change-Id: I9a85923b1b1766435280aeddfcebfaccbbb4e098
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota MIBU [Fri, 19 Aug 2016 09:15:42 +0000 (18:15 +0900)]
fix the way to get controller IPs
Change-Id: I5c449ac13d804aa1a65c703fc1e6b0caa70ff142
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota MIBU [Fri, 19 Aug 2016 08:58:20 +0000 (17:58 +0900)]
update workaround for notification from OpenStack
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>
Ryota MIBU [Thu, 18 Aug 2016 13:21:05 +0000 (13:21 +0000)]
Merge "fix ssh tunnel creation"
Ryota MIBU [Thu, 18 Aug 2016 13:18:49 +0000 (22:18 +0900)]
fix ssh tunnel creation
this patch removes unnecessary single quotes
JIRA: DOCTOR-63
Change-Id: Ie24cb4c3c8fcae43371e58068cf03ee74ce9962e
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
dongwenjuan [Thu, 18 Aug 2016 00:51:23 +0000 (00:51 +0000)]
Merge "add project when create user"
Ryota MIBU [Wed, 17 Aug 2016 17:20:46 +0000 (02:20 +0900)]
workaround for issue controller cannot talk to consumer
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>
dongwenjuan [Wed, 17 Aug 2016 08:55:16 +0000 (16:55 +0800)]
add project when create user
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>
dongwenjuan [Wed, 17 Aug 2016 04:32:26 +0000 (12:32 +0800)]
misuse `ssh_options`
misuse `ssh_options` which is not define in script
Change-Id: I932859750d7fbe7cd4b69e3f3aceb5d84fa8f485
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Ryota MIBU [Thu, 11 Aug 2016 01:45:10 +0000 (10:45 +0900)]
improve log printings
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>
Gerald Kunzmann [Fri, 12 Aug 2016 10:04:06 +0000 (10:04 +0000)]
Merge "Adding comparison of NFV, Doctor and AODH alarms"
TommyLindgren@gerrit.opnfv.org [Thu, 11 Aug 2016 08:22:13 +0000 (10:22 +0200)]
Adding comparison of NFV, Doctor and AODH alarms
Change-Id: I07bb2317b3ef911302dc06182b112dfb47ffe6d5
JIRA: DOCTOR-46
Signed-off-by: TommyLindgren@gerrit.opnfv.org <tommy.lindgren@ericsson.com>
dongwenjuan [Thu, 28 Jul 2016 11:35:36 +0000 (19:35 +0800)]
test scenario support fuel installer
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>
Carlos Goncalves [Wed, 10 Aug 2016 12:42:12 +0000 (14:42 +0200)]
Revert role of doctor user to admin
JIRA: DOCTOR-55
Change-Id: I41dc85fe43c2c8f9c5d98ff33770a59483caa19a
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Bertrand Souville [Wed, 10 Aug 2016 05:30:12 +0000 (05:30 +0000)]
Merge "Add newest Colorado feature"
Bertrand Souville [Wed, 10 Aug 2016 05:29:27 +0000 (05:29 +0000)]
Merge "Add a subsection under "Doctor capabilities and usage" section"
LeeYZ [Mon, 8 Aug 2016 06:37:38 +0000 (14:37 +0800)]
Add newest Colorado feature
Change-Id: I883098f5a7b7c84ce9ddda8694480f8912f1b6de
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
LeeYZ [Mon, 8 Aug 2016 08:49:23 +0000 (16:49 +0800)]
Add a subsection under "Doctor capabilities and usage" section
Change-Id: I6ec7a89e9dad8b72cf6e8956b45924e3685b6c14
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
Carlos Goncalves [Tue, 9 Aug 2016 18:47:27 +0000 (20:47 +0200)]
Change type of nova_api_version from float to str
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>
Carlos Goncalves [Tue, 9 Aug 2016 09:06:36 +0000 (11:06 +0200)]
Change role of doctor user to _member_
JIRA: DOCTOR-55
Change-Id: I36a8a3eaeceb3a6baacad44f410b8464ba7704d5
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Gerald Kunzmann [Fri, 5 Aug 2016 12:01:08 +0000 (12:01 +0000)]
Merge "fix doctor test"
Ryota MIBU [Fri, 5 Aug 2016 09:43:42 +0000 (18:43 +0900)]
fix doctor test
- support CI_DEBUG=true and CI_DEBUG=True
- use fqdn for hostname matching in overcloud, but keep using short
hostname for undercloud
- add printing of paramters, so that we can see them in info level
- make a result failed if the consumer didn't get message
- allow host_state=UNKNOWN after failure injected
JIRA: DOCTOR-63
Change-Id: Ib9bf02df3a68bec03e53db9d51c201545cf5a912
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota Mibu [Fri, 5 Aug 2016 10:37:44 +0000 (10:37 +0000)]
Merge "Port status update"
Carlos Goncalves [Wed, 27 Jul 2016 13:33:02 +0000 (15:33 +0200)]
Port status update
A blueprint spec for RFE https://bugs.launchpad.net/neutron/+bug/
1598081
[UPSTREAM] Closes-Bug: #
1598081
[UPSTREAM] Partial-Bug: #
1575146
Change-Id: I7a01b728a1fa40d89bb11ec02b4e21df04e54464
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Ryota MIBU [Tue, 2 Aug 2016 11:44:35 +0000 (20:44 +0900)]
Add Bertrand to Doctor Committer list
Change-Id: I86f5b01b670dd7aedd99ec4eb88a745379968599
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Carlos Goncalves [Tue, 2 Aug 2016 09:24:59 +0000 (11:24 +0200)]
Update Peter Lee's contact info
Change-Id: I54d8a25762aebbb4230592b4ad9bcf03f22df2d3
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
dongwenjuan [Tue, 2 Aug 2016 03:42:23 +0000 (11:42 +0800)]
fix the description of Doctor Scenario
fix the description of Doctor Scenario in Functest
Change-Id: If5b128c9ff395c5a939610419937e1e7e47b2654
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Gerald Kunzmann [Fri, 29 Jul 2016 10:18:13 +0000 (10:18 +0000)]
Merge "fix bugs to get `CONSUMER_IP`"
dongwenjuan [Thu, 28 Jul 2016 11:23:05 +0000 (19:23 +0800)]
fix bugs to get `CONSUMER_IP`
use `ip route get $COMPUTE_IP` to get CONSUMER_IP. And add script
fail if it failed to get CONSUMER_IP.
Change-Id: I2e330c9be6e00f31e6c3e27dd674f9aabbb74a41
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Thu, 28 Jul 2016 14:47:02 +0000 (16:47 +0200)]
Increase sleep time before re-checking host status
JIRA: DOCTOR-63
Change-Id: I4bc932dac22aca746489910bccb87f6571e3200b
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Carlos Goncalves [Thu, 28 Jul 2016 14:14:38 +0000 (16:14 +0200)]
Increase sleep time at cleanup phase
Extending sleep time by 60 seconds to allow Nova server to sync-up
states with nova-compute service.
JIRA: DOCTOR-66
Change-Id: I71c2f186fb3faf5550c7aede465c93c0674943e2
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Ryota Mibu [Wed, 27 Jul 2016 13:16:51 +0000 (13:16 +0000)]
Merge "Delete $VM_NAME and alrms with doctor user creds"
Carlos Goncalves [Wed, 27 Jul 2016 10:09:27 +0000 (10:09 +0000)]
Delete $VM_NAME and alrms with doctor user creds
'openstack server delete' tries to delete VM with admin credentials
which fails because $VM_NAME is under a different tenant.
Same for ceilometer alarms that we created with doctor creds.
Change-Id: Ibba3b842dc8fa160137bb04316d285e52d776641
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
dongwenjuan [Wed, 27 Jul 2016 02:57:16 +0000 (10:57 +0800)]
add `debug=True` in consumer
We need to add the `debug=True` in consumer to get the debug log
to get the time of consumer received the notifier
Change-Id: I90f2f8167a8670e28a3a5bcb5af054d378ef9b5b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Ryota MIBU [Tue, 26 Jul 2016 05:49:18 +0000 (14:49 +0900)]
fix doctor test
- revert to use nova command to get IP address of compute host
- disable interface which has the IP address of target compute host
JIRA: DOCTOR-63
Change-Id: Ic5dc7706476a542f13a942fdae5b347ce28d3f72
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota Mibu [Mon, 25 Jul 2016 13:05:11 +0000 (13:05 +0000)]
Merge "Move block code inside Apex section"
Ryota Mibu [Fri, 22 Jul 2016 12:34:42 +0000 (12:34 +0000)]
Merge "Exclude .img and .log files"
Ryota Mibu [Fri, 22 Jul 2016 12:33:57 +0000 (12:33 +0000)]
Merge "Fix typo in monitor to correctly print IP address"
Ryota Mibu [Fri, 22 Jul 2016 12:33:07 +0000 (12:33 +0000)]
Merge "Unset default COMPUTE_USER at the beginning of tests"
Ryota MIBU [Fri, 22 Jul 2016 10:56:06 +0000 (19:56 +0900)]
use --os-* options instead of env param
Parameters defined in another shell cannot be used in the main shell.
This leads bug in funcsion which execute another shell to performe
openstack command as doctor test user.
This patch makes the test script use --os-* options to performe as
doctor test user, so that we don't have to execute new shells in
the test script.
Change-Id: If148f00acae919a926bb5e9f2af8dd433a4110f5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Carlos Goncalves [Fri, 22 Jul 2016 10:44:01 +0000 (12:44 +0200)]
Unset default COMPUTE_USER at the beginning of tests
Each installer has different compute users and we set a default for each
in get_compute_host_info. Having COMPUTE_USER set at the beginning as is
and not passing in a value will default to 'none' and thus overriding
the default user of the installer. For example, COMPUTE_USER would be
set to 'none' instead of 'heat-admin' for Apex installer.
Change-Id: Ia60a88f68c52604bac6b7eef18e97e11328f1a6e
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Ryota MIBU [Fri, 22 Jul 2016 10:21:42 +0000 (19:21 +0900)]
make script fail if it failed to get COMPUTE_HOST
This patch is to make sure the test will be stop and report it failed.
JIRA: DOCTOR-63
Change-Id: Ibab577a100dee784df14e8b129fbde626d04fce9
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
dongwenjuan [Tue, 12 Jul 2016 10:10:56 +0000 (18:10 +0800)]
use specify host_ip in alarm_action
we can not use `localhost` in `--alarm-action`, it should be the IP
which the consumer started on.
Change-Id: I50b99e4ff7609c474fb569049b3b8cd216c9178b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Thu, 21 Jul 2016 20:26:32 +0000 (22:26 +0200)]
Fix typo in monitor to correctly print IP address
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Carlos Goncalves [Thu, 21 Jul 2016 12:35:21 +0000 (14:35 +0200)]
Exclude .img and .log files
Change-Id: I4bb4c53d7b42333a16dda05c25d947256168d4b9
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Carlos Goncalves [Thu, 21 Jul 2016 12:14:30 +0000 (12:14 +0000)]
Move block code inside Apex section
Change-Id: I87c971fedc6106165bfe0716a475edad5c43640c
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
dongwenjuan [Tue, 12 Jul 2016 02:21:51 +0000 (10:21 +0800)]
check host status before deleting doctor project
In `cleanup` function, we can't delete doctor project and doctor user
before checking host status. Because we use API to get the `host status`
under the doctor project.
Change-Id: I38c0929eeff9378051e0dcda308734ab7b353509
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Fri, 8 Jul 2016 07:40:47 +0000 (07:40 +0000)]
Merge "get compute host info after vm boot"
dongwenjuan [Wed, 6 Jul 2016 06:58:20 +0000 (14:58 +0800)]
get compute host info after vm boot
If there are multi-compute node, vm may not be scheduled to the
specified compute host. So get the compute host after vm is started.
Change-Id: I1bc3caaf8305beded9eb297b116968a190fd9751
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
dongwenjuan [Wed, 6 Jul 2016 08:12:26 +0000 (16:12 +0800)]
add version para to use `openstack server show` cli
We should add the version para to use `openstack server show` cli
to get `host_status`
Change-Id: Ie0332e3766cb88f687fa66bcd5d8218f311e8add
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Tue, 5 Jul 2016 11:05:47 +0000 (13:05 +0200)]
Move from legacy CLI to openstack CLI
openstack CLI does not support Ceilometer/Aodh calls yet.
Change-Id: I2074c794c00d0307421839acfa86e9f63f80ca5d
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
dongwenjuan [Thu, 30 Jun 2016 02:19:49 +0000 (10:19 +0800)]
fix check host states
Fix the check_host_status, modify the `TEST_ROLE`
as `admin` temporary.
Change-Id: I7260ef027cc75fe71db3a3b706f3720a93821e10
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Gerald Kunzmann [Mon, 4 Jul 2016 14:01:20 +0000 (14:01 +0000)]
Merge "get doctor vm info under doctor project"
dongwenjuan [Thu, 30 Jun 2016 02:09:27 +0000 (10:09 +0800)]
get doctor vm info under doctor project
get doctor vm state and vm_id should be in the doctor project
Change-Id: I7020b034264da7c9b035d37c44c57b952bed4271
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Gerald Kunzmann [Fri, 1 Jul 2016 10:13:16 +0000 (10:13 +0000)]
Merge "Pointer to "Port status update" RFE in upstream"
Carlos Goncalves [Fri, 1 Jul 2016 09:56:38 +0000 (11:56 +0200)]
Pointer to "Port status update" RFE in upstream
Change-Id: Ic45abcf3d888613b74a5b4d5b61f3eb5c6de0873
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Gerald Kunzmann [Fri, 1 Jul 2016 09:46:04 +0000 (09:46 +0000)]
Merge "Neutron RFE: Port Status Update"