summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18Bug - Testing in Apex with OpenStack master failsTomi Juvonen4-107/+104
Support yet another path to find config files. Tune config changes to take effect properly for maintenance. transport_url parcing enhanced. Nova reset state to error takes well over 1 second these days and at the end it then sends notification that we use. Only reasonable thing is to send notification straight from the Inspector as it should have been done in the first place. Now we can do 200ms as total time, with just a few millisends actuallly spent on sending the notification. Further one could improve this by having node specific Inspector agent to react even in more Telco grade speed. Change-Id: I787f8e9dd6484842c6c568b15767018d11b36862 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-12-18remove to set ceilometer config in MCPdongwenjuan1-17/+0
As Mcp already set the notifier for alarm in ceilometer configuration, we remove the configuration workaround. JIRA: DOCTOR-132 Change-Id: I30603d7f364fbbed143ebdb3dc6fdf71b10434a0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-11-22Merge "Support Fenix and sample implementation accordingly"wenjuan dong3-22/+46
2018-11-20Merge "fix the configparser for Python 2 and 3 Compatibility"Tomi Juvonen1-3/+3
2018-11-19Support Fenix and sample implementation accordinglyTomi Juvonen3-22/+46
Fenix has now same capability as our sample implementation. We can now support Fenix if manually installed on controllers. Sample implementation should be closer to Fenix as Fenix is the place to define the generic interfaces at the end. JIRA: DOCTOR-131 Change-Id: Ied58b8f469dbcc4bb5caa787e62c1831a211ecd6 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-10-29Fix SSH client connection resetTomi Juvonen1-11/+30
SSH connection might be reseted with long running session. This may happen if run "testcase=all" Change-Id: I232ae906628411dfbe0bbdbdc8d4fb43167760fd Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-10-27fix the configparser for Python 2 and 3 Compatibilitydongwenjuan1-3/+3
Change-Id: I6ea9c031a8093d7ce94b49575cb6bfe348eb6c9a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-10-25Merge "Support Apex with services in containers"Tomi Juvonen11-110/+296
2018-10-25Support Apex with services in containersTomi Juvonen11-111/+298
Upstream apex now works in containers, so if used, it needs to be supported JIRA: DOCTOR-130 Change-Id: I3d73a1699e4fee53b001f043f55d0eeefa7bfb7b Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-10-25fix the username to login undercloud in Apexdongwenjuan3-6/+4
Change-Id: I6d5325166db642b3481a0327f518ec821a8ab378 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-08-23bugfix: add doctor datasource in congressdongwenjuan6-84/+111
Change-Id: I465fd6c59daf99dd543488a15819dab78e8cdd7b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-08-09Add maintenance test codeTomi Juvonen1-1/+0
-Add sample admin_tool -Add sample app_manager -Modify sample inspector JIRA: DOCTOR-106 Change-Id: I52cffecaa88452ce5e7cc6487534c88fcfd378ad Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-08-09Add setup and cleanup for maintenance testTomi Juvonen7-71/+333
JIRA: DOCTOR-106 Change-Id: Idb95e1391e8f9094f68e2c7bc79fd2d7e01af9de Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-08-09Merge "bugfix: kill the stunnel when cleanup"Tomi Juvonen1-3/+2
2018-08-09Merge "add ssh_keyfile for connect to installer in Apex"wenjuan dong3-1/+7
2018-08-09bugfix: kill the stunnel when cleanupdongwenjuan1-3/+2
Popen.terminate() will kill the child process, but if you set the shell argument to True, this is the process ID of the spawned shell, so the stunnels are still exit.It will cause the failure of stunnel setup in the next test runtime. see: https://stackoverflow.com/questions/4789837/how-to-terminate-a-python-subprocess-launched-with-shell-true/4791612#4791612 Change-Id: I578611510f5bd1eb0dbd9a08ab408ccf101594f7 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-08-03bugfix: fix the filename of ssh tunneldongwenjuan1-1/+1
The stunnel will be setup failed in the docker if we have the .log at the end of file name. Change-Id: I272a9fa3b668d49b0e26752403ad41a67dcfedc7 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-08-01add ssh_keyfile for connect to installer in Apexdongwenjuan3-1/+7
Change-Id: I8809a24e75c0260f67d3e128b8bbd1becf924529 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-03-20support MCP installerdongwenjuan5-133/+198
1.support MCP installer 2.optimize the installer code JIRA: DOCTOR-121 Change-Id: I8675c2652944575a8f73d0d1e2dafaad5a3e88e3 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-23create flavor for Apex installerdongwenjuan3-10/+12
As doctor functest CI runs failed in Apex installer, it indicates that flavor is None. See http://artifacts.opnfv.org/logs/functest/lf-pod1/2018-01-21_05-30-00/doctor-notification.log Change-Id: Ia7a7111a7c6b94864f2e12f30969fe6e411058af Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-15fix the pep8 checkdongwenjuan2-9/+14
Change-Id: I91b8b6cd07d859a1d1abdc25f015a3c3b2756fab Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-09Merge "support pep8 check"Ryota Mibu6-30/+59
2018-01-09support pep8 checkdongwenjuan6-30/+59
Change-Id: I3c4358694c57d27a207ae60712c44f717c8895f7 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-08support daisy installerdongwenjuan2-2/+110
JIRA: DOCTOR-118 Change-Id: Id4d586fd2b7ca043cfd8231b9c46bdc581f039ab Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-12-11support vitrage inspector for local installerdongwenjuan2-3/+106
JIRA: DOCTOR-122 Change-Id: I771f778767a204e809d892c70603e479c1ed2f5c Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-10-16fix the bug for consumer don't receive the notificationdongwenjuan1-1/+1
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>
2017-10-09fix to get logfiledongwenjuan1-5/+7
Change-Id: I44cc6c5108eb48191ca36cbcb44f787ea542f3ce Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-09-13fix package path and move files under doctor_testsRyota MIBU7-0/+427
Change-Id: Ibde6a36c43064e5fbea1a0b7a9b49349c343e42f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>