Comments (7)
Hello, the script needs to be installed on the host.
What error exactly are you getting? Which user are you running this as? If not root - is the user member of the "libvirt" group on the host?
from fake_ilo.
thank for response. i try running ilo.py directly. when I am try to test my power management. I get this error
libvir: XML-RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)
Traceback (most recent call last):
File "/usr/local/bin/ilo.py", line 118, in
response='HOST_POWER="' + print_vm_status(username) + '"'
File "/usr/local/bin/ilo.py", line 24, in print_vm_status
conn = libvirt.open('qemu:///system')
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 236, in open
if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)
from fake_ilo.
Looks like you have authenitcation set up, try checking this:
http://wiki.libvirt.org/page/Tips#The_connection_fails_using_md5_digest_auth
What distro are you using?
Did you try to run the script as root/sudo?
from fake_ilo.
I am using centos and already run as root. Now I am disable libvirt authenitcation. But now i cannot get list of vm from other host.
Basicly this is what i am doing.
node1 : vm001 with fake_ilo
node2 : vm002
I try to set power manager at node2 and at fake_ilo only list vm001
from fake_ilo.
Oh, I get it. I never tested that, my script will probably require changes to support remote libvirt nodes. The quickest solution right now would be to set fake_ilo on both nodes separately. After all it's just a test tool so not intended for such a "wide" use.
Or you can modify the script and share results if you want!
from fake_ilo.
Thanks. I try to follow this video http://www.youtube.com/watch?v=uHCnXGUMaS0 but in russian.
can you tell me a little how to use fake_ilo
anyway thanks again
from fake_ilo.
First of all, the whole point I wrote the script was to record that video: I needed something that would emulate a fencing device to show off the HA functions of oVirt.
In my case there was a single Debian sid box running libvirt without authentication. As I understand, this setup works for you as well, so you installed the script successfully.
If you describe your use case we may try to find a better solution or modify the script a bit. Please share with me what you're planning to use this for.
from fake_ilo.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fake_ilo.