← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1494125] [NEW] When post an unkown external event to nova api, it will return 500

 

Public bug reported:

The InstanceExternalEvent object use enum type for name field
https://github.com/openstack/nova/blob/279c2b0a015b67c5195ab028eeab15b00a94e5ee/nova/objects/external_event.py#L41

But there isn't any limit in the API schema
https://github.com/openstack/nova/blob/279c2b0a015b67c5195ab028eeab15b00a94e5ee/nova/api/openstack/compute/schemas/server_external_events.py#L29

It leads to return 500.

** Affects: nova
     Importance: Undecided
     Assignee: Alex Xu (xuhj)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1494125

Title:
  When post an unkown external event to nova api, it will return 500

Status in OpenStack Compute (nova):
  New

Bug description:
  The InstanceExternalEvent object use enum type for name field
  https://github.com/openstack/nova/blob/279c2b0a015b67c5195ab028eeab15b00a94e5ee/nova/objects/external_event.py#L41

  But there isn't any limit in the API schema
  https://github.com/openstack/nova/blob/279c2b0a015b67c5195ab028eeab15b00a94e5ee/nova/api/openstack/compute/schemas/server_external_events.py#L29

  It leads to return 500.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1494125/+subscriptions


Follow ups