[pve-devel] openvz vm migration bug?

Игорь Шестаков shine at selectel.ru
Tue Nov 5 16:09:59 CET 2013


On Fri, Nov 1, 2013 at 6:39 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:

> > If one of this actions fail, it MUST be restored on current node.
>
> At some point it is no longer possible to restore on current node.
>

At what point?
Ok, look at online migration.
We can restore container at any time. After 1st sync(actually vm not
stopped, and we can only cancel sync)
After suspend(we get vm dump-file and we can restore it) if any of
following actions will fail:
2nd sync, copying of dump-file
And finally - ct restore.


>
> > Now we can see something like this:
> >
> > Nov 01 13:32:55 container is running - using online migration Nov 01
> 13:32:56
> > starting rsync phase 1
> > -----------
> > Nov 01 13:34:18 start live migration - suspending container Nov 01
> 13:34:18
> > dump container state Nov 01 13:34:18 copy dump file to target node Nov 01
> > 13:34:20 starting rsync (2nd pass) Nov 01 13:34:20 dump 2nd level quota
> Nov 01
> > 13:34:20 copy 2nd level quota to target node Nov 01 13:34:22 initialize
> > container on remote node 'node2'
> > Nov 01 13:34:22 initializing remote quota Nov 01 13:34:22 turn on remote
> quota
> > Nov 01 13:34:22 load 2nd level quota Nov 01 13:34:22 starting container
> on
> > remote node 'node2'
> > Nov 01 13:34:22 restore container state
> > Nov 01 13:34:23 Restoring container ...
> > Nov 01 13:34:23 Starting container ...
> > Nov 01 13:34:23 Container is mounted
> > Nov 01 13:34:23       undump...
> > Nov 01 13:34:23 Setting CPU units: 1000
> > Nov 01 13:34:23 Setting CPUs: 1
> > Nov 01 13:34:23 Setting devices
> > Nov 01 13:34:23 Error: undump failed: Cannot allocate memory Nov 01
> 13:34:23
>
> You just do not have enough free memory on that node?
>
>
Yes, there is 64G free.
Same problem, when vm disk space is 100% use(simfs). There is a error in
container start
No matter, what error i get. If there is an error, container must be
restored on first node with condition, that it has on suspend.
vzmigrate(openvz package) do it well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20131105/38a03488/attachment.html>


More information about the pve-devel mailing list