summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-06-30add timeout handledongwenjuan1-1/+6
If create instance don't success, it will have a endless loop for waiting instance to change to `active` state. Change-Id: I6eff3cbaefaf1ba7e30ae7fddcec62ac5c1544de Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-20Merge "Before deleting the instance, check if the instance exists"Tomi Juvonen1-1/+1
2016-06-17Before deleting the instance, check if the instance existsdongwenjuan1-1/+1
The instance may not exist if there is a error before creating instance or it failed to create, run the `cleanup` to delete the non-existent instance will raise an error Change-Id: I13e4b63be952967605093a4427f5b0ac4be280c3 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-16use `openstack` cli instead of `keystone`clidongwenjuan1-14/+14
As in OpenStack, `keystone` cli is not used, change `openstack` cli instead of `keystone`cli Change-Id: I2c4679cba7fd80ea33098f89fbd9eecf65abdd8a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-06-07Fix a word spell in docs:02-use_cases.rstLeeYZ1-1/+1
Change-Id: I6ae339b0cd228c2b2f2c49d36422a1b13a9ffe23 Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
2016-06-07Merge "Revisit fault table"Tomi Juvonen1-78/+79
2016-06-03Revisit fault tableYujun Zhang1-78/+79
- add storage fault (same content as compute) - add example of mainboard error - rename fault Hypervisor status not retrievable - editorial fix - complete "how to detect" Change-Id: I9ec849014d18823f9a309396542e89a4e6da8b6c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-05-27test: respect 'CI_DEBUG' set by functestRyota MIBU1-1/+3
In current bash script for doctor test, '-x' option is enabled and all executing commands will be printed in the console. Functest has a configuration to enable/disable this '-x' option. It is environment variable 'CI_DEBUG'. This patch makes doctor test script to set '-x' option according to 'CI_DEBUG'. If it's not set, '-x' option will be enabled as it was enabled before this change. JIRA: FUNCTEST-212 Change-Id: I9fa5036aad7a0f5c88378337d946439a6ee6108c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-05-24Merge "Fix typo and inconsistency"Ryota Mibu2-7/+9
2016-05-24Merge "Adding checking of host_status"Gerald Kunzmann1-4/+58
2016-05-24Adding checking of host_statusTomi Juvonen1-4/+58
Checking of host_status is added for non-admin user to see that installer have properly set the Nova policy.json like: "os_compute_api:servers:show:host_status": "rule:admin_or_owner" JIRA: DOCTOR-61 Change-Id: Ieee997951b54f25b698ef0b70a628cfcf87b396a Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2016-05-23Fix typo and inconsistencyZhang Yujun2-7/+9
JIRA: DOCTOR-37 Change-Id: I67a38611a828a5d293cdfd1702b37fc89f5229a0 Signed-off-by: Zhang Yujun <zhang.yujunz@zte.com.cn>
2016-05-19Merge "Manual for get-valid-server-state"Tomi Juvonen3-6/+140
2016-05-18Manual for get-valid-server-stateTomi Juvonen3-6/+140
Change-Id: I684b94c18bc1961859907b5565f8498b97987092 JIRA: DOCTOR-47 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2016-05-17Run 'ip' with sudoCarlos Goncalves1-1/+1
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-03-29Fix disable_network.sh and 'ip' pathCarlos Goncalves1-8/+7
The 'ip' bin file can be located in different paths depending on the Linux distribution so better not hardcode it to a specific path. CentOS 6: /sbin/ip CentOS 7: /usr/sbin/ip Ubuntu 14.04: /sbin/ip Change-Id: I0b02a221d3367ed4bfd8596992a2774f22138b54 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-03-23Add support to multi-installers and local envsCarlos Goncalves1-22/+38
As of now, only support for Apex is available. This patch makes things easier to extend support for other OPNFV installers. The patch also adds explicit support for local OpenStack environments (e.g. deployed via devstack). Change-Id: Ib36e8fef2418dfabbaa56b933f533650d184d4e3 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-03-22Merge "Output log when compute node is back online"Ryota Mibu1-2/+2
2016-03-21Fix typos in stringsCarlos Goncalves2-4/+4
Change-Id: I1fe3adf5db8539178c0e068b73b22948d0e574d2 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-03-20Output log when compute node is back onlineCarlos Goncalves1-2/+2
The network interface of the compute node is set to down for 180 seconds, and then brought up back again. While it's unreachable we cannot call out the COMPUTE_IP:disable_network.log Change-Id: Iaa90339093c8fda88d883b688a4c8495e78414b7 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-02-25docs: add index.rst files to component docsRyota MIBU8-31/+34
Change-Id: I1256d21bc01c7f1343859e28b47c15d9d284bddf Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-21test: add nova_force_down clientRyota MIBU3-2/+72
New force_down API is not available due to rack of support in default configuration of keystone service catalog and limit of novaclient, so this patch adds nova_force_down client to operate the new API. Change-Id: I2545f4448313b334d4c0a12f1638e64ecfafdf41 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-20test: fix bugs (ssh args and force-down in cleanup)Ryota MIBU2-2/+47
This patch fixes two bugs: - ssh target hostname is wrong (it trailing by ':') - novaclient cannot execute 'force-down' since it tries to use v2.0 endpoint which doesn't spport the new API, Change-Id: I5ef3a8eda5fa7a6730b4eb456d0441d40718a010 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-19test: fix bugs (scp -l and trap ERR)Ryota MIBU1-11/+7
This patch fixes bugs: - '-l' option for scp is different from that of ssh, so remove this option from the common param for scp and ssh. - trap ERR was not executed, so replace it by trap EXIT Change-Id: Id50ff29656fa100f420ae9ccc7a8a19a65a941c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-19test: fix bug: missing installer_ip in scp argsRyota MIBU1-1/+2
Change-Id: Ia9bf6ffb8a6bd4f2672aa50bb7841a7dc37e48ea Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-18test: fix DNS issue in test scenarioRyota MIBU1-6/+17
Doctor test was failed due to failure in resolving hostname at [1]. This patch replaces hostname by ip address, and also changes ssh route from relaying instack VM to direct access from functest container to the target compute host. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-opnfv-jump-1-daily-brahmaputra/38/ Change-Id: I9d4f115cb43ec16540f7d9300d652625685477d5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-12tests: enable doctor test scenario with fixesRyota MIBU2-12/+49
Change-Id: I2c0c939b41f28684a1697b0099f2df62ce27c6a3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-10docs: fix filenameRyota MIBU1-0/+0
See https://wiki.opnfv.org/documentation/userguide . Change-Id: I2d03406de585785d13a58a8181efeaa674f97e31 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-09tests: collect infra IPsRyota MIBU1-18/+33
Change-Id: I2f1df56632827925784441c03aadc544c1e3c891 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-08docs: fix filename and test4compositeRyota MIBU6-5/+20
Change-Id: I78366611efd26987a71c3ecf25d2406e6f489cca Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-08Add license header to RST filesIldiko Vancsa21-1/+87
Add the required license header to all .rst files under the docs folder in the repository and a LICENSE file to the image folders. The patch also extends the list of authors in the index.rst file of the requirements document. Change-Id: Icf8b2c36425769512f0ba9072766ac9bc22c0955 Signed-off-by: Ildiko Vancsa <ildiko.vancsa@ericsson.com>
2016-02-03Editorial changes in Section 5.2.2 NFVI MaintenanceBertrand Souville1-18/+15
JIRA: DOCTOR-14 Change-Id: If10dc1c00c674e26bb6fe6cf96efe2b70885748c Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2016-01-30contents for OPNFV composite docsRyota MIBU5-21/+102
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: I557819f8a67b8882de87c94bbca8177a89b55d6d
2016-01-29Merge "tests: fix inject_failure() for deployment built by apex"Carlos Goncalves1-6/+18
2016-01-29fix license description in code headersRyota MIBU4-52/+28
Change-Id: Idb7b6e55e5760a9e6ba6cb0b512f1961488312ca Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-29tests: fix inject_failure() for deployment built by apexRyota MIBU1-6/+18
Change-Id: I1681761ec8be39768444baeff24b15a1e90c0182 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-26Merge "Extend maintenance workflow"Ryota Mibu5-35/+68
2016-01-20Created a template for the User GuideSofia Wallin1-0/+7
Please use the userguide.rst to desribce the <Feature> capabilities and usage. This information will be part of the OPNFV user guide. Feel free to use this as a good example, https://gerrit.opnfv.org/gerrit/#/c/7397/ Renamed config-overview.rst to userguide.rst Change-Id: I9e42f1e7fb1cfa52df48642f4cd9a5f283169d1f Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2016-01-18Merge "Support recovering VM on the same host"Carlos Goncalves1-5/+9
2016-01-15Extend maintenance workflowbertys5-35/+68
JIRA: DOCTOR-11 Change-Id: Iafd6238cfe729be881224b97711d9776479a3241 Signed-off-by: bertys <souville@docomolab-euro.com>
2016-01-14Support recovering VM on the same hostTomi Juvonen1-5/+9
When a host is failed then the affected VM can be rebooted after the host has been recovered. When a host is going to maintenance the affected VM can be shut down and the booted up on the same host after the maintenance is over. Change-Id: I8ee240eb4d598da6347ae8afee8ce6c6edc07be4 Jira: DOCTOR-9
2016-01-12Merge "docs: add platform overview"Carlos Goncalves3-0/+56
2016-01-12docs: add platform overviewRyota MIBU3-0/+56
Change-Id: I61c9741a2bb5d3a1591d00c6cf23b0e56724eec4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-08Merge "disable doctor functional test"Ryota MIBU1-0/+5
2016-01-08disable doctor functional testRyota MIBU1-0/+5
Change-Id: I3bd62b53651777fe020c3919c415e1f2d7b45164 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-08fix docs build dirs in .gitignoreRyota MIBU1-2/+2
Change-Id: Iae9cc4b75af25ed7a5036ec8383bcc626848b12e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-04add test scenario and sample componentsRyota MIBU4-0/+346
DOCTOR-22 Change-Id: I82cb572fadd057151c55396dd3ab4114539c8fa7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-21Minor changes to NFVI Faults Annex (Fault Tables)Bertrand Souville1-36/+95
Change-Id: I76e09a69c46e6b1e6d86416aa4d8a2b4ecd006f3 Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2015-12-11update .gitignore for swap filesRyota MIBU1-0/+2
Change-Id: I45a51335c2dd73813c8e9cce27880674135f8728 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-08Note to spec file pointing to upstream activityCarlos Goncalves1-0/+12
Change-Id: I0aef66c4abc11547a03191ba757ea8a717c1fa81 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>