Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- support CI_DEBUG=true and CI_DEBUG=True
- use fqdn for hostname matching in overcloud, but keep using short
hostname for undercloud
- add printing of paramters, so that we can see them in info level
- make a result failed if the consumer didn't get message
- allow host_state=UNKNOWN after failure injected
JIRA: DOCTOR-63
Change-Id: Ib9bf02df3a68bec03e53db9d51c201545cf5a912
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
|
|
A blueprint spec for RFE https://bugs.launchpad.net/neutron/+bug/1598081
[UPSTREAM] Closes-Bug: #1598081
[UPSTREAM] Partial-Bug: #1575146
Change-Id: I7a01b728a1fa40d89bb11ec02b4e21df04e54464
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
Change-Id: I86f5b01b670dd7aedd99ec4eb88a745379968599
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Change-Id: I54d8a25762aebbb4230592b4ad9bcf03f22df2d3
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
fix the description of Doctor Scenario in Functest
Change-Id: If5b128c9ff395c5a939610419937e1e7e47b2654
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
|
|
use `ip route get $COMPUTE_IP` to get CONSUMER_IP. And add script
fail if it failed to get CONSUMER_IP.
Change-Id: I2e330c9be6e00f31e6c3e27dd674f9aabbb74a41
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
JIRA: DOCTOR-63
Change-Id: I4bc932dac22aca746489910bccb87f6571e3200b
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
Extending sleep time by 60 seconds to allow Nova server to sync-up
states with nova-compute service.
JIRA: DOCTOR-66
Change-Id: I71c2f186fb3faf5550c7aede465c93c0674943e2
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
|
|
'openstack server delete' tries to delete VM with admin credentials
which fails because $VM_NAME is under a different tenant.
Same for ceilometer alarms that we created with doctor creds.
Change-Id: Ibba3b842dc8fa160137bb04316d285e52d776641
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
We need to add the `debug=True` in consumer to get the debug log
to get the time of consumer received the notifier
Change-Id: I90f2f8167a8670e28a3a5bcb5af054d378ef9b5b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
- revert to use nova command to get IP address of compute host
- disable interface which has the IP address of target compute host
JIRA: DOCTOR-63
Change-Id: Ic5dc7706476a542f13a942fdae5b347ce28d3f72
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
|
|
|
|
|
|
|
|
Parameters defined in another shell cannot be used in the main shell.
This leads bug in funcsion which execute another shell to performe
openstack command as doctor test user.
This patch makes the test script use --os-* options to performe as
doctor test user, so that we don't have to execute new shells in
the test script.
Change-Id: If148f00acae919a926bb5e9f2af8dd433a4110f5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Each installer has different compute users and we set a default for each
in get_compute_host_info. Having COMPUTE_USER set at the beginning as is
and not passing in a value will default to 'none' and thus overriding
the default user of the installer. For example, COMPUTE_USER would be
set to 'none' instead of 'heat-admin' for Apex installer.
Change-Id: Ia60a88f68c52604bac6b7eef18e97e11328f1a6e
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
This patch is to make sure the test will be stop and report it failed.
JIRA: DOCTOR-63
Change-Id: Ibab577a100dee784df14e8b129fbde626d04fce9
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
we can not use `localhost` in `--alarm-action`, it should be the IP
which the consumer started on.
Change-Id: I50b99e4ff7609c474fb569049b3b8cd216c9178b
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
Change-Id: I4bb4c53d7b42333a16dda05c25d947256168d4b9
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
Change-Id: I87c971fedc6106165bfe0716a475edad5c43640c
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>
|