Is it possible to update and change the <auth/> for an RBD network disk while 
the domain the disk is attached to is running and without detaching/reattaching 
the disk?      For example if I have a disk attached like the following:

<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <auth username='someuser'>
        <secret type='ceph' usage='someuser key'/>
      </auth>
      <source protocol='rbd' name='somepool/someimage'>
        <host name='127.0.0.1' port='3300'/>
      </source>
      <target dev='sdd' bus='scsi'/>
      <alias name='scsi0-0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>

If I want to change the auth to 

      <auth username='someotheruser'>
        <secret type='ceph' usage='someotheruser key'/>
      </auth>
can I do that without either attaching/detaching the disk or 
stopping/restarting the domain?

I've tried `virsh update-device domain disk.xml --live --persistent` using xml 
identical to the current disk except for the auth and it says "Device updated 
successfully" but when I check the domain with `dumpxml` I can still see the 
original auth settings for the disk. 

Reply via email to