Need to regenerate this sample in order to get acceptable list of exceptions
1. ironic.openstack.common.exception does not exist;
2. I'm not sure if we're able to get nova.exception or cinder.exception on Conductor side;
3. Need to add ironic.common.exception since this one is widely used across Conductor;
There is wrong default value in ironic/openstack/common/rpc/__init__.py, that's where the wrong sample comes from. Since it's under openstack/common we need to override this option somewhere, f.e. in /ironic/conductor/rpcapi.py, and regenerate the sample config.
The wrong config leads to improper deserialization of remote exceptions. As a result for our Ironic exceptions we're always getting instance of rpc.common:RemoteError which doesn't inherit IronicException and therefore bypassed by our except blocks. (see ironic/openstack/common/rpc/common.py: deserialize_remote_exception)
Problem seems to stem from git.openstack. org/cgit/ openstack/ ironic/ tree/ironic/ openstack/ common/ rpc/__init_ _.py#n59
http://
Solution, if I understand correctly, is that we need to add "ironic. common. exception" to that list. I see that some other projects have manually added their exception module to the allowed list. See Heat: git.openstack. org/cgit/ openstack/ heat/commit/ ?id=d0765af7c8b 17d48b2fe3c70e8 7383af4bd0c5c9
http://