You are correct.

Currently, xCAT uses the 'qemu+ssh' to access the libvirtd, so you need to
make sure the ssh has been setup correctly between MN and host (ssh access
without password). And I have added a tip in the doc.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Christopher Maestas <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   2013/01/05 07:18
Subject:        Re: [xcat-user] debugging communication to libvirt



Thanks for the debugging help. While I could connect via virt-manager
without issue, I was not able to connect via the ssh method. I resolved it
and have moved forward. Maybe it would be good to add this into a FAQ for
xCAT/kvm or the page here:

http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_Virtualization_with_KVM#Create_and_Install_Virtual_Machines

-Chris

---
Christopher D. Maestas, RHCE: 110-557-147
cell +1.505.459.4064 | [email protected]



On Fri, Jan 4, 2013 at 3:33 PM, Ling Gao <[email protected]> wrote:
  Does the following work?
  # virsh
  Welcome to virsh, the virtualization interactive terminal.

  Type:  'help' for help with commands
         'quit' to quit

  virsh # connect qemu+ssh://root@localhost/system

  virsh # list
   Id    Name                           State
  ----------------------------------------------------

  Ling

  Ling Gao
  Poughkeepsie Unix Development Lab
  IBM Systems and Technology Group
  Internal: T/L 293-5692
  External: [email protected], 845-433-5692

  "I never worry about the future. It comes soon enough." --- Albert
  Einstein



  From:        Christopher Maestas <[email protected]>
  To:        [email protected]
  Date:        01/04/2013 02:11 PM
  Subject:        [xcat-user] debugging communication to libvirt




  I saw this issue posted previously, but didn't see a resolution. I seem
  to be having troubles talking with libvirt. I tried turning off iptables
  but that didn't work. SELinux is disabled.

  # rpower cdmkvm2 status

  cdmkvm2: Error: Cannot communicate via libvirt to localhost

  localhost is where my hypervisor is located. Is there some sort of
  debugging or verbosity I could increase to find out more in xcat? I tried
  strace, but that's a ton of information that gets harder to parse. All I
  see in syslog is:
  ---
  Jan  4 12:06:41 HOST xCAT: xCAT: Allowing rpower to cdmkvm1 status for
  root from localhost.localdomain
  ---

  Thanks,
  -Chris
  ------------------------------------------------------------------------------

  Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
  much more. Get web development skills now with LearnDevNow -
  350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
  SALE $99.99 this month only -- learn more at:
  http://p.sf.net/sfu/learnmore_122812
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


  ------------------------------------------------------------------------------

  Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
  much more. Get web development skills now with LearnDevNow -
  350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
  SALE $99.99 this month only -- learn more at:
  http://p.sf.net/sfu/learnmore_122812
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to