[openstack-dev] [Ironic] [OSC] Quick poll: OpenStackClient command for provision action

Dean Troyer dtroyer at gmail.com
Tue Nov 10 16:14:23 UTC 2015


On Tue, Nov 10, 2015 at 9:46 AM, Dmitry Tantsur <dtantsur at redhat.com> wrote:

>  inspect, manage, provide, active and abort are all provisioning verbs
> used in ironic API. they usually represent some complex operations on a
> node. Inspection is not related to showing, it's about fetching hardware
> properties from hardware itself and updating ironic database. manage sets a
> node to a specific ("manageable") state. etc.
>

inspect seems like a very specific action and is probably OK as-is.  We
should sanity-check other resources in OpenStack that it might also be used
with down the road and how different the action might be.

Those that are states of a resource should be handled with a set command.


> boot and shutdown are natural opposites, aka power on and power off.
>

The analogous server commands (create/delete) may not make sense here
because, unlike with a server (VM), a resource is not being created or
deleted.  But a user might expect to use the same commands in both places.
We need to consider which of those is more important.  I like to break ties
on the side of user experience consistency.

Honestly, at some point as a user, I'd like to forget whether my server is
a bare metal box or not and just use the same commands to manage it.

Also, I'd LOVE to avoid using 'boot' at all just to get away from the nova
command's use of it.

dt

-- 

Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151110/33dc8ec5/attachment.html>


More information about the OpenStack-dev mailing list