← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312278] [NEW] "AttributeError: 'NoneType' object has no attribute 'split'" on rebuild

 

Public bug reported:

If the rebuild POST request is sent with a body like {"rebuild":
{"imageRef": null}} the API will return a 500 response.   The reason for
this is that a split() is attempted on imageRef, which causes the
following logged error.

2014-04-23 02:03:13.229 14084 ERROR nova.api.openstack [req-533af88c-
708d-4dc0-b122-a02b424a435f XXXXXX XXXXXX] Caught error: 'NoneType'
object has no attribute 'split'

** Affects: nova
     Importance: Undecided
         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/1312278

Title:
  "AttributeError: 'NoneType' object has no attribute 'split'" on
  rebuild

Status in OpenStack Compute (Nova):
  New

Bug description:
  If the rebuild POST request is sent with a body like {"rebuild":
  {"imageRef": null}} the API will return a 500 response.   The reason
  for this is that a split() is attempted on imageRef, which causes the
  following logged error.

  2014-04-23 02:03:13.229 14084 ERROR nova.api.openstack [req-533af88c-
  708d-4dc0-b122-a02b424a435f XXXXXX XXXXXX] Caught error: 'NoneType'
  object has no attribute 'split'

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


Follow ups

References