ceph rbd pool and libvirt manageability (virt-install)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I created a rbd pool and activated it, but I can't seem to create
volumes in it with virsh or virt-install?

# virsh pool-dumpxml myrbdpool
<pool type='rbd'>
  <name>myrbdpool</name>
  <uuid>2d786f7a-2df3-4d79-ae60-1535bcf1c6b5</uuid>
  <capacity unit='bytes'>6997998301184</capacity>
  <allocation unit='bytes'>10309227031</allocation>
  <available unit='bytes'>6977204658176</available>
  <source>
    <host name='ceph01.powercraft.nl' port='6789'/>
    <host name='ceph02.powercraft.nl' port='6789'/>
    <host name='ceph03.powercraft.nl' port='6789'/>
    <name>libvirt-pool</name>
    <auth type='ceph' username='libvirt'>
      <secret uuid='029a334e-ed57-4293-bb99-ffafa8867122'/>
    </auth>
  </source>
</pool>

# virt-install --version
1.0.1

# virsh --version
1.2.9

I ended using virsh edit ceph-test.powercraft.nl and making creating
the disk manually.

<disk type='network' device='disk'>
  <auth username='libvirt'>
	<secret type='ceph' uuid='029a334e-ed57-4293-bb99-ffafa8867122'/>
  </auth>
  <source protocol='rbd' name='libvirt-pool/kvm01-storage'>
	<host name='ceph01.powercraft.nl' port='6789'/>
	<host name='ceph02.powercraft.nl' port='6789'/>
	<host name='ceph03.powercraft.nl' port='6789'/>
  </source>
  <target dev='vdc' bus='virtio'/>
</disk>

I use virt-install a lot to define, import and undefine domains, how
can I use virt-install to manage my rdb disks?

Kind regards,

Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iJwEAQECAAYFAlV1xlQACgkQ1WclBW9j5HkbPQP+PjNrzvlqysslOp2Yk7wH4Mxy
2sh2dn96G0KOAHEeEn3BN6IWlnD1TADZbHdpTtMwkdv48Xwn0sP1s+3QDM4pb3gP
n+z+dVxS8FouDIy/eiso3IBCj3g4TWbEX8ZHqs3jKqe0lZgAXBzB9xYSUowcEBrZ
ddkPbr8p8ozWyOG+9V8=
=lkK7
-----END PGP SIGNATURE-----

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux