-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxmox_disk: fix failure to create cdrom #6770
proxmox_disk: fix failure to create cdrom #6770
Conversation
@castorsky I'd be happy to add an integration test specifically for this, but I don't fully understand how the tests are set up. It wouldn't be sufficient to test this only with disk types like scsi, virtio, etc. since this is generally ide2 with storage set to an ISO, and media must be cdrom. |
It is impossiblle to predict all combinations of parameters and all possible situations. :) No need to include them all to tests. |
Co-authored-by: Felix Fontein <felix@fontein.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If nobody objects I'll merge this at the beginning of the upcoming week.
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6795 🤖 @patchback |
* proxmox_disk: fix failure to create cdrom * Add changelog fragment 6770 * Update changelogs/fragments/6770-proxmox_disk_create_cdrom.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 70e2048)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6796 🤖 @patchback |
@exodious thanks for your contribution! |
* proxmox_disk: fix failure to create cdrom * Add changelog fragment 6770 * Update changelogs/fragments/6770-proxmox_disk_create_cdrom.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 70e2048)
…reate cdrom (#6795) proxmox_disk: fix failure to create cdrom (#6770) * proxmox_disk: fix failure to create cdrom * Add changelog fragment 6770 * Update changelogs/fragments/6770-proxmox_disk_create_cdrom.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 70e2048) Co-authored-by: exodious <10215736+exodious@users.noreply.github.com>
…reate cdrom (#6796) proxmox_disk: fix failure to create cdrom (#6770) * proxmox_disk: fix failure to create cdrom * Add changelog fragment 6770 * Update changelogs/fragments/6770-proxmox_disk_create_cdrom.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 70e2048) Co-authored-by: exodious <10215736+exodious@users.noreply.github.com>
SUMMARY
proxmox_disk was always specifying the size when formatting the configuration string, which doesn't work when the
media
param iscdrom
.Fixes #6765.
ISSUE TYPE
COMPONENT NAME
proxmox_disk
ADDITIONAL INFORMATION