Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I4bb4c53d7b42333a16dda05c25d947256168d4b9
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
In `cleanup` function, we can't delete doctor project and doctor user
before checking host status. Because we use API to get the `host status`
under the doctor project.
Change-Id: I38c0929eeff9378051e0dcda308734ab7b353509
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
|
|
If there are multi-compute node, vm may not be scheduled to the
specified compute host. So get the compute host after vm is started.
Change-Id: I1bc3caaf8305beded9eb297b116968a190fd9751
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
We should add the version para to use `openstack server show` cli
to get `host_status`
Change-Id: Ie0332e3766cb88f687fa66bcd5d8218f311e8add
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
openstack CLI does not support Ceilometer/Aodh calls yet.
Change-Id: I2074c794c00d0307421839acfa86e9f63f80ca5d
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
Fix the check_host_status, modify the `TEST_ROLE`
as `admin` temporary.
Change-Id: I7260ef027cc75fe71db3a3b706f3720a93821e10
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
|
|
get doctor vm state and vm_id should be in the doctor project
Change-Id: I7020b034264da7c9b035d37c44c57b952bed4271
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
|
|
Change-Id: Ic45abcf3d888613b74a5b4d5b61f3eb5c6de0873
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
|
|
Change-Id: I7c68afe93f38553707bf413e493e1f8aa5dcfae4
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
|
|
|
|
|
|
Change-Id: I187121450d2d0dfa6f9732f15f8b8cd84d8069fb
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
JIRA: DOCTOR-53
Change-Id: Ie8a1b2f8f49761cf455514923761d39efc2bbce8
Co-Authored-By: Gerald Kunzmann <kunzmann@docomolab-euro.com>
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
This patch adds unified event api as southbound interface specification
between Monitors and Inspector.
JIRA: DOCTOR-17
Change-Id: I80a69a6735bcc68d55851a5524fc0c01b9cb35c5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Change-Id: I6ae339b0cd228c2b2f2c49d36422a1b13a9ffe23
Signed-off-by: Yuanzhen Li <li.yuanzhen@zte.com.cn>
|
|
|
|
- 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>
|
|
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>
|
|
|
|
|
|
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>
|
|
JIRA: DOCTOR-37
Change-Id: I67a38611a828a5d293cdfd1702b37fc89f5229a0
Signed-off-by: Zhang Yujun <zhang.yujunz@zte.com.cn>
|
|
|
|
Change-Id: I684b94c18bc1961859907b5565f8498b97987092
JIRA: DOCTOR-47
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
|
|
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
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>
|
|
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>
|
|
|
|
Change-Id: I1fe3adf5db8539178c0e068b73b22948d0e574d2
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
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>
|
|
Change-Id: I1256d21bc01c7f1343859e28b47c15d9d284bddf
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ia9bf6ffb8a6bd4f2672aa50bb7841a7dc37e48ea
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
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>
|
|
Change-Id: I2c0c939b41f28684a1697b0099f2df62ce27c6a3
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
See https://wiki.opnfv.org/documentation/userguide .
Change-Id: I2d03406de585785d13a58a8181efeaa674f97e31
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Change-Id: I2f1df56632827925784441c03aadc544c1e3c891
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Change-Id: I78366611efd26987a71c3ecf25d2406e6f489cca
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|