Question regarding Neutron exception while executing nova commands
Here is what I am doing:
I am trying do a nova interface-attach vm --net <uuid>
The expected behavior as per the vendor plugin is to throw an error when the interface that is being attached to the vm is in another enterprise.
I however get the following error in the cli. I am sure that my code (plugin) is sending a BadReq. exception.
However, the exception on cli is as follows:
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-758cbcdf-4722-4849-8cf1-26491f782ddc)
I am guessing that this exception is a nova exception. Is there a way to throw neutron exception while executin nova commands. I don't think so..
Any comments w.r.t the above behavior is much appreciated!
thanks!
See https://ask.openstack.org/en/question...
I understand how to add an interface to a running instance. My question is regarding how to handle neutron exception when a nova command is being executed?