You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fcdb970
Browse filesBrowse the repository at this point in the historyBrowse files
`nfs3/instance/test_vm_volume_attach.py` and `iscsi/instance/test_vm_volume_attach.py` log into the guest through `guest_ssh.py`. The lab template is CentOS 5.5, and its sshd only offers SHA-1 key exchange (`diffie-hellman-group14-sha1`) and `ssh-rsa` host keys. Paramiko 4.x removed SHA-1, so those logins fail unless the venv has Paramiko 3.x.
`guest_ssh.check_paramiko()` checks for `diffie-hellman-group14-sha1` before the first guest connection and tells you to re-run `setup_env.sh` when the active interpreter has Paramiko 4. Guest login itself comes from `ontap.cfg` (`cloudstack.templateUsername` / `cloudstack.templatePassword`).
| NFS3 Pool with Volumes |`nfs3/pool/test_pool_with_volumes.py`| 7 | Same + live volume present; negative delete guard |
335
370
| NFS3 Zone-Scoped Pool |`nfs3/pool/test_zone_scoped_pool.py`| 4 | Zone scope — all hosts connected via `attachZone`|
336
371
| NFS3 Volume Lifecycle |`nfs3/volume/test_volume_lifecycle.py`| 5 | Volume is metadata-only; FlexVol unchanged on delete |
337
-
| NFS3 VM + Volume Attach |`nfs3/instance/test_vm_volume_attach.py`|10| Full VM lifecycle with hot-plug/detach; ROOT on tagged pool seeds/reuses template cache, which survives VM delete |
372
+
| NFS3 VM + Volume Attach |`nfs3/instance/test_vm_volume_attach.py`|26| Full VM lifecycle with hot-plug/detach, guest SSH, volume and VM snapshots; ROOT on tagged pool seeds/reuses template cache, which survives VM delete |
| iSCSI Pool with Volumes |`iscsi/pool/test_pool_with_volumes.py`| 7 | Same + live LUN present; negative delete guard |
341
376
| iSCSI Zone-Scoped Pool |`iscsi/pool/test_zone_scoped_pool.py`| 4 | Zone scope |
342
377
| iSCSI Volume Lifecycle |`iscsi/volume/test_volume_lifecycle.py`| 5 | LUN created per CS volume; LUN removed on delete |
343
-
| iSCSI VM + Volume Attach |`iscsi/instance/test_vm_volume_attach.py`|10| Full VM lifecycle; LUN-maps on VM start/stop/detach; ROOT on tagged pool seeds/reuses `cs_tmpl_*` LUN cache |
378
+
| iSCSI VM + Volume Attach |`iscsi/instance/test_vm_volume_attach.py`|26| Full VM lifecycle; LUN-maps on VM start/stop/detach; guest SSH, volume and VM snapshots; ROOT on tagged pool seeds/reuses `cs_tmpl_*` LUN cache |
For the goal, dependencies, and exact success criteria of every individual test, see [TEST_CASES.md](TEST_CASES.md).
@@ -351,12 +386,13 @@ For the goal, dependencies, and exact success criteria of every individual test,
351
386
352
387
| Symptom | Likely cause | Fix |
353
388
|---------|-------------|-----|
389
+
|`paramiko … has no SHA-1 key exchange` / guest SSH fails on CentOS 5.5 | Paramiko 4.x is installed; the guest sshd only offers SHA-1 | Re-run `bash test/integration/plugins/ontap/setup_env.sh` and run tests with `test/integration/plugins/ontap/.venv` (`paramiko>=3.4,<4`) |
354
390
|`ModuleNotFoundError: No module named 'ontap_test_base'`| Missing `PYTHONPATH` prefix | Prefix every run with `PYTHONPATH=test/integration/plugins/ontap`|
355
391
|`Marvin Init Failed`| CloudStack API unreachable | Check `mgtSvrIp:8096` is reachable; restart `cloudstack-management`|
356
392
|`Lost connection to MySQL`| MySQL not accepting remote connections | Enable remote MySQL access (see Prerequisites §3) |
357
393
|`sh: python: command not found` (repeated) | Marvin internal call — harmless on macOS | Ignore; Marvin Init still succeeds |
358
394
| Pool state never reaches `Maintenance`| KVM agent not responding | Check `cloudstack-agent` on KVM host; verify host is connected in CloudStack UI |
359
-
| iSCSI `test_07` error 530 | KVM guest does not ACK SCSI hot-unplug |Known environment limitation — see TEST_CASES.md Suite 10 note|
395
+
| iSCSI `test_22` error 530 | KVM guest does not ACK SCSI hot-unplug |Detach of the data LUN from a running VM; see TEST_CASES.md Suite 10 `test_22_detach_volume_from_vm`|
360
396
| ONTAP REST `401 Unauthorized`| Wrong credentials in `ontap.cfg`| Verify `username`/`password` under `ontap` section |
361
397
|`ISCSI protocol is not enabled on SVM` / many pool tests EXCEPTION then FAIL | SVM iSCSI service off or no `data_iscsi` LIF | Enable iSCSI on the SVM and assign `default-data-iscsi` (or `default-data-blocks`) to at least one data LIF; `run_tests.sh` now fails this check before Marvin starts |
362
398
|`No ready KVM user template available`| Template still downloading | Re-run `setup_zone` (step 12 waits for template readiness); or wait in CloudStack UI |
0 commit comments