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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Were you actually able to to use virtinst to create VMs with RBD-backed storage? I see this patch in virt-manager (which absorbed python-virtinst), but no anecdotes of anyone actually succeeding with RBD. Thanks-
The reason will be displayed to describe this comment to others. Learn more.
Yes, we have a number of VMs still running RBD backed disks. Without this patch, you can't use virt-install to attach disks, so I ended up with a shell script to build a new VM which ran virt-install with --nodisks and --noautoconsole, and then immediately called 'virsh attach-device ...' to attach the RBD disk from an XML definition. This meant the RBD disk would still be attached to the machine by the time the OS started to boot/install.
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand. Without this patch virt-install can't attach RBD disks, so you use the shell script hack. With this patch, could virt-install attach RBD disks? I haven't gotten it to work, but I haven't started debugging seriously yet.
Otherwise, thanks for the idea for the hack; that might work, too. I'm making small changes to put RBD into cobbler, which runs virt-install. I might just wrap virt-install with a script like that.
bad518b
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.
Were you actually able to to use virtinst to create VMs with RBD-backed storage? I see this patch in virt-manager (which absorbed python-virtinst), but no anecdotes of anyone actually succeeding with RBD. Thanks-
bad518b
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.
Yes, we have a number of VMs still running RBD backed disks. Without this patch, you can't use virt-install to attach disks, so I ended up with a shell script to build a new VM which ran virt-install with --nodisks and --noautoconsole, and then immediately called 'virsh attach-device ...' to attach the RBD disk from an XML definition. This meant the RBD disk would still be attached to the machine by the time the OS started to boot/install.
bad518b
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.
I don't quite understand. Without this patch virt-install can't attach RBD disks, so you use the shell script hack. With this patch, could virt-install attach RBD disks? I haven't gotten it to work, but I haven't started debugging seriously yet.
Otherwise, thanks for the idea for the hack; that might work, too. I'm making small changes to put RBD into cobbler, which runs virt-install. I might just wrap virt-install with a script like that.