[et-mgmt-tools] FYI: virt-manager improved remote management

Kevin Pescatello kevin at intriguedsolutions.com
Wed Sep 12 00:25:32 UTC 2007


Thanks for the help. I figured out Red Hat install and we have our
image-server back.

KP

-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at redhat.com] 
Sent: Monday, September 10, 2007 9:18 PM
To: et-mgmt-tools at redhat.com
Subject: [et-mgmt-tools] FYI: virt-manager improved remote management

Having played around with the remote management in virt-manager 0.5.0 with a
little more seriousness there were some fairly obvious issues to fix. eg If
the remote host is hung / slow to respond the initial connection attempt
will
hang the whole UI. Also if SSH keys & agent were not setup then when using a
connection tunnelled over SSH the whole app could sit there forever waiting
for the user to enter a password on the command line - which you'd never see
in a GUI app unless you happened to launch from a terminal.

So I've refactored things a little. First of all virt-manager will fork into
the background, close STDIN and setsid() to drop its controlling TTY. This
prevents any attempts by SSH to prompt for terminal input. Second, I've
moved
the calls to libvirt.open() into a background thread. While virt-manager is
attempting to make a connection you'll see a 'Connecting' status against the
row. You'll get a notification if there's a failure as before. You can have
many connections all attempting to conect at once if you want..

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496
-=|
|=-           Perl modules: http://search.cpan.org/~danberr/
-=|
|=-               Projects: http://freshmeat.net/~danielpb/
-=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
-=| 

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools at redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list