Hello! After some mistakes yesterday we ( me and my colleague ) think that it will be wise for libvirt to check config file existence on remote side and through error if not, before migrating, otherwise migration will fail and VM fs can be damaged, because it is sort of remove of power plug... We missed twice yesterday :-( Could you tell me is there already such option or any plans to implement this? Thank you!
On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote:> After some mistakes yesterday we ( me and my colleague ) think that it > will be wise for libvirt to check config file existence on remote sideWhich config file?> and through error if not, > > before migrating, otherwise migration will fail and VM fs can be > damaged, because it is sort of remove of power plug... > > We missed twice yesterday :-( > > Could you tell me is there already such option or any plans to > implement this?You didn't really say anything about what you did and what happened. Thus it's impossible to help you. Jirka
13.09.2018 17:47, Jiri Denemark пишет:> On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: >> After some mistakes yesterday we ( me and my colleague ) think that it >> will be wise for libvirt to check config file existence on remote side > Which config file? >VM config file, namely qemu. We forgot to mount shared storage (namely gluster volume), on which we have config files, twice... And tried to live migrate VM to another host, where there is no config file, so VM can't be started, so it died. Twice :-(>> and through error if not, >> >> before migrating, otherwise migration will fail and VM fs can be >> damaged, because it is sort of remove of power plug... >> >> We missed twice yesterday :-( >> >> Could you tell me is there already such option or any plans to >> implement this? > You didn't really say anything about what you did and what happened. > Thus it's impossible to help you.I hope I explained. Thank you!> > Jirka
Hello! We tested this and problem is not in libvirt, but in pacemaker's virtualdomain. Thank you! 13.09.2018 10:35, Dmitry Melekhov пишет:> Hello! > > > After some mistakes yesterday we ( me and my colleague ) think that it > will be wise for libvirt to check config file existence on remote side > and through error if not, > > before migrating, otherwise migration will fail and VM fs can be > damaged, because it is sort of remove of power plug... > > We missed twice yesterday :-( > > > Could you tell me is there already such option or any plans to > implement this? > > > Thank you! > > >