doctor.git
6 years agoDelete project after stopping Inspector 31/39431/1
Carlos Goncalves [Wed, 16 Aug 2017 13:32:56 +0000 (15:32 +0200)]
Delete project after stopping Inspector

At cleanup phase, the sample Inspector fails to re-enable the state of
the compute services. Such happens because the novaclient instance it's
using is bound to the 'doctor' project, which has just been deleted at
user.delete(). Thus, it is necessary to postpone the deletion of the
project after stopping the inspector.

Change-Id: I8cd5885cdfd3671a6c28342bdee65eac64dafaa8
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
6 years agoMerge "make poc profiler run in default"
wenjuan dong [Wed, 16 Aug 2017 01:07:00 +0000 (01:07 +0000)]
Merge "make poc profiler run in default"

6 years agoadd the whole config opts in sample config 35/39235/2
dongwenjuan [Mon, 14 Aug 2017 07:14:16 +0000 (15:14 +0800)]
add the whole config opts in sample config

comment the monitor opts, as all the tests will be runned with collected monitor

Change-Id: Ie63b74f69b9452de31e85d9cc8ec0d49127ebc06
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agomake poc profiler run in default 81/33881/2
Ryota MIBU [Wed, 26 Apr 2017 14:31:15 +0000 (14:31 +0000)]
make poc profiler run in default

Change-Id: Icd110bd532e86a86b82824e849337649c284d3e6
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agoAdd Collectd as a Monitor Type 57/37357/6
Umar Farooq [Thu, 13 Jul 2017 10:20:56 +0000 (12:20 +0200)]
Add Collectd as a Monitor Type

A plugin for collectd is added to use collectd on compute as a
monitor type. Monitor files are updated accordingly.
The inspector now listens on all interfaces instead of only
localhost to enable it to communicate with compute node.

JIRA: DOCTOR-86
JIRA: DOCTOR-101

Change-Id: Idc834d428152e4687020eff7d8db36a652b1bf86
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
6 years agoMerge "refactor apex installer"
Ryota Mibu [Wed, 9 Aug 2017 02:46:52 +0000 (02:46 +0000)]
Merge "refactor apex installer"

6 years agoMerge "fix the bug: congress server can't be started"
wenjuan dong [Tue, 8 Aug 2017 10:09:46 +0000 (10:09 +0000)]
Merge "fix the bug: congress server can't be started"

6 years agofix the bug: congress server can't be started 25/38825/3
dongwenjuan [Mon, 7 Aug 2017 07:10:40 +0000 (15:10 +0800)]
fix the bug: congress server can't be started

After we modify the congress.conf file, congress server can't be started.

Change-Id: Icc3bd044a5fb7622620c42d6d25802739de875d0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor apex installer 13/38813/4
dongwenjuan [Mon, 7 Aug 2017 02:19:23 +0000 (10:19 +0800)]
refactor apex installer

JIRA: DOCTOR-100

Change-Id: I684071d35aac99ad1f5b65ae74e0a98ac726af35
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoinstall python packages 21/38821/1
dongwenjuan [Mon, 7 Aug 2017 06:28:37 +0000 (14:28 +0800)]
install python packages

Change-Id: Id68c9b1206deb58ff94fc942fbef94bffbc1e68b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor local installer 27/37727/9
dongwenjuan [Mon, 17 Jul 2017 00:54:22 +0000 (08:54 +0800)]
refactor local installer

JIRA: DOCTOR-100

Change-Id: I1e2c53f7a716156e35386d42c0df32a228a78fab
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor sample consumer 73/37173/7
dongwenjuan [Tue, 11 Jul 2017 11:07:22 +0000 (19:07 +0800)]
refactor sample consumer

JIRA: DOCTOR-113

Change-Id: I60f17953e9b1cdf31ea50f313b33f8ede0831bc2
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "refactor congress inspector"
wenjuan dong [Sat, 29 Jul 2017 04:44:03 +0000 (04:44 +0000)]
Merge "refactor congress inspector"

6 years agorefactor congress inspector 87/36987/6
dongwenjuan [Thu, 6 Jul 2017 01:57:18 +0000 (09:57 +0800)]
refactor congress inspector

JIRA: DOCTOR-98

Change-Id: I22fa893a1c1973fc63f994b630dd0c6a2c30e641
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor the monitor 63/34463/17
dongwenjuan [Wed, 12 Apr 2017 02:46:39 +0000 (10:46 +0800)]
refactor the monitor

JIRA: DOCTOR-99

Change-Id: I1831d329ffe80435532678fcb23d54f310422ce8
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "fix some bugs for python verify jobs:"
wenjuan dong [Thu, 27 Jul 2017 01:29:50 +0000 (01:29 +0000)]
Merge "fix some bugs for python verify jobs:"

6 years agoMerge "refactor sample inspector"
wenjuan dong [Thu, 27 Jul 2017 01:26:53 +0000 (01:26 +0000)]
Merge "refactor sample inspector"

6 years agoMerge "Fix host status grep bug and Remove connection_pool argument"
Carlos Goncalves [Wed, 26 Jul 2017 10:36:34 +0000 (10:36 +0000)]
Merge "Fix host status grep bug and Remove connection_pool argument"

6 years agofix some bugs for python verify jobs: 07/37907/8
dongwenjuan [Fri, 21 Jul 2017 07:20:54 +0000 (15:20 +0800)]
fix some bugs for python verify jobs:

1.PYTHON_ENABLE=True does not work in bash
The python jobs does not run even we enabled them. The reason is that currently
JJB parse the parameter 'PYTHON_ENABLE' as 'True' which does not work in bash.
Fix it to compare with [Tt]rue.

2.Install tox if it is not installed

3.support only python3.4 in tox.ini

4.install python3-dev

Change-Id: I1a8ebad2fd06fe50ca4f739adb8d6d76caa2963b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor sample inspector 39/36839/9
dongwenjuan [Mon, 3 Jul 2017 02:03:35 +0000 (10:03 +0800)]
refactor sample inspector

JIRA: DOCTOR-98

Change-Id: I7110b680d0a0c64b1b2666abcea183e73373dca7
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "Added steps to enable Python 3 and Congress in README file"
wenjuan dong [Tue, 18 Jul 2017 03:05:34 +0000 (03:05 +0000)]
Merge "Added steps to enable Python 3 and Congress in README file"

6 years agoAdded steps to enable Python 3 and Congress in README file 31/37631/1
Bertrand Souville [Mon, 17 Jul 2017 13:29:59 +0000 (15:29 +0200)]
Added steps to enable Python 3 and Congress in README file

Change-Id: Ic880836931f3f00c9ff926c9e981b0d49c9a045e
Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
6 years agoUpdates upstream file (dataplane status to network port in Neutron) 23/37623/1
Bertrand Souville [Mon, 17 Jul 2017 10:44:45 +0000 (12:44 +0200)]
Updates upstream file (dataplane status to network port in Neutron)

Change-Id: I00f232dede044ca396fe914272e7ade9ac9d6753
Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
6 years agoFix host status grep bug and Remove connection_pool argument 81/37381/1
Umar Farooq [Thu, 13 Jul 2017 12:51:51 +0000 (14:51 +0200)]
Fix host status grep bug and Remove connection_pool argument

Host status returned the wrong output as the "OS-EXT-SRV-ATTR:host"
pattern appears twice in the "openstack server show" output.
The argument connection_pool is deprecated and is not needed.

Change-Id: Ib107e0bad8084bdf6f77689f112bde04bdb97543
Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
6 years agoadd create alarm 29/34829/14
dongwenjuan [Tue, 16 May 2017 07:46:04 +0000 (15:46 +0800)]
add create alarm

JIRA: DOCTOR-93

Change-Id: I316608c9627ff38e55154257b798244de3f221c5
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoAdd create instances 37/34537/13
dongwenjuan [Wed, 10 May 2017 07:21:38 +0000 (15:21 +0800)]
Add create instances

JIRA: DOCTOR-93

Change-Id: I7645c1cc0c76ff86b9fbcc01c19038469fc9b9b4
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "support config file"
wenjuan dong [Wed, 5 Jul 2017 14:29:27 +0000 (14:29 +0000)]
Merge "support config file"

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

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

6 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>
6 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>
6 years agoMerge "Adding PYTHON_ENABLE option"
Carlos Goncalves [Wed, 31 May 2017 07:50:33 +0000 (07:50 +0000)]
Merge "Adding PYTHON_ENABLE option"

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

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