Thanks, <br>If i have time ill add some more.<br><br>Regards<br><br>---- Cole Robinson kirjutas ----<br><br>On 01/29/2018 01:37 AM, Rauno Väli wrote:<br>> libvirt pool dumpxml:<br>> <pool type='rbd'><br>>   <name><a href="http://rbd.test">rbd.test</a></name><br>>   <uuid>57e55e10-63c9-4166-861c-f330d868260c</uuid><br>>   <capacity unit='bytes'><a href="tel:36792725520384">36792725520384</a></capacity><br>>   <allocation unit='bytes'><a href="tel:760411510361">760411510361</a></allocation><br>>   <available unit='bytes'><a href="tel:34510461812736">34510461812736</a></available><br>>   <source><br>>     <host name='<a href="tel:10.10.40.1">10.10.40.1</a>' port='6789'/><br>>     <host name='<a href="tel:10.10.40.2">10.10.40.2</a>' port='6789'/><br>>     <host name='<a href="tel:10.10.40.3">10.10.40.3</a>' port='6789'/><br>>     <name><a href="http://rbd.test">rbd.test</a></name><br>>     <auth type='ceph' username='admin'><br>>       <secret uuid='f65cc5a8-b77b-4254-9030-d50a528fb456'/><br>>     </auth><br>>   </source><br>> </pool><br>> <br>> with this patch i get correct disk definition using virt-install:<br>> ...<br>>     <disk type='network' device='disk'><br>>       <driver name='qemu' type='raw' cache='writeback'/><br>>       <auth username='admin'><br>>         <secret type='ceph' uuid='f65cc5a8-b77b-4254-9030-d50a528fb456'/><br>>       </auth><br>>       <source protocol='rbd'<br>> name='<a href="http://rbd.test/50845b54-0ed6-48e9-8d84-07b2cd2c0c4d.img'&gt">rbd.test/50845b54-0ed6-48e9-8d84-07b2cd2c0c4d.img'&gt</a>;<br>>         <host name='<a href="tel:10.10.40.1">10.10.40.1</a>' port='6789'/><br>>         <host name='<a href="tel:10.10.40.2">10.10.40.2</a>' port='6789'/><br>>         <host name='<a href="tel:10.10.40.3">10.10.40.3</a>' port='6789'/><br>>       </source><br>>       <target dev='vda' bus='virtio'/><br>>       <alias name='virtio-disk0'/><br>>       <address type='pci' domain='0x0000' bus='0x00' slot='0x07'<br>> function='0x0'/><br>>     </disk><br>> ...<br>> <br>> Without the patch it took only one host entry and no auth element. so<br>> the domain would fail.<br>> <br><br>Thanks! I stuffed in some test coverage, fixed some pylint warnings,<br>tweaked the commit message, and pushed your patch now.<br><br>Thanks,<br>Cole<br>