doctor.git
7 years agoMerge "support config file"
wenjuan dong [Wed, 5 Jul 2017 14:29:27 +0000 (14:29 +0000)]
Merge "support config file"

7 years agoMerge "Create policy.json file in Ocata for non-admin user"
Ryota Mibu [Wed, 5 Jul 2017 08:21:12 +0000 (08:21 +0000)]
Merge "Create policy.json file in Ocata for non-admin user"

7 years agoCreate policy.json file in Ocata for non-admin user 05/35505/4
Umar Farooq [Mon, 29 May 2017 18:42:43 +0000 (18:42 +0000)]
Create policy.json file in Ocata for non-admin user

Non-admin user is not allowed to view host_status flag.
To get the host status, policy.json file needs to be
created as it is not available in Ocata by default.
This is created for local and fuel installer types
in this commit.

JIRA: DOCTOR-110

Change-Id: Ie626217a515f821c47b1cb6ed0e3d504d8e01b3a
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
7 years agosupport config file 89/36789/2
dongwenjuan [Thu, 22 Jun 2017 11:26:05 +0000 (19:26 +0800)]
support config file

Change-Id: Ib8e696acfe21787904fce6838341f3a256aa0267
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoreplace urllib2 with urllib.request for python3 11/36411/2
dongwenjuan [Fri, 23 Jun 2017 07:50:05 +0000 (15:50 +0800)]
replace urllib2 with urllib.request for python3

Change-Id: I68036c295689fae55125854074e3bc4d920fec06
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoadd test user, project and role 01/34101/8
dongwenjuan [Wed, 3 May 2017 06:27:18 +0000 (14:27 +0800)]
add test user, project and role

JIRA: DOCTOR-93

Change-Id: I85bfb21b7c07c40dfd1bfa6049130ad82fa3996a
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoMerge "Fix run.sh bug for dynamic interfaces"
Carlos Goncalves [Wed, 7 Jun 2017 09:23:49 +0000 (09:23 +0000)]
Merge "Fix run.sh bug for dynamic interfaces"

7 years agoFix run.sh bug for dynamic interfaces 03/35503/3
Umar Farooq [Mon, 29 May 2017 16:57:16 +0000 (16:57 +0000)]
Fix run.sh bug for dynamic interfaces

The run.sh extracts the name of interface using awk
with 7th value in "ip a" command but in case of DHCP
enabled interface this value is "dynamic". So the fix
takes the last value of the output which is the
correct interface name.
EDIT: Removed the redundant line to get 5th element.

JIRA: DOCTOR-109

Change-Id: I0775d90ef219387e5b68abd4fd98d38d2104f128
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
7 years agoRemove obsolete packages 65/35565/1
Yujun Zhang [Wed, 31 May 2017 08:52:09 +0000 (16:52 +0800)]
Remove obsolete packages

`os` and `sys` is no longer used in sample monitor, inspector and consumer

Change-Id: I6d2a6ccf1cd68851a80e6e6cf0c50bf06c8d1cbb
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoMerge "Adding PYTHON_ENABLE option"
Carlos Goncalves [Wed, 31 May 2017 07:50:33 +0000 (07:50 +0000)]
Merge "Adding PYTHON_ENABLE option"

7 years agoCreate devstack plugin for osprofiler configuration 63/35263/5
Yujun Zhang [Wed, 24 May 2017 02:19:48 +0000 (10:19 +0800)]
Create devstack plugin for osprofiler configuration

Change-Id: Ifd6f90ea1d39d7385f1ab099bc7b0b2ed59efac5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
7 years agoFix session error with INSPECTOR_TYPE=congress 29/35529/1
Umar Farooq [Tue, 30 May 2017 13:42:11 +0000 (13:42 +0000)]
Fix session error with INSPECTOR_TYPE=congress

In monitor.py, the self.session value is not defined
in DoctorMonitorSample class. This commit fixes it.

JIRA: DOCTOR-111

Change-Id: Ib61caa4146d78d6fe4857299c4730f13a7ac7a27
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
7 years agoAdding PYTHON_ENABLE option 41/33841/3
Ryota MIBU [Wed, 26 Apr 2017 11:31:03 +0000 (11:31 +0000)]
Adding PYTHON_ENABLE option

This option will be removed, once we confirmed tox/python testing code
works fine and functest trigger has changed from 'run.sh' to 'tox'.

Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Change-Id: Ia4421f6e39a415bd7b6212af612249deb482e7af

7 years agoAdd Keystone missing params 95/35495/1
Umar Farooq [Mon, 29 May 2017 15:18:42 +0000 (15:18 +0000)]
Add Keystone missing params

The values of OS_USER_DOMAIN_ID and OS_PROJECT_DOMAIN_ID
are needed as auth parameters else the nova API gives
HTTP 400 error.

JIRA: DOCTOR-108

Change-Id: I58b746e5216c00d2f78b0ccf899b69fe66c15848
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
7 years agouse password_plugin_loader for auth 49/34749/1
dongwenjuan [Mon, 15 May 2017 07:31:31 +0000 (15:31 +0800)]
use password_plugin_loader for auth

Change-Id: Ifb650f52fed641a7146358eada571e5c4beaf3d6
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoadd image code 87/29387/14
dongwenjuan [Thu, 13 Apr 2017 01:09:41 +0000 (09:09 +0800)]
add image code

JIRA: DOCTOR-93

Change-Id: I6551d5e31799b967ce442cb05a664c0d64a3dcf8
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoMerge "Change role of doctor user to _member_"
Tomi Juvonen [Thu, 27 Apr 2017 03:59:59 +0000 (03:59 +0000)]
Merge "Change role of doctor user to _member_"

7 years agoadd framework and tox 81/33381/8
dongwenjuan [Thu, 13 Apr 2017 01:09:41 +0000 (09:09 +0800)]
add framework and tox

JIRA: DOCTOR-93

Change-Id: Ife3255c4fe2d170c5d1b8354aaab24d5b1e3bc64
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
7 years agoChange role of doctor user to _member_ 41/22141/31
Tomi Juvonen [Thu, 15 Dec 2016 08:10:07 +0000 (10:10 +0200)]
Change role of doctor user to _member_

Change role of doctor user to _member_
Do needful changes to API calls
Add admin a role to project
Add Fuel support

JIRA: DOCTOR-80

Change-Id: Ic7f88b9ceb6c4fc90e5e985ecfbc50c907b2367e
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
7 years ago[docs] fix link in danube release notes 55/32655/1
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 37/32637/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>
7 years agodanube release notes 53/31953/5
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>
7 years agoRemove numbering 11/32311/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>
7 years agoAdd installation and configuration instructions for Vitrage as the Inspector. 45/28845/4
Ifat Afek [Thu, 16 Feb 2017 16:43:29 +0000 (18:43 +0200)]
Add installation and configuration instructions for Vitrage as the Inspector.

Change-Id: Ibe0bdf20872ae87c6e88263bba6b3a0e21c74940
Signed-off-by: Ifat Afek <ifat.afek@nokia.com>
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>
8 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>
8 years agoMerge "release notes for colorado"
Ryota MIBU [Wed, 21 Sep 2016 10:55:45 +0000 (10:55 +0000)]
Merge "release notes for colorado"

8 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>
8 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>
8 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"

8 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>
8 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>
8 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"

8 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>
8 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>
8 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"

8 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>
8 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>