I tried to restore a saved xen image, and got:
# xm restore /grant.xen
Error: 1
What does that mean?
/var/log/xend.log says
[2005-01-13 16:01:35 xend] INFO (XendMigrate:413) restore BEGIN:
[''restore'', [''id'',
''2''], [''file'',
''/grant.xen'']]
[2005-01-13 16:01:35 xend] ERROR (SrvBase:162) op=restore: 1
/var/log/xend-debug.log
sync_session> <type ''str''> 4
[''restore'', [''id'', ''4''],
[''file'',
''/grant.xen'']]
Started to connect self= <xen.xend.XendMigrate.XfrdClientFactory
instance at 0x40
75dd2c> connector= <twisted.internet.tcp.Connector instance at
0x4075dd4c>
buildProtocol> IPv4Address(TCP, ''localhost'', 8002)
***request> /grant.xen
xfr_err> [''xfr.err'', ''0'']
xfr_err> <type ''str''> 0
xfr_err> [''xfr.err'', ''1'']
xfr_err> <type ''str''> 1
Error> 1
Error> calling errback
***cbremove> [Failure instance: Traceback: <type
''int''>, 1
]
***_delete_session> 4
Xfrd>loseConnection>
Xfrd>connectionLost> [Failure instance: Traceback:
twisted.internet.error.Connect
ionDone, Connection was closed cleanly.
]
XfrdInfo>connectionLost> [Failure instance: Traceback:
twisted.internet.error.Con
nectionDone, Connection was closed cleanly.
]
clientConnectionLost> connector= <twisted.internet.tcp.Connector
instance at 0x40
75dd4c> reason= [Failure instance: Traceback:
twisted.internet.error.ConnectionDo
ne, Connection was closed cleanly.
]
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
> I tried to restore a saved xen image, and got: > # xm restore /grant.xen > Error: 1 > > What does that mean?The xfrd.log is likely to be more interesting. Ian> > /var/log/xend.log says > [2005-01-13 16:01:35 xend] INFO (XendMigrate:413) > restore BEGIN: > [''restore'', [''id'', ''2''], [''file'', ''/grant.xen'']] > [2005-01-13 16:01:35 xend] ERROR (SrvBase:162) op=restore: 1 > > > /var/log/xend-debug.log > sync_session> <type ''str''> 4 [''restore'', [''id'', ''4''], [''file'', > ''/grant.xen'']] > Started to connect self= > <xen.xend.XendMigrate.XfrdClientFactory > instance at 0x40 > 75dd2c> connector= <twisted.internet.tcp.Connector instance at > 0x4075dd4c> > buildProtocol> IPv4Address(TCP, ''localhost'', 8002) > ***request> /grant.xen > xfr_err> [''xfr.err'', ''0''] > xfr_err> <type ''str''> 0 > xfr_err> [''xfr.err'', ''1''] > xfr_err> <type ''str''> 1 > Error> 1 > Error> calling errback > ***cbremove> [Failure instance: Traceback: <type ''int''>, 1 > ] > ***_delete_session> 4 > Xfrd>loseConnection> > Xfrd>connectionLost> [Failure instance: Traceback: > twisted.internet.error.Connect > ionDone, Connection was closed cleanly. > ] > XfrdInfo>connectionLost> [Failure instance: Traceback: > twisted.internet.error.Con > nectionDone, Connection was closed cleanly. > ] > clientConnectionLost> connector= > <twisted.internet.tcp.Connector > instance at 0x40 > 75dd4c> reason= [Failure instance: Traceback: > twisted.internet.error.ConnectionDo > ne, Connection was closed cleanly. > ] > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I''ve seen all sorts of weirdness with the control tools when migrating. One I did manage to diagnose is that, if you set the "mem=" parameter on the domain''s command line, you cannot save it properly (and hence cannot restore or migrate). Basically there is some bug-hunting to be done in that code at some point. -- Keir> > I tried to restore a saved xen image, and got: > # xm restore /grant.xen > Error: 1 > > What does that mean? > > > /var/log/xend.log says > [2005-01-13 16:01:35 xend] INFO (XendMigrate:413) restore BEGIN: > [''restore'', [''id'', ''2''], [''file'', ''/grant.xen'']] > [2005-01-13 16:01:35 xend] ERROR (SrvBase:162) op=restore: 1 > > > /var/log/xend-debug.log > sync_session> <type ''str''> 4 [''restore'', [''id'', ''4''], [''file'', > ''/grant.xen'']] > Started to connect self= <xen.xend.XendMigrate.XfrdClientFactory > instance at 0x40 > 75dd2c> connector= <twisted.internet.tcp.Connector instance at > 0x4075dd4c> > buildProtocol> IPv4Address(TCP, ''localhost'', 8002) > ***request> /grant.xen > xfr_err> [''xfr.err'', ''0''] > xfr_err> <type ''str''> 0 > xfr_err> [''xfr.err'', ''1''] > xfr_err> <type ''str''> 1 > Error> 1 > Error> calling errback > ***cbremove> [Failure instance: Traceback: <type ''int''>, 1 > ] > ***_delete_session> 4 > Xfrd>loseConnection> > Xfrd>connectionLost> [Failure instance: Traceback: > twisted.internet.error.Connect > ionDone, Connection was closed cleanly. > ] > XfrdInfo>connectionLost> [Failure instance: Traceback: > twisted.internet.error.Con > nectionDone, Connection was closed cleanly. > ] > clientConnectionLost> connector= <twisted.internet.tcp.Connector > instance at 0x40 > 75dd4c> reason= [Failure instance: Traceback: > twisted.internet.error.ConnectionDo > ne, Connection was closed cleanly. > ] > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
" The xfrd.log is likely to be more interesting. It doesn''t say much more: [2005-01-13 16:01:35 xend] INFO (XendMigrate:413) restore BEGIN: [''restore'', [''id'', ''2''], [''file'', ''/grant.xen'']] [2005-01-13 16:01:35 xend] ERROR (SrvBase:162) op=restore: 1 None ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel