Skip to content

feat: adding netapp-iscsi-helper script#72

Open
sanya-pf9 wants to merge 1 commit into
masterfrom
sanya/netapp-iscsi-audit
Open

feat: adding netapp-iscsi-helper script#72
sanya-pf9 wants to merge 1 commit into
masterfrom
sanya/netapp-iscsi-audit

Conversation

@sanya-pf9
Copy link
Copy Markdown
Collaborator

After a failed live migration, OpenStack can leave behind corrupted iSCSI
attachment state on the NetApp array. The VM may still be running, but its
disk is mapped to the wrong igroup — which can cause I/O errors, failed
rescans, or a complete loss of disk access on the next reboot.

This script:

  1. Queries Nova and Cinder to find every VM and its attached volumes
  2. Queries NetApp ONTAP to check which igroup each LUN is mapped to
  3. Compares the two and reports any mismatch
  4. Optionally fixes the NetApp igroup mappings automatically

All testing evidence and samples can be found in the READ ME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant