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

Re: [Xen-users] xl migration issues



Hi Andrea, I tried what you suggested but still getting the same error...


2013/4/10 Andrea Monti <ilsuonogiallo@xxxxxxxxx>
Hi,
the "sudo: no tty present and no askpass program specified" is a sudo problem, not a Xen problem.
Ask you administrator to allow user@otherhost to run sudo without any tty (he should commen out the requiretty options for user@otherhost)

Andrea



2013/4/10 Vincenzo De Maio <vinc.demaio@xxxxxxxxx>
Hi all,
I have some problems with live migration using the xl toolstack. I'm running Xen 4.1.4 on Centos 5.8 . I need to migrate a domain between two hosts on the same subnet. To do that, I run

sudo /usr/sbin/xl migrate -s "ssh user@otherhost sudo xl migrate-receive" domain otherhost

(I need to do this because I cannot have the root password of these two machines, so I asked just the rights to use xl with sudo)

but what I get is this error:

sudo: no tty present and no askpass program specified
libxl: error: libxl_utils.c:408:libxl_read_exactly file/stream truncated reading banner from migration receiver stream
libxl: info: libxl_exec.c:72:libxl_report_child_exitstatus migration target process [8541] exited with error status 1

What am I doing wrong? Thanks a lot in advance for your answers!

P.S. Does xl migrate performs live migration by default?



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.