summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19Euphrates release noteRyota MIBU2-99/+213
Change-Id: I961640e662a2d11ce183859978e0c9737ac5f386 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit 46beef591b7e60da522ced5de8930ec025d8c326)
2017-10-09fix to get logfiledongwenjuan5-20/+40
Change-Id: I44cc6c5108eb48191ca36cbcb44f787ea542f3ce Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> (cherry picked from commit b3dcaa337fa91b3123fa08e8b8dd2e81184a91dd)
2017-10-06Fix retrieval of log filename pathCarlos Goncalves2-9/+7
Change-Id: I0dd61a020827e7ba9ec7a2e0300bf50dd7175e86 Signed-off-by: Carlos Goncalves <mail@cgoncalves.pt> (cherry picked from commit 4f6132978ad548ee1e696016d450d0b4a4cbab9f)
2017-10-04fix the way to get log filenameRyota MIBU2-12/+10
Change-Id: I9ce494c408c99e1a76a6b485db29a72c3134e487 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit 589a60fcd004ee59716273b30cea69aa7b5d102b)
2017-10-02fix referring neutron option in inspectorRyota MIBU2-4/+4
Change-Id: I01173cdf301f168edebfc2ec6df82b015adebca7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit 1bec48cd10057821828ffca3f5ecf31b853c66f7)
2017-09-29option: "update_neutron_port_dp_status"Ryota MIBU3-3/+11
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)
2017-09-27Merge "Add parallel execution and shortcut notification to inspector design ↵Bertrand Souville5-1/+48
guideline" into stable/euphrates
2017-09-27Merge "fix collectd's bug" into stable/euphratesBertrand Souville2-5/+172
2017-09-27fix the path of log filedongwenjuan2-5/+8
Change-Id: I823bdc453c32decb0160f0915d749af4ac664908 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> (cherry picked from commit 1336b9add0dc6fb91fbf71431e3bfa1cd0dd89d6)
2017-09-27Add parallel execution and shortcut notification to inspector design guidelineYujun Zhang5-1/+48
JIRA: DOCTOR-73 Change-Id: Ic412b0c5e966f4391bc0f9e5e71d64e23e2eba68 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit 1f00955295c2461a181aa1fa5d8587f12832bf4d)
2017-09-27fix collectd's bugdongwenjuan2-5/+172
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)
2017-09-15add __init__.py file in doctor_tests dirdongwenjuan1-0/+8
Change-Id: I43bd8aaadec893114b00d10c3f36dafd8bcef21e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-09-15Merge "fix package path and move files under doctor_tests"wenjuan dong38-92/+90
2017-09-13fix package path and move files under doctor_testsRyota MIBU38-92/+90
Change-Id: Ibde6a36c43064e5fbea1a0b7a9b49349c343e42f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-09-11Merge "add python test indication"Carlos Goncalves1-1/+26
2017-09-11Merge "Add host specific VM list to inspector design guide line"Ryota Mibu1-1/+18
2017-09-07add python test indicationdongwenjuan1-1/+26
Change-Id: I2c56ce653e05727d13a26bf7bdd2595107a6ffba Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-09-05Select stable/ocata packagesCédric Ollivier1-5/+7
It also protects if flask is already installed. Change-Id: Iec5d65fe307d702ec6f600333d6bc9cc3ab2ee33 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Add host specific VM list to inspector design guide lineYujun Zhang1-1/+18
JIRA: DOCTOR-73 Change-Id: I163b97ec87761538594034e926055646223af327 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-05Merge "Add doctor-test package"Tomi Juvonen8-22/+58
2017-09-04add running profiler in pythondongwenjuan9-31/+91
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>
2017-09-04refactor failure injectdongwenjuan17-54/+287
JIRA: DOCTOR-116 Change-Id: I14deda4ccb47414cff139a522a9196b68e92500e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-09-04Merge "Test port data plane status on Sample Inspector"Ryota Mibu2-25/+55
2017-08-30delete workaroud of doctor driver in congress for Apex installerdongwenjuan1-6/+0
Change-Id: I767777fd3c07998170b0957400a3e2a00ebe62a9 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-23Specify the filename for 'w' filemodedongwenjuan1-2/+3
FileHandler use 'a' mode in default for writing the file. Change-Id: Ie19d80e5ff286da2722634787dcffe36234c0119 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-23Merge "add maintenance detailed spec"Tomi Juvonen2-0/+156
2017-08-22add maintenance detailed specTomi Juvonen2-0/+156
JIRA: DOCTOR-52 Change-Id: I43c2d224fcd188946049d89fe266c541ea268dea Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2017-08-17Test port data plane status on Sample InspectorCarlos Goncalves2-25/+55
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>
2017-08-17Merge "Decode received data in byte type to str type"Carlos Goncalves1-1/+1
2017-08-17Merge "fix some bugs in monitor"Carlos Goncalves2-15/+11
2017-08-17fix some bugs in monitordongwenjuan2-15/+11
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>
2017-08-16Decode received data in byte type to str typeCarlos Goncalves1-1/+1
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>
2017-08-16Delete project after stopping InspectorCarlos Goncalves1-1/+1
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>
2017-08-16Merge "make poc profiler run in default"wenjuan dong1-2/+2
2017-08-15add the whole config opts in sample configdongwenjuan1-13/+36
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>
2017-08-14make poc profiler run in defaultRyota MIBU1-2/+2
Change-Id: Icd110bd532e86a86b82824e849337649c284d3e6 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-08-09Add Collectd as a Monitor TypeUmar Farooq12-20/+522
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>
2017-08-09Merge "refactor apex installer"Ryota Mibu10-5/+273
2017-08-08Merge "fix the bug: congress server can't be started"wenjuan dong1-6/+7
2017-08-08fix the bug: congress server can't be starteddongwenjuan1-6/+7
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>
2017-08-07refactor apex installerdongwenjuan10-5/+273
JIRA: DOCTOR-100 Change-Id: I684071d35aac99ad1f5b65ae74e0a98ac726af35 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-07install python packagesdongwenjuan1-0/+9
Change-Id: Id68c9b1206deb58ff94fc942fbef94bffbc1e68b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-01refactor local installerdongwenjuan7-2/+206
JIRA: DOCTOR-100 Change-Id: I1e2c53f7a716156e35386d42c0df32a228a78fab Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-29refactor sample consumerdongwenjuan4-0/+112
JIRA: DOCTOR-113 Change-Id: I60f17953e9b1cdf31ea50f313b33f8ede0831bc2 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
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