Hello Cobbler folks,
I'm having some problems using the Cobbler web interface. I can create
and build profiles/VMs with no issues. But for some reason when I use
the power management features, it doesn't work . If I click on reboot,
power on/off, the webgui spits back:
Error
Error while controlling power of system :[Errno 9] Bad file descriptor
Error
Error while controlling power of system :[Errno 2] No such file or directory
And I notice a similar message in cobblerd's log as:
2009-11-09 15:22:00,283 - api - Exception occured: <type
'exceptions.OSError'>
2009-11-09 15:22:00,283 - api - Exception value: [Errno 2] No such
file or directory
2009-11-09 15:22:00,284 - api - Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
1567, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
1529, in power_system
rc=self.api.power_off(obj)
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 729,
in power_off
return
action_power.PowerTool(self._config,system,self,user,password).power("off")
File "/usr/lib/python2.6/site-packages/cobbler/action_power.py",
line 113, in power
rc = sub_process.call(cmd, shell=False, close_fds=True)
File "/usr/lib/python2.6/site-packages/cobbler/sub_process.py",
line 412, in call
return Popen(*args, **kwargs).wait()
File "/usr/lib/python2.6/site-packages/cobbler/sub_process.py",
line 542, in __init__
errread, errwrite)
File "/usr/lib/python2.6/site-packages/cobbler/sub_process.py",
line 975, in _execute_child
raise child_exception
I'm particularly interested in knowing the meaning of an "Error 2/9"
message
and/or what file or directory it can't find.
I have the cman and fence-agent tools installed and virsh
reboot/shutdown work, but
just not from the webgui. Any ideas on how to solve this would be greatly
appreciated.
cobbler 1.6.6
Compiled against library: libvir 0.6.2
Using library: libvir 0.6.2
Using API: QEMU 0.6.2
Running hypervisor: QEMU 0.10.6
Fedora 11 x86_64
Thanks
Raekwon
Show replies by date