[openstack-dev] [nova][novaclient] Responses for Deletion Events

Augustina Ragwitz augustina.ragwitz at hpe.com
Wed Mar 23 21:53:04 UTC 2016

There's been some discussion regarding a recent bug [1] where an issue was
reported that no confirmation/success message is received from "nova
agent-delete". This behavior is inconsistent from other novaclient delete
commands which do provide a success message.

There are a two issues that need to be addressed before this behavior can
be patched:

1) What would represent sufficient expected behavior in this deletion case?

A few options have been suggested in the bug; we should probably have
consensus. We should keep in mind the novaclient is due to be deprecated in
the near future, to be replaced by the openstack-client.

The options suggested include providing a simple success response or
supporting different levels of response data with options. For instance,
only show a message if the user specifies --verbose explicitly. novaclient
is not consistent with its "delete" behavior, some calls require --verbose
while others are verbose by default.

2) How does the openstack-client behave for deletions? Should we be
consistent with that in our own client?

I've been digging around in the available documentation for the OpenStack
client and didn't see response types documented. This issue has also not
been addressed in any of the HGI or other high level documentation. I
posted a question in the #openstack-sdks channel to see if anyone knows the
answer to this.

This might be a good opportunity to think about a standard for deletion
responses if one hasn't been defined already.

[1] https://bugs.launchpad.net/python-novaclient/+bug/1557888

Augustina Ragwitz
Sr Systems Software Engineer, HPE Cloud
Hewlett Packard Enterprise
irc: auggy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160323/b0b6f904/attachment.html>

More information about the OpenStack-dev mailing list