> It might be worth trying to make a feature request to the qemu-img team to add this option?
I'll pursue getting this feature added to qemu-img. > Your patch still needs to handle the case where a VM has been converted > to a template since image handling after conversion complains of an > unknown setting: sparse. Got it, thanks. I'll look into fixing that. On Mon, Mar 17, 2014 at 11:20 AM, Michael Rasmussen <m...@datanom.net> wrote: > On Mon, 17 Mar 2014 11:08:41 -0700 > Chris Allen <ca.al...@gmail.com> wrote: > > > > > Connecting to the target with a host group defined fails unless the > > initiator has been added to the host group, as it should be by design. > If > > I manually add the initiator name ("iqn.2008-11.org.linux-kvm:<vm-name>") > > to the host group on the server then I can connect to and use the volume. > > Since, like you pointed out Micheal, the initiator name is based on the > > VM's name, maintaining the host-group association, manually or > > automatically is a pain. Too bad we can't force an initiator name. > > > It works with both hostgroup and targetgroup starting the VM provided > that you add -iscsi 'initiator-name=<initiator-name>' since this option > will be transferred to libiscsi. The problem is qemu-img which is used > extensively in storage scripts in proxmox. It might be worth trying to > make a feature request to the qemu-img team to add this option? > > > Did you try using only a target group, with no host group definition? > This > > seems to work fine for me. It might be worth it to keep just the target > > group part of the patch and scrap the host group. > > > No, I haven't tried this but I think we should keep both hoping for > qemu-img team to add the feature. Until then we simply ignore the > option. > > Your patch still needs to handle the case where a VM has been converted > to a template since image handling after conversion complains of an > unknown setting: sparse. > > > -- > Hilsen/Regards > Michael Rasmussen > > Get my public GnuPG keys: > michael <at> rasmussen <dot> cc > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E > mir <at> datanom <dot> net > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C > mir <at> miras <dot> org > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 > -------------------------------------------------------------- > /usr/games/fortune -es says: > echo "Congratulations. You aren't running Eunice." > -- Larry Wall in Configure from the perl distribution >
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel