Comment 2 for bug 1204999

Revision history for this message
Matt Riedemann (mriedem) wrote :

This is what I see for hits in nova.api.openstack.compute.contrib.admin_actions:

62: raise exc.HTTPUnprocessableEntity() - pause
79: raise exc.HTTPUnprocessableEntity() - unpause
96: raise exc.HTTPUnprocessableEntity() - suspend
113: raise exc.HTTPUnprocessableEntity() - resume
143: raise exc.HTTPUnprocessableEntity() - reset network
159: raise exc.HTTPUnprocessableEntity() - inject network info
175: raise exc.HTTPUnprocessableEntity() - lock
191: raise exc.HTTPUnprocessableEntity() - unlock
329: raise exc.HTTPUnprocessableEntity() - reset state

I'm not sure I follow this statement though:

"The stable API policy allows to change these status codes in this situation."

That means we're OK to change the existing API for this? I'm sort of new to the rules on stable APIs, can you point to a doc or something that talks about that policy and if changing this is allowed?