forked from rook/rook
test: update multus canary test
Update the multus canary test to reflect modern knowledge about how it should be configured. No longer test for the network device in OSD pods. Pods will utterly fail to start if Multus is unable to attach interfaces. Instead, look to the OSD map to test the connections more wholistically. OSDs must have map IPs that include both public and cluster network. This implicitly tests that the interfaces exist in the Pod, and it additionally verifies other details, like Ceph `*_network` configs are set propertly. Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
This commit is contained in:
@@ -1534,7 +1534,7 @@ jobs:
|
||||
run: tests/scripts/github-action-helper.sh wait_for_prepare_pod
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: IS_POD_NETWORK=true IS_MULTUS=true tests/scripts/github-action-helper.sh wait_for_ceph_to_be_ready osd_multus 2
|
||||
run: IS_POD_NETWORK=true IS_MULTUS=true tests/scripts/github-action-helper.sh wait_for_ceph_to_be_ready osd 2
|
||||
|
||||
- name: wait for ceph-csi configmap to be updated with network namespace
|
||||
run: tests/scripts/github-action-helper.sh wait_for_ceph_csi_configmap_to_be_updated
|
||||
@@ -1542,6 +1542,9 @@ jobs:
|
||||
- name: wait for cephnfs to be ready
|
||||
run: IS_POD_NETWORK=true IS_MULTUS=true tests/scripts/github-action-helper.sh wait_for_ceph_to_be_ready nfs 1
|
||||
|
||||
- name: check multus connections
|
||||
run: tests/scripts/github-action-helper.sh test_multus_connections
|
||||
|
||||
- name: test ceph-csi-rbd plugin restart
|
||||
run: tests/scripts/github-action-helper.sh test_csi_rbd_workload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user