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"
Carlos Goncalves [Tue, 28 Jun 2016 12:05:58 +0000 (14:05 +0200)]
Neutron RFE: Port Status Update
Change-Id: I7c68afe93f38553707bf413e493e1f8aa5dcfae4
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Gerald Kunzmann [Thu, 30 Jun 2016 15:24:01 +0000 (15:24 +0000)]
Merge "Description of Doctor Scenario in Functest"
Ryota MIBU [Thu, 30 Jun 2016 08:28:57 +0000 (08:28 +0000)]
Merge "Add Dong Wenjuan as committer"
Gerald Kunzmann [Thu, 30 Jun 2016 08:24:11 +0000 (08:24 +0000)]
Merge "add timeout handle"
Ryota MIBU [Thu, 30 Jun 2016 07:38:12 +0000 (16:38 +0900)]
Add Dong Wenjuan as committer
Change-Id: I187121450d2d0dfa6f9732f15f8b8cd84d8069fb
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
LeeYZ [Tue, 7 Jun 2016 02:23:20 +0000 (03:23 +0100)]
Description of Doctor Scenario in Functest
JIRA: DOCTOR-53
Change-Id: Ie8a1b2f8f49761cf455514923761d39efc2bbce8
Co-Authored-By: Gerald Kunzmann <kunzmann@docomolab-euro.com>
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
dongwenjuan [Thu, 16 Jun 2016 09:34:24 +0000 (17:34 +0800)]
add timeout handle
If create instance don't success, it will have a
endless loop for waiting instance to change to
`active` state.
Change-Id: I6eff3cbaefaf1ba7e30ae7fddcec62ac5c1544de
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Carlos Goncalves [Wed, 29 Jun 2016 07:39:57 +0000 (07:39 +0000)]
Merge "Add SB Event API specification"
Tomi Juvonen [Mon, 20 Jun 2016 07:38:45 +0000 (07:38 +0000)]
Merge "Before deleting the instance, check if the instance exists"
dongwenjuan [Thu, 16 Jun 2016 09:30:41 +0000 (17:30 +0800)]
Before deleting the instance, check if the instance exists
The instance may not exist if there is a error before creating
instance or it failed to create, run the `cleanup` to delete the
non-existent instance will raise an error
Change-Id: I13e4b63be952967605093a4427f5b0ac4be280c3
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
dongwenjuan [Thu, 16 Jun 2016 07:26:32 +0000 (15:26 +0800)]
use `openstack` cli instead of `keystone`cli
As in OpenStack, `keystone` cli is not used,
change `openstack` cli instead of `keystone`cli
Change-Id: I2c4679cba7fd80ea33098f89fbd9eecf65abdd8a
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Ryota MIBU [Tue, 12 Apr 2016 07:06:11 +0000 (16:06 +0900)]
Add SB Event API specification
This patch adds unified event api as southbound interface specification
between Monitors and Inspector.
JIRA: DOCTOR-17
Change-Id: I80a69a6735bcc68d55851a5524fc0c01b9cb35c5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
LeeYZ [Tue, 7 Jun 2016 06:59:04 +0000 (07:59 +0100)]
Fix a word spell in docs:02-use_cases.rst
Change-Id: I6ae339b0cd228c2b2f2c49d36422a1b13a9ffe23
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
Tomi Juvonen [Tue, 7 Jun 2016 05:03:35 +0000 (05:03 +0000)]
Merge "Revisit fault table"
Yujun Zhang [Thu, 26 May 2016 03:36:12 +0000 (11:36 +0800)]
Revisit fault table
- add storage fault (same content as compute)
- add example of mainboard error
- rename fault Hypervisor status not retrievable
- editorial fix
- complete "how to detect"
Change-Id: I9ec849014d18823f9a309396542e89a4e6da8b6c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Ryota MIBU [Fri, 27 May 2016 06:54:28 +0000 (15:54 +0900)]
test: respect 'CI_DEBUG' set by functest
In current bash script for doctor test, '-x' option is enabled and all
executing commands will be printed in the console.
Functest has a configuration to enable/disable this '-x' option. It is
environment variable 'CI_DEBUG'.
This patch makes doctor test script to set '-x' option according to
'CI_DEBUG'. If it's not set, '-x' option will be enabled as it was
enabled before this change.
JIRA: FUNCTEST-212
Change-Id: I9fa5036aad7a0f5c88378337d946439a6ee6108c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Ryota Mibu [Tue, 24 May 2016 10:22:53 +0000 (10:22 +0000)]
Merge "Fix typo and inconsistency"
Gerald Kunzmann [Tue, 24 May 2016 07:29:04 +0000 (07:29 +0000)]
Merge "Adding checking of host_status"
Tomi Juvonen [Mon, 16 May 2016 10:38:23 +0000 (13:38 +0300)]
Adding checking of host_status
Checking of host_status is added for non-admin user to see that
installer have properly set the Nova policy.json like:
"os_compute_api:servers:show:host_status": "rule:admin_or_owner"
JIRA: DOCTOR-61
Change-Id: Ieee997951b54f25b698ef0b70a628cfcf87b396a
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Zhang Yujun [Fri, 20 May 2016 06:19:26 +0000 (14:19 +0800)]
Fix typo and inconsistency
JIRA: DOCTOR-37
Change-Id: I67a38611a828a5d293cdfd1702b37fc89f5229a0
Signed-off-by: Zhang Yujun <zhang.yujunz@zte.com.cn>
Tomi Juvonen [Thu, 19 May 2016 03:50:24 +0000 (03:50 +0000)]
Merge "Manual for get-valid-server-state"
Tomi Juvonen [Tue, 10 May 2016 07:36:52 +0000 (10:36 +0300)]
Manual for get-valid-server-state
Change-Id: I684b94c18bc1961859907b5565f8498b97987092
JIRA: DOCTOR-47
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Carlos Goncalves [Tue, 17 May 2016 09:40:52 +0000 (11:40 +0200)]
Run 'ip' with sudo
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Carlos Goncalves [Sun, 20 Mar 2016 21:23:44 +0000 (22:23 +0100)]
Fix disable_network.sh and 'ip' path
The 'ip' bin file can be located in different paths depending on the Linux
distribution so better not hardcode it to a specific path.
CentOS 6: /sbin/ip
CentOS 7: /usr/sbin/ip
Ubuntu 14.04: /sbin/ip
Change-Id: I0b02a221d3367ed4bfd8596992a2774f22138b54
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Carlos Goncalves [Sun, 20 Mar 2016 17:15:17 +0000 (17:15 +0000)]
Add support to multi-installers and local envs
As of now, only support for Apex is available. This patch makes things easier
to extend support for other OPNFV installers. The patch also adds explicit
support for local OpenStack environments (e.g. deployed via devstack).
Change-Id: Ib36e8fef2418dfabbaa56b933f533650d184d4e3
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Ryota Mibu [Tue, 22 Mar 2016 23:35:56 +0000 (23:35 +0000)]
Merge "Output log when compute node is back online"
Carlos Goncalves [Mon, 21 Mar 2016 21:35:39 +0000 (22:35 +0100)]
Fix typos in strings
Change-Id: I1fe3adf5db8539178c0e068b73b22948d0e574d2
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>