doctor.git
7 years ago[docs] fix link in danube release notes 59/32659/1 stable/danube danube.1.0 danube.2.0 danube.3.0
Ryota MIBU [Fri, 31 Mar 2017 02:07:14 +0000 (02:07 +0000)]
[docs] fix link in danube release notes

Change-Id: Idd02339dd8547359d4e73849b94e071fb6aeaaf1
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoFix release notes reference 47/32647/1
Yujun Zhang [Fri, 31 Mar 2017 00:50:47 +0000 (08:50 +0800)]
Fix release notes reference

Change-Id: I4351600917570e3b9eddeefab43fee7882d20ddf
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
(cherry picked from commit bcffa7ef747c75a18d3b38182737222a6010ce36)

7 years agodanube release notes 41/32541/1 danube.1.RC1
Ryota MIBU [Tue, 28 Mar 2017 01:13:27 +0000 (01:13 +0000)]
danube release notes

Change-Id: Ic2401cc2c3e57324504d2c2d66a69c2e90a4ee91
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit 7a14778cf61c8a5000dbfb1600510440cad39e9f)

7 years agoRemove numbering 39/32539/1
ShubhamRathi [Wed, 29 Mar 2017 21:42:28 +0000 (03:12 +0530)]
Remove numbering

Remove numbering from documents as its showing
up in all headings in the composite documents.

Change-Id: I6c0171868f3c70082a8a42e5a33514dfbddab1ba
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit 59fa00582f75a00a8bca8300659463a12023f80f)

7 years agoMerge "[apex] change config for doctor testing"
Carlos Goncalves [Wed, 8 Mar 2017 14:52:20 +0000 (14:52 +0000)]
Merge "[apex] change config for doctor testing"

7 years agoMerge "Adding Labels"
Carlos Goncalves [Wed, 8 Mar 2017 10:15:16 +0000 (10:15 +0000)]
Merge "Adding Labels"

7 years agoAdding Labels 29/29929/2
ShubhamRathi [Tue, 7 Mar 2017 11:36:16 +0000 (17:06 +0530)]
Adding Labels

Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst

Change-Id: Iaf67246a415cf3bedb5b8c7028a35b3e1bd99d35
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
7 years ago[apex] change config for doctor testing 11/30011/6
Ryota MIBU [Wed, 8 Mar 2017 06:53:40 +0000 (06:53 +0000)]
[apex] change config for doctor testing

JIRA: DOCTOR-96

Change-Id: I5b0923ffeb53ff53ad9f780b8b5ebdce834d995a
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoAdding back the summary to the requirement document, but updated with 67/29967/4
Gerald Kunzmann [Tue, 7 Mar 2017 15:19:11 +0000 (15:19 +0000)]
Adding back the summary to the requirement document, but updated with
current Doctor status

Change-Id: Iba7f7f6ff97c4c651e8403a969739d3fced2aec0
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoMerge "Updated implemented architecture description and figure"
Carlos Goncalves [Tue, 7 Mar 2017 15:03:16 +0000 (15:03 +0000)]
Merge "Updated implemented architecture description and figure"

7 years agoUpdated implemented architecture description and figure 55/29855/1
Carlos Goncalves [Mon, 6 Mar 2017 12:28:42 +0000 (13:28 +0100)]
Updated implemented architecture description and figure

Also removes implementation plan for OPNFV Arno.

JIRA: DOCTOR-81

Change-Id: I22a711a7b8096e86a8f0b17d6875d00b15667c0c
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
7 years agoadd upstream gerrit path 23/29823/1
Ryota MIBU [Mon, 6 Mar 2017 06:22:35 +0000 (06:22 +0000)]
add upstream gerrit path

Change-Id: Iba10e6c3020aeec8d48dcc72e13698bffef03f0f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "Updates to Danube release documentation: JIRA: DOCTOR-81"
Ryota Mibu [Mon, 6 Mar 2017 00:31:36 +0000 (00:31 +0000)]
Merge "Updates to Danube release documentation: JIRA: DOCTOR-81"

7 years agourgent bug fixes for danube (2) 95/29795/2
Ryota MIBU [Sun, 5 Mar 2017 03:48:38 +0000 (03:48 +0000)]
urgent bug fixes for danube (2)

- 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>
7 years agourgent bug fixes for danube (1) 97/29697/14
Ryota MIBU [Fri, 3 Mar 2017 06:58:42 +0000 (06:58 +0000)]
urgent bug fixes for danube (1)

- 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>
7 years agoUpdates to Danube release documentation: JIRA: DOCTOR-81 59/29659/2
Gerald Kunzmann [Thu, 2 Mar 2017 16:32:58 +0000 (16:32 +0000)]
Updates to Danube release documentation: JIRA: DOCTOR-81

Proposal to remove "History" table as the history of the document can be
seen from the releases.
Proposal to remove "Summary and conclusion" as it is outdated and not
necessarily needed.

Change-Id: I3ebd73fd7b42d0c11209dfde93f5839762e432a6
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years ago[test] print log files 89/29489/4
Ryota MIBU [Tue, 28 Feb 2017 15:33:20 +0000 (15:33 +0000)]
[test] print log files

Change-Id: Id8f307624564a6b822595689dbde64fee351b17f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years ago[docs] add test manual 23/28223/5
Ryota MIBU [Tue, 7 Feb 2017 11:21:54 +0000 (11:21 +0000)]
[docs] add test manual

Change-Id: Ieb02b6fdf5f09fcd8bb803c1186c45284755061c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "Update docs structure according to new guidelines in https://wiki.opnfv.org...
Ryota Mibu [Fri, 17 Feb 2017 04:36:05 +0000 (04:36 +0000)]
Merge "Update docs structure according to new guidelines in https://wiki.opnfv.org/display/DOC"

7 years agoMerge "Add multiple VM support"
Ryota Mibu [Fri, 17 Feb 2017 04:35:09 +0000 (04:35 +0000)]
Merge "Add multiple VM support"

7 years agoAdd multiple VM support 75/26675/12
Tomi Juvonen [Wed, 4 Jan 2017 07:34:37 +0000 (09:34 +0200)]
Add multiple VM support

Add support to run Doctor test with more than one VM by setting
VM_COUNT to wanted amount of VMs. Normally half of those VMs
gets scheduled to host that is used for Doctor testing.

JIRA: DOCTOR-77

Change-Id: I9fac96c6f53c290fccc35a2fd933b9fb106b96f2
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
7 years agoUpdate docs structure according to new guidelines in https://wiki.opnfv.org/display/DOC 35/28635/6
Gerald Kunzmann [Tue, 14 Feb 2017 15:38:29 +0000 (15:38 +0000)]
Update docs structure according to new guidelines in https://wiki.opnfv.org/display/DOC

Change-Id: I1c8c20cf85aa46269c5bc369f17ab0020862ddc5
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoimprove installation manual (add congress config) 11/28211/3
Ryota MIBU [Tue, 7 Feb 2017 10:31:05 +0000 (10:31 +0000)]
improve installation manual (add congress config)

JIRA: DOCTOR-85

Change-Id: I17d5a5c393cc92013a1cf82f6a0f76c360ab7c02
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "refactor lib/installer"
Ryota Mibu [Fri, 3 Feb 2017 02:44:28 +0000 (02:44 +0000)]
Merge "refactor lib/installer"

7 years agorefactor lib/installer 13/27913/2
Ryota MIBU [Thu, 2 Feb 2017 15:03:01 +0000 (15:03 +0000)]
refactor lib/installer

- 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>
7 years agoMerge "Fix bugs in profiler"
Tomi Juvonen [Thu, 2 Feb 2017 15:20:38 +0000 (15:20 +0000)]
Merge "Fix bugs in profiler"

7 years agocorrect usage of common functions 91/27891/1
Ryota MIBU [Thu, 2 Feb 2017 11:28:43 +0000 (11:28 +0000)]
correct usage of common functions

Change-Id: I5c486c5f08880f6b3b6b4b393360752fb6077bed
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoFix functions for fuel installer 55/27655/11
Ryota MIBU [Fri, 27 Jan 2017 05:13:46 +0000 (05:13 +0000)]
Fix functions for fuel installer

JIRA: DOCTOR-58

Change-Id: Ic9326791007a3afa754cc64423b46adc17c59dc0
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoFix bugs in profiler 35/27335/19
Yujun Zhang [Sat, 21 Jan 2017 14:30:05 +0000 (22:30 +0800)]
Fix bugs in profiler

- collect disable_network.log
- use Python oneliner instead of `bc`
- rename T00 from hostdown to linkdown
- add step collect_logs
- move profiler to a dedicated step
- reorder function definitions to elimate warning on unresolved variable
- redirect also stderr to log

JIRA: DOCTOR-94
Change-Id: Ic63e5163945c5b21fd1d1c0bf99be353c11c2ada
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoimprove cleanup() in run.sh 57/27657/10
Ryota MIBU [Fri, 27 Jan 2017 06:34:06 +0000 (06:34 +0000)]
improve cleanup() in run.sh

- 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>
7 years agoprint git head 13/27713/1
Ryota MIBU [Mon, 30 Jan 2017 05:44:28 +0000 (05:44 +0000)]
print git head

Change-Id: I62b1cbc0a6a443ca7457fc2d5896aafe5d06396f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoFix an issue with the latest build as proposed by Aric in 63/27663/2
Gerald Kunzmann [Fri, 27 Jan 2017 08:15:15 +0000 (08:15 +0000)]
Fix an issue with the latest build as proposed by Aric in
https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-January/014799.html
This patch is not changing the content of the document.

Change-Id: I2db06bd2cbcc22be2b4dda3fd7ad6fe0403f22a0
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoMerge "Update the documentation to Danube release: JIRA: DOCTOR-81"
Ryota Mibu [Thu, 26 Jan 2017 09:06:57 +0000 (09:06 +0000)]
Merge "Update the documentation to Danube release: JIRA: DOCTOR-81"

7 years agoMerge "Several editorial corrections and improvements"
Carlos Goncalves [Tue, 24 Jan 2017 13:37:04 +0000 (13:37 +0000)]
Merge "Several editorial corrections and improvements"

7 years agoEditorial fix on the fault table in 5.5.3 37/27237/2
Gerald Kunzmann [Thu, 19 Jan 2017 09:13:15 +0000 (09:13 +0000)]
Editorial fix on the fault table in 5.5.3

Change-Id: Ia4e56ece218e27c497e8f49637a15957e7d080e6
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoMerge "Several updates to the alarm comparison table in Section 5.5.3"
Carlos Goncalves [Thu, 19 Jan 2017 09:06:13 +0000 (09:06 +0000)]
Merge "Several updates to the alarm comparison table in Section 5.5.3"

7 years agoSeveral updates to the alarm comparison table in Section 5.5.3 15/26715/5
Gerald Kunzmann [Thu, 5 Jan 2017 10:19:25 +0000 (10:19 +0000)]
Several updates to the alarm comparison table in Section 5.5.3

Change-Id: I18662be95a265f825df2e020abd2f93fb3bada2c
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoMerge "resignation of Tommy Lindgren"
Ryota Mibu [Thu, 19 Jan 2017 08:03:43 +0000 (08:03 +0000)]
Merge "resignation of Tommy Lindgren"

7 years agoMerge "Detail more on fencing mechanisms"
Ryota Mibu [Thu, 19 Jan 2017 05:35:58 +0000 (05:35 +0000)]
Merge "Detail more on fencing mechanisms"

7 years agoDump profiling data to json file to report by functest 81/27081/2
Yujun Zhang [Tue, 17 Jan 2017 07:26:18 +0000 (15:26 +0800)]
Dump profiling data to json file to report by functest

Change-Id: Iceead5b8d47bea3c6dc9f0475dc453fb5062070a
JIRA: DOCTOR-91
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoDetail more on fencing mechanisms 49/27049/2
Carlos Goncalves [Mon, 16 Jan 2017 14:42:28 +0000 (14:42 +0000)]
Detail more on fencing mechanisms

JIRA: DOCTOR-81

Change-Id: I521f0a24bee40daebaabaaf163bb53f55430fe72
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
7 years agoAdd more timestamps and export them for profiler 31/26531/6
Julien [Tue, 27 Dec 2016 15:28:21 +0000 (23:28 +0800)]
Add more timestamps and export them for profiler

Add timestamps when mark host and vm down(T03/T04).
Update the sequence for host down and vm error
Export more time tags for profiler:
    1. Calculate and export  T01,T03,T04 timestamps
    2. Use regex to get time from log instead fixed column
    3. Fix var usage without a '$'

info: merge gerrit ticket 26551 into 26531.

JIRA: DOCTOR-88

Change-Id: I3e6ccba667f470b4a00219f1e9830bb0da3d4ae5
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
7 years agoresignation of Tommy Lindgren 21/26821/1
Ryota MIBU [Tue, 10 Jan 2017 12:17:06 +0000 (12:17 +0000)]
resignation of Tommy Lindgren

Change-Id: I68f18879543edda5045dd4ba5c4aea2c63cae819
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoSeveral editorial corrections and improvements 31/26731/5
Gerald Kunzmann [Thu, 5 Jan 2017 13:51:55 +0000 (13:51 +0000)]
Several editorial corrections and improvements

JIRA: DOCTOR-81

Change-Id: I3a9c0d020bcbdbb261df8209556dbdf488f3c3db
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agoUpdate the documentation to Danube release: JIRA: DOCTOR-81 65/24365/4
Gerald Kunzmann [Tue, 15 Nov 2016 16:24:59 +0000 (16:24 +0000)]
Update the documentation to Danube release: JIRA: DOCTOR-81

Change-Id: I118b9c8d54857deff72b51789e5adb25b3d28b20
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
7 years agofix the data which post to sample inspector align to SB API 93/26593/6
dongwenjuan [Fri, 30 Dec 2016 02:23:09 +0000 (10:23 +0800)]
fix the data which post to sample inspector align to SB API

Change-Id: I18b0703541aa702ec833cd102260e92831a89e3a
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoAdd timelog when set network down 29/26529/2
Julien [Tue, 27 Dec 2016 10:27:34 +0000 (18:27 +0800)]
Add timelog when set network down

Add timelog for T00 refering to the definition in 'profiler.py'

JIRA: DOCTOR-89

Change-Id: I793f03e09bb7be31ba45e79ed5c4b4cb2549e9fb
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
7 years agoPoC of performance profiler 81/25081/13
Yujun Zhang [Tue, 29 Nov 2016 08:03:17 +0000 (16:03 +0800)]
PoC of performance profiler

- export environment variables to set check points in millisecond
- valid check points are: DOCTOR_PROFILER_T{00-09}

See also https://gerrit.opnfv.org/gerrit/#/c/26439

JIRA: DOCTOR-72

Change-Id: I5a63309fbb23934ac468c05a2e91881ec3f87b4a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoAdd section headers to verification script 03/26403/2
Yujun Zhang [Thu, 22 Dec 2016 03:02:07 +0000 (11:02 +0800)]
Add section headers to verification script

Change-Id: I4263b245c83c6b730d0458b3bf604683c0e9b64d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoMerge "Refactor inspectors support code"
wenjuan dong [Thu, 22 Dec 2016 03:37:38 +0000 (03:37 +0000)]
Merge "Refactor inspectors support code"

7 years agoMerge "Add performance-profiler to index"
Gerald Kunzmann [Thu, 15 Dec 2016 10:49:01 +0000 (10:49 +0000)]
Merge "Add performance-profiler to index"

7 years agoRefactor inspectors support code 13/25313/5
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>
7 years agoMerge "Refactor installers support code"
Ryota Mibu [Wed, 14 Dec 2016 02:51:31 +0000 (02:51 +0000)]
Merge "Refactor installers support code"

7 years agoAdd performance-profiler to index 75/25875/2
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>
7 years agoMerge "Inspector design guideline"
Gerald Kunzmann [Tue, 13 Dec 2016 15:00:43 +0000 (15:00 +0000)]
Merge "Inspector design guideline"

7 years agoMerge "remove print_log"
Carlos Goncalves [Mon, 12 Dec 2016 10:15:28 +0000 (10:15 +0000)]
Merge "remove print_log"

7 years agoRefactor installers support code 99/24399/3
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>
7 years agoMerge "blueprint performance-profiler"
Gerald Kunzmann [Fri, 9 Dec 2016 10:45:17 +0000 (10:45 +0000)]
Merge "blueprint performance-profiler"

7 years agoMerge "Introducing common functions"
Ryota Mibu [Thu, 8 Dec 2016 20:30:07 +0000 (20:30 +0000)]
Merge "Introducing common functions"

7 years agoMerge "remove `Debug = True when run Flask and add logger"
Tomi Juvonen [Thu, 8 Dec 2016 07:33:51 +0000 (07:33 +0000)]
Merge "remove `Debug = True when run Flask and add logger"

7 years agoMerge "Adding UPSTREAM links"
Ryota Mibu [Wed, 7 Dec 2016 21:24:59 +0000 (21:24 +0000)]
Merge "Adding UPSTREAM links"

7 years agoblueprint performance-profiler 91/25591/1
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>
7 years agoremove print_log 59/25559/1
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>
7 years agoremove `Debug = True when run Flask and add logger 99/21799/12
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>
7 years agoFix typo in text and images 39/24739/4
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>
7 years agoInspector design guideline 43/24143/6
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>
7 years agoIntroducing common functions 95/24395/2
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>
7 years agoAdding UPSTREAM links 23/22723/2
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>
7 years agoMerge "release notes for colorado"
Ryota MIBU [Wed, 21 Sep 2016 10:55:45 +0000 (10:55 +0000)]
Merge "release notes for colorado"

7 years agocache host-vm list when inspect start to run 77/20877/8
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>
7 years agorelease notes for colorado 37/21437/10
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>
7 years agoMerge "Run the tests with existing image"
wenjuan dong [Fri, 9 Sep 2016 00:07:01 +0000 (00:07 +0000)]
Merge "Run the tests with existing image"

7 years agoRun the tests with existing image 69/20369/4
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>
7 years agoupdate docs license to CC BY 4.0 31/20631/1
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>
7 years agoMerge "fix the description in doctor_scenario_in_functest.rst"
Carlos Goncalves [Wed, 7 Sep 2016 13:20:06 +0000 (13:20 +0000)]
Merge "fix the description in doctor_scenario_in_functest.rst"

7 years agoUnnecessary command and let VM creation stabilize 63/20463/3
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>
7 years agofix the description in doctor_scenario_in_functest.rst 37/19537/7
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>
7 years agoMerge "Adjust the structure of doctor/userguide dir"
Carlos Goncalves [Wed, 31 Aug 2016 09:30:23 +0000 (09:30 +0000)]
Merge "Adjust the structure of doctor/userguide dir"

7 years agoAdjust the structure of doctor/userguide dir 05/18805/22
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>
7 years agoAdd exit status to notification time calculation 49/19649/1
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>
7 years agoMerge "Minor changes to user guide Removal of configguide directory Corrected links"
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"

7 years agoMerge "add notification_driver config in nova.conf"
Bertrand Souville [Wed, 24 Aug 2016 13:26:15 +0000 (13:26 +0000)]
Merge "add notification_driver config in nova.conf"

7 years agoMinor changes to user guide 35/19435/3
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>
7 years agoadd notification_driver config in nova.conf 57/19457/1
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>
7 years agoUpdate version info of image 63/19263/1
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>
7 years agoMerge "resolve controller cannot talk to consumer in fuel"
Tomi Juvonen [Mon, 22 Aug 2016 14:12:08 +0000 (14:12 +0000)]
Merge "resolve controller cannot talk to consumer in fuel"

7 years agoUpdated Doctor user/config guides using opnfvdocs templates 69/19169/2
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>
7 years agoresolve controller cannot talk to consumer in fuel 03/18903/6
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>
7 years agostring compare use `!=` not `-ne` 47/19147/1
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>
7 years agoadd modify ceilometer config in fuel env 19/18819/6
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>
7 years agorefactor some commmon function 29/18929/4
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>
7 years agoTest Congress Doctor driver support 29/18429/10
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>
7 years agofix login to controller nodes 51/19051/1
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>
7 years agofix the way to get controller IPs 49/19049/1
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>
7 years agoupdate workaround for notification from OpenStack 45/19045/1
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>
7 years agoMerge "fix ssh tunnel creation"
Ryota MIBU [Thu, 18 Aug 2016 13:21:05 +0000 (13:21 +0000)]
Merge "fix ssh tunnel creation"

7 years agofix ssh tunnel creation 65/18965/1
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>
7 years agoMerge "add project when create user"
dongwenjuan [Thu, 18 Aug 2016 00:51:23 +0000 (00:51 +0000)]
Merge "add project when create user"

7 years agoworkaround for issue controller cannot talk to consumer 61/18861/1
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>
7 years agoadd project when create user 11/18811/1
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>