yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46145
[Bug 1537674] Re: host action should use POST instead of GET for power on , reboot etc
This is going to require a spec, as it will be a microversion. I agree
GET is the wrong method for these kinds of things.
** Changed in: nova
Importance: Undecided => Wishlist
** Changed in: nova
Status: New => Opinion
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1537674
Title:
host action should use POST instead of GET for power on , reboot etc
Status in OpenStack Compute (nova):
Opinion
Bug description:
288 class Hosts(extensions.V21APIExtensionBase):
289 """Admin-only host administration."""
290
291 name = "Hosts"
292 alias = ALIAS
293 version = 1
294
295 def get_resources(self):
296 resources = [extensions.ResourceExtension(ALIAS,
297 HostController(),
298 member_actions={"startup": "GET", "shutdown": "GET",
299 "reboot": "GET"})]
we use GET for thoes actions, POST will be a better choice
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1537674/+subscriptions
References