[virt-tools-list] Virt-manager doesn't attach Sheepdog storage VDI disk correctly

Dmitriy Slachshyov slashvdm at yandex.ru
Tue Aug 11 04:13:02 UTC 2015


So, I represented everything that I did before. I've got unsuccessful
results. The xml still almost the same as early.

https://github.com/sheepdog/sheepdog/wiki/Libvirt

This is a sheepdog maintainer's web site. There is a detailed
description of format for libvirtd. I have tested it before and it
works right.

Also look at output of commands, I 've got after the test was finished:

# virsh pool-list
 Name                 State      Autostart 
-------------------------------------------
 default              active     yes       
 LVM                  active     yes       
 sheepdog             active     yes       
 virt-manager         active     yes       

# virsh vol-list sheepdog
 Name                 Path                                    
-------------------------------------------
 dogtest2             dogtest2                                

# virsh vol-dumpxml dogtest2 sheepdog
<volume type='network'>
  <name>dogtest2</name>
  <key>sheepdog/dogtest2</key>
  <source>
  </source>
  <capacity unit='bytes'>8589934592</capacity>
  <allocation unit='bytes'>0</allocation>
  <target>
    <path>dogtest2</path>                 <--- the mistake is here
    <format type='unknown'/>
  </target>
</volume>

#

Thanks,
Dmitriy

On Mon, 10/08/2015 at 17:06 -0400, Cole Robinson wrote:
> On 08/10/2015 06:08 AM, Dmitriy Slachshyov wrote:
> > Cole,
> > 
> > I've repeated the adding process, running --debug flag.
> > Look at the attached file with debug messages.
> > 
> 
> Thanks for the info. Unfortunately I don't have a sheepdog setup so I 
> can't
> debug this easily at the moment. However I pushed a virt-manager 
> commit that
> will give more debugging info. Can you do the following:
> 
> git clone git://fedorahosted.org/virt-manager.git
> cd virt-manager
> ./virt-manager --debug
> 
> Reproduce the issue again: creating a volume in virt-manager, then 
> selecting
> it, and trying to continue the install.
> 
> Take all that info and the summary of your original mail and put it 
> in a bug
> report. https://virt-manager.org/bugs/
> 
> Also please provide 'virsh vol-dumpxml --pool $POOLNAME $VOLNAME' for 
> a
> correctly created sheepdog volume
> 
> Thanks,
> Cole
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-manager.log
Type: text/x-log
Size: 17982 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20150811/d75604d0/attachment.bin>


More information about the virt-tools-list mailing list