Can I define new exception code when developing nova scheduler?

asked 2013-05-06 01:25:59 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am a developer of IBM opnenstack drs team. I need to introduce my own exception codes for special purpose. But I don't know if it's compatible with openstack.

Now that nova exception define those codes already: Code Exception Type, 500 NovaException, 400 NotAuthorized, 403 Invalid, 404 NotFound, 409 DevicePathInUse/ NoUniqueMatch/ CidrConflict, 412 ConstraintNotMet, 413 QuotaError,

I just want to define new Exceptions with codes 10501,10502 and so on.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-07 19:05:43 -0600

smaffulli gravatar image

I would suggest you to ask this question on the OpenStack Development mailing list as I believe it requires lots more discussions among the whole community. to sign up (I suggest you to subscribe to that list).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-05-06 01:25:59 -0600

Seen: 125 times

Last updated: May 07 '13