Ask Your Question
0

Host action - host power management

asked 2015-01-13 07:17:04 -0500

lgda gravatar image

updated 2015-01-13 15:21:04 -0500

rbowen gravatar image

Hello,

I'm pretty new to Openstack and the cloud world in general so my question might be a little silly but I'm having a hard time finding out the requirements for host-action commands.

I'm using a basic Openstack installation done using the official installation guide with libvirt and QEMU.

Everything seems to be working just fine except for the host-action commands (via the compute API) which result in this error: {"notImplemented": {"message": "Virt driver does not implement host power management.", "code": 501}}

So my questions are pretty simple:

  • What do I have to do to support the host power management commands ?
  • Do these commands require the use of the bare-metal driver ?

Thanks !

edit retag flag offensive close merge delete

Comments

Nobody has any idea how these commands work ?

lgda gravatar imagelgda ( 2015-01-22 07:37:32 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-19 01:33:17 -0500

madhank gravatar image

updated 2015-02-19 01:39:34 -0500

Please check on your system bios where VT is enabled or not ,if the VT is not enabled ,do enable and check it works

use kvm-ok command to check were your base system contains VT enabled or not

check your /etc/nova/nova-compute.conf

needs to have

virt_type = qemu or kvm

edit flag offensive delete link more

Comments

Thanks for your answer but I don't think you're speaking about the same problem here. I was talking about these commands: http://developer.openstack.org/api-ref-compute-v2.1.html#v2.1hosts (http://developer.openstack.org/api-re...)

lgda gravatar imagelgda ( 2015-04-14 07:35:17 -0500 )edit
0

answered 2015-04-14 07:34:03 -0500

lgda gravatar image

Quoting an answer I got somewhere else:

Not all hypervisors will support all commands.

From what I can tell, Libvirt doesnt support any, and Xen and Hyper-V both support shutdown/reboot but not startup.

There doesn't seem to be a list of supported commands by each hypervisor but this does answer to my question.

Thanks Chris.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-13 07:17:04 -0500

Seen: 665 times

Last updated: Apr 14 '15