Skip to contentSkip to conversation

Xend HTTP protocol: reboot/shutdown problem

DISCUSSION Fabien Hermenier 2 participants 2 messages Dec 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi
I manage my hypervisor with HTTP protocol. The command :
- POST /xend/node?op=shutdown HTTP/1.0 and
- POST /xend/node?op=reboot HTTP/1.0

doesn't seems to be active. Xend replies me a status code 200 (ok) but no reboot nor shutdown.

Regards.
Fabien Hermenier

#1 lore raw
Quoted 8 lines · Fabien Hermenier

Hi
I manage my hypervisor with HTTP protocol. The command :
- POST /xend/node?op=shutdown HTTP/1.0 and
- POST /xend/node?op=reboot HTTP/1.0

doesn't seems to be active. Xend replies me a status code 200 (ok) but no reboot nor shutdown.

Has this ever worked? XendNode.py has

def shutdown(self):
return 0

def reboot(self):
return 0

and it's looked like that since 2004, AFAICT.

Ewan.