doctor.git
6 years agoMerge "Euphrates release note" into stable/euphrates opnfv-5.0.0 opnfv-5.0.RC1
Bertrand Souville [Fri, 20 Oct 2017 17:02:41 +0000 (17:02 +0000)]
Merge "Euphrates release note" into stable/euphrates

6 years agoEuphrates release note 25/45425/3
Ryota MIBU [Mon, 2 Oct 2017 15:17:30 +0000 (15:17 +0000)]
Euphrates release note

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

6 years agoupdate the docs of testing 47/45747/1
dongwenjuan [Mon, 16 Oct 2017 12:16:00 +0000 (20:16 +0800)]
update the docs of testing

Change-Id: Ibfc04831f12778cb0cc3769781b864a56a581881
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit b8c169d1f7358645514f93f68b966f33c5af7e56)

6 years agofix the bug for consumer don't receive the notification 13/45413/1
dongwenjuan [Mon, 16 Oct 2017 12:04:01 +0000 (20:04 +0800)]
fix the bug for consumer don't receive the notification

There is no 'sudo' command in functest container, so the stunnel is setup failed.

Change-Id: I9e317c0643a370fb5b35d90363b0ff734a77c040
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit aa16cb3987bad7abfb8743cb205980a50d5f12fe)

6 years agofix to get logfile 59/44559/1
dongwenjuan [Mon, 9 Oct 2017 07:25:33 +0000 (15:25 +0800)]
fix to get logfile

Change-Id: I44cc6c5108eb48191ca36cbcb44f787ea542f3ce
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit b3dcaa337fa91b3123fa08e8b8dd2e81184a91dd)

6 years agoFix retrieval of log filename path 95/44495/2
Carlos Goncalves [Fri, 6 Oct 2017 16:54:22 +0000 (18:54 +0200)]
Fix retrieval of log filename path

Change-Id: I0dd61a020827e7ba9ec7a2e0300bf50dd7175e86
Signed-off-by: Carlos Goncalves <mail@cgoncalves.pt>
(cherry picked from commit 4f6132978ad548ee1e696016d450d0b4a4cbab9f)

6 years agofix the way to get log filename 57/44257/1
Ryota MIBU [Wed, 4 Oct 2017 16:26:33 +0000 (16:26 +0000)]
fix the way to get log filename

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

6 years agofix referring neutron option in inspector 05/43905/1
Ryota MIBU [Mon, 2 Oct 2017 13:15:12 +0000 (13:15 +0000)]
fix referring neutron option in inspector

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

6 years agooption: "update_neutron_port_dp_status" 31/43631/2
Ryota MIBU [Fri, 29 Sep 2017 13:01:03 +0000 (13:01 +0000)]
option: "update_neutron_port_dp_status"

This patch introduces new boolean option "update_neutron_port_dp_status",
which disabled by default.

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

6 years agoMerge "Add parallel execution and shortcut notification to inspector design guideline...
Bertrand Souville [Wed, 27 Sep 2017 06:07:03 +0000 (06:07 +0000)]
Merge "Add parallel execution and shortcut notification to inspector design guideline" into stable/euphrates

6 years agoMerge "fix collectd's bug" into stable/euphrates
Bertrand Souville [Wed, 27 Sep 2017 06:04:39 +0000 (06:04 +0000)]
Merge "fix collectd's bug" into stable/euphrates

6 years agofix the path of log file 59/43259/1
dongwenjuan [Tue, 26 Sep 2017 07:33:14 +0000 (15:33 +0800)]
fix the path of log file

Change-Id: I823bdc453c32decb0160f0915d749af4ac664908
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit 1336b9add0dc6fb91fbf71431e3bfa1cd0dd89d6)

6 years agoAdd parallel execution and shortcut notification to inspector design guideline 57/43257/1
Yujun Zhang [Wed, 6 Sep 2017 06:05:36 +0000 (14:05 +0800)]
Add parallel execution and shortcut notification to inspector design guideline

JIRA: DOCTOR-73
Change-Id: Ic412b0c5e966f4391bc0f9e5e71d64e23e2eba68
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
(cherry picked from commit 1f00955295c2461a181aa1fa5d8587f12832bf4d)

6 years agofix collectd's bug 55/43255/1
dongwenjuan [Fri, 15 Sep 2017 06:37:32 +0000 (14:37 +0800)]
fix collectd's bug

After we move files under doctor_tests and install doctor package,
the tests/lib/monitors/collectd/collectd_plugin.py file will not be
in the doctor_tests package.

Change-Id: I24a098e26ea3cd257f2376458d5c31ecc87aac68
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit a321477d00ccb84b0d99e7476e4306605498409d)

6 years agoadd __init__.py file in doctor_tests dir 21/42021/1
dongwenjuan [Fri, 15 Sep 2017 01:12:14 +0000 (09:12 +0800)]
add __init__.py file in doctor_tests dir

Change-Id: I43bd8aaadec893114b00d10c3f36dafd8bcef21e
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "fix package path and move files under doctor_tests"
wenjuan dong [Fri, 15 Sep 2017 01:00:30 +0000 (01:00 +0000)]
Merge "fix package path and move files under doctor_tests"

6 years agofix package path and move files under doctor_tests 29/41529/4
Ryota MIBU [Mon, 11 Sep 2017 13:45:47 +0000 (13:45 +0000)]
fix package path and move files under doctor_tests

Change-Id: Ibde6a36c43064e5fbea1a0b7a9b49349c343e42f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agoMerge "add python test indication"
Carlos Goncalves [Mon, 11 Sep 2017 15:03:56 +0000 (15:03 +0000)]
Merge "add python test indication"

6 years agoMerge "Add host specific VM list to inspector design guide line"
Ryota Mibu [Mon, 11 Sep 2017 13:06:26 +0000 (13:06 +0000)]
Merge "Add host specific VM list to inspector design guide line"

6 years agoadd python test indication 59/41159/2
dongwenjuan [Wed, 6 Sep 2017 07:42:28 +0000 (15:42 +0800)]
add python test indication

Change-Id: I2c56ce653e05727d13a26bf7bdd2595107a6ffba
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoSelect stable/ocata packages 83/41083/1
Cédric Ollivier [Tue, 5 Sep 2017 17:11:21 +0000 (19:11 +0200)]
Select stable/ocata packages

It also protects if flask is already installed.

Change-Id: Iec5d65fe307d702ec6f600333d6bc9cc3ab2ee33
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd host specific VM list to inspector design guide line 63/41063/2
Yujun Zhang [Tue, 5 Sep 2017 12:11:42 +0000 (20:11 +0800)]
Add host specific VM list to inspector design guide line

JIRA: DOCTOR-73
Change-Id: I163b97ec87761538594034e926055646223af327
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
6 years agoMerge "Add doctor-test package"
Tomi Juvonen [Tue, 5 Sep 2017 12:07:27 +0000 (12:07 +0000)]
Merge "Add doctor-test package"

6 years agoadd running profiler in python 59/40359/4
dongwenjuan [Mon, 28 Aug 2017 09:14:03 +0000 (17:14 +0800)]
add running profiler in python

For support bash and python both, I don't refactor the profiler_poc file,
just call the func in python main.

JIRA: DOCTOR-117

Change-Id: I5f06ecbd673c6a21acc94cc359a3f2b749b77b13
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agorefactor failure inject 17/39317/9
dongwenjuan [Mon, 14 Aug 2017 08:58:13 +0000 (16:58 +0800)]
refactor failure inject

JIRA: DOCTOR-116

Change-Id: I14deda4ccb47414cff139a522a9196b68e92500e
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "Test port data plane status on Sample Inspector"
Ryota Mibu [Mon, 4 Sep 2017 13:41:52 +0000 (13:41 +0000)]
Merge "Test port data plane status on Sample Inspector"

6 years agodelete workaroud of doctor driver in congress for Apex installer 83/40683/1
dongwenjuan [Wed, 30 Aug 2017 09:30:44 +0000 (17:30 +0800)]
delete workaroud of doctor driver in congress for Apex installer

Change-Id: I767777fd3c07998170b0957400a3e2a00ebe62a9
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoSpecify the filename for 'w' filemode 65/39965/1
dongwenjuan [Wed, 23 Aug 2017 08:33:17 +0000 (16:33 +0800)]
Specify the filename for 'w' filemode

FileHandler use 'a' mode in default for writing the file.

Change-Id: Ie19d80e5ff286da2722634787dcffe36234c0119
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoMerge "add maintenance detailed spec"
Tomi Juvonen [Wed, 23 Aug 2017 07:30:42 +0000 (07:30 +0000)]
Merge "add maintenance detailed spec"

6 years agoadd maintenance detailed spec 45/36545/6
Tomi Juvonen [Tue, 27 Jun 2017 07:00:58 +0000 (10:00 +0300)]
add maintenance detailed spec

JIRA: DOCTOR-52

Change-Id: I43c2d224fcd188946049d89fe266c541ea268dea
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
6 years agoTest port data plane status on Sample Inspector 57/39357/4
Carlos Goncalves [Tue, 15 Aug 2017 17:01:00 +0000 (19:01 +0200)]
Test port data plane status on Sample Inspector

Exercise the Neutron port data plane status API on the Sample Inspector.

Setting the data_plane_status field of Neutron Port objects to 'DOWN'
when a network failure on a node is detected.

To keep the test simple enough to verify the Neutron API, we don't
consider a scenario where multiple NIC ports could be present on that
particular node. It could still be done, though.

JIRA: DOCTOR-107

Change-Id: I9ffa0a23626b7edfaeb601dc90d55c756216cc41
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
6 years agoMerge "Decode received data in byte type to str type"
Carlos Goncalves [Thu, 17 Aug 2017 09:23:08 +0000 (09:23 +0000)]
Merge "Decode received data in byte type to str type"

6 years agoMerge "fix some bugs in monitor"
Carlos Goncalves [Thu, 17 Aug 2017 09:23:05 +0000 (09:23 +0000)]
Merge "fix some bugs in monitor"

6 years agofix some bugs in monitor 51/39451/4
dongwenjuan [Thu, 17 Aug 2017 00:57:27 +0000 (08:57 +0800)]
fix some bugs in monitor

1.send bytes data to the socket
see https://docs.python.org/3/library/socket.html
2.fix a endless loop

Change-Id: I880e713266347d8836cec45ebf9a500bb7c813f4
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agoDecode received data in byte type to str type 33/39433/1
Carlos Goncalves [Wed, 16 Aug 2017 13:52:30 +0000 (15:52 +0200)]
Decode received data in byte type to str type

json.loads in Python 3.5 doesn't accept a byte-type values so we need to
decode it. Note that this is specific to Python 3.5; Python 2.7 and 3.6
accept byte-type values.

Change-Id: I490f8e0f02a6ce277f86e75b32d1210bfcca8d49
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
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 agoAdd doctor-test package 77/38177/4
Cédric Ollivier [Wed, 26 Jul 2017 10:43:00 +0000 (12:43 +0200)]
Add doctor-test package

It also updates test-requirements.txt to conform with OpenStack
stable/ocata and renames it requirements.txt.

tests.main:main is considered as entry point and run.sh as script.
run.sh could be renamed to avoid possible conflicts in functest.

tox.ini is updated to pin the right versions and build files are
filtered.

The next dependencies can be safely removed:
  - paramiko
  - scp
  - python-openstackclient
  - python-ceilometerclient
  - virtualenv

Change-Id: I2091cfe4751640bf83d77e1fdd713af1e31fa89d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
6 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_"

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