summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-29Merge "refactor congress inspector"wenjuan dong3-0/+101
2017-07-28Add doctor-test packageCédric Ollivier8-22/+58
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>
2017-07-27refactor congress inspectordongwenjuan3-0/+101
JIRA: DOCTOR-98 Change-Id: I22fa893a1c1973fc63f994b630dd0c6a2c30e641 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-27refactor the monitordongwenjuan6-2/+187
JIRA: DOCTOR-99 Change-Id: I1831d329ffe80435532678fcb23d54f310422ce8 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-27Merge "fix some bugs for python verify jobs:"wenjuan dong5-6/+13
2017-07-27Merge "refactor sample inspector"wenjuan dong5-0/+226
2017-07-26Merge "Fix host status grep bug and Remove connection_pool argument"Carlos Goncalves2-3/+2
2017-07-26fix some bugs for python verify jobs:dongwenjuan5-6/+13
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>
2017-07-25refactor sample inspectordongwenjuan5-0/+226
JIRA: DOCTOR-98 Change-Id: I7110b680d0a0c64b1b2666abcea183e73373dca7 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-18Merge "Added steps to enable Python 3 and Congress in README file"wenjuan dong1-2/+10
2017-07-17Added steps to enable Python 3 and Congress in README fileBertrand Souville1-2/+10
Change-Id: Ic880836931f3f00c9ff926c9e981b0d49c9a045e Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2017-07-17Updates upstream file (dataplane status to network port in Neutron)Bertrand Souville1-1/+3
Change-Id: I00f232dede044ca396fe914272e7ade9ac9d6753 Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2017-07-13Fix host status grep bug and Remove connection_pool argumentUmar Farooq2-3/+2
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>
2017-07-07add create alarmdongwenjuan6-1/+139
JIRA: DOCTOR-93 Change-Id: I316608c9627ff38e55154257b798244de3f221c5 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-07Add create instancesdongwenjuan6-6/+209
JIRA: DOCTOR-93 Change-Id: I7645c1cc0c76ff86b9fbcc01c19038469fc9b9b4 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-05Merge "support config file"wenjuan dong3-2/+40
2017-07-05Merge "Create policy.json file in Ocata for non-admin user"Ryota Mibu2-12/+72
2017-07-03Create policy.json file in Ocata for non-admin userUmar Farooq2-12/+72
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>
2017-06-30support config filedongwenjuan3-2/+40
Change-Id: Ib8e696acfe21787904fce6838341f3a256aa0267 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-06-30replace urllib2 with urllib.request for python3dongwenjuan1-2/+2
Change-Id: I68036c295689fae55125854074e3bc4d920fec06 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-06-27add test user, project and roledongwenjuan5-39/+221
JIRA: DOCTOR-93 Change-Id: I85bfb21b7c07c40dfd1bfa6049130ad82fa3996a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-06-07Merge "Fix run.sh bug for dynamic interfaces"Carlos Goncalves1-2/+1
2017-06-06Fix run.sh bug for dynamic interfacesUmar Farooq1-2/+1
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>
2017-05-31Remove obsolete packagesYujun Zhang3-4/+0
`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>
2017-05-31Merge "Adding PYTHON_ENABLE option"Carlos Goncalves1-0/+8
2017-05-31Create devstack plugin for osprofiler configurationYujun Zhang3-0/+122
Change-Id: Ifd6f90ea1d39d7385f1ab099bc7b0b2ed59efac5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-30Fix session error with INSPECTOR_TYPE=congressUmar Farooq1-2/+3
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>
2017-05-30Adding PYTHON_ENABLE optionRyota MIBU1-0/+8
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
2017-05-29Add Keystone missing paramsUmar Farooq1-3/+7
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>
2017-05-15use password_plugin_loader for authdongwenjuan1-14/+11
Change-Id: Ifb650f52fed641a7146358eada571e5c4beaf3d6 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-05-02add image codedongwenjuan7-13/+135
JIRA: DOCTOR-93 Change-Id: I6551d5e31799b967ce442cb05a664c0d64a3dcf8 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-04-27Merge "Change role of doctor user to _member_"Tomi Juvonen2-14/+75
2017-04-26add framework and toxdongwenjuan6-1/+118
JIRA: DOCTOR-93 Change-Id: Ife3255c4fe2d170c5d1b8354aaab24d5b1e3bc64 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-04-18Change role of doctor user to _member_Tomi Juvonen2-14/+75
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>
2017-03-31[docs] fix link in danube release notesRyota MIBU1-2/+2
Change-Id: Idd02339dd8547359d4e73849b94e071fb6aeaaf1 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-31Fix release notes referenceYujun Zhang1-1/+1
Change-Id: I4351600917570e3b9eddeefab43fee7882d20ddf Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-30danube release notesRyota MIBU4-113/+159
Change-Id: Ic2401cc2c3e57324504d2c2d66a69c2e90a4ee91 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-30Remove numberingShubhamRathi9-13/+0
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>
2017-03-12Add installation and configuration instructions for Vitrage as the Inspector.Ifat Afek1-0/+47
Change-Id: Ibe0bdf20872ae87c6e88263bba6b3a0e21c74940 Signed-off-by: Ifat Afek <ifat.afek@nokia.com>
2017-03-08Merge "[apex] change config for doctor testing"Carlos Goncalves1-1/+63
2017-03-08Merge "Adding Labels"Carlos Goncalves7-0/+14
2017-03-08Adding LabelsShubhamRathi7-0/+14
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>
2017-03-08[apex] change config for doctor testingRyota MIBU1-1/+63
JIRA: DOCTOR-96 Change-Id: I5b0923ffeb53ff53ad9f780b8b5ebdce834d995a Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-07Adding back the summary to the requirement document, but updated withGerald Kunzmann1-0/+21
current Doctor status Change-Id: Iba7f7f6ff97c4c651e8403a969739d3fced2aec0 Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
2017-03-07Merge "Updated implemented architecture description and figure"Carlos Goncalves3-113/+66
2017-03-06Updated implemented architecture description and figureCarlos Goncalves3-113/+66
Also removes implementation plan for OPNFV Arno. JIRA: DOCTOR-81 Change-Id: I22a711a7b8096e86a8f0b17d6875d00b15667c0c Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2017-03-06add upstream gerrit pathRyota MIBU1-6/+19
Change-Id: Iba10e6c3020aeec8d48dcc72e13698bffef03f0f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-06Merge "Updates to Danube release documentation: JIRA: DOCTOR-81"Ryota Mibu2-37/+0
2017-03-05urgent bug fixes for danube (2)Ryota MIBU4-16/+47
- 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>
2017-03-04urgent bug fixes for danube (1)Ryota MIBU5-124/+74
- 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>