← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1547197] [NEW] "Additional properties are not allowed" message not getting translated

 

Public bug reported:

During a Nova v2.1 request, the message "Additional properties are not
allowed" is not being translated.  Other parts of the API request are
being translated, but the error message seems to be hard-coded in
English.


Example:

URL:
https://9.47.82.183/powervc/openstack/compute/v2.1/dbcb06068c6e4a3fb59326a0bce653f0/os-hosts/ip9_114_181_60

Body:
{
    "registration": {
        "host_display_name": "MyKVMHost_updated1",
        "access_ip": "912.123.233.44",
        "user_id": "root",
        "password": "Passw0rd"
    }
}

Response:
400

{"badRequest": {"message": "Additional properties are not allowed
(u'registration' was unexpected)", "code": 400}}

** Affects: nova
     Importance: Undecided
     Assignee: Lauren Taylor (lmtaylor)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Lauren Taylor (lmtaylor)

-- 
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/1547197

Title:
  "Additional properties are not allowed" message not getting translated

Status in OpenStack Compute (nova):
  New

Bug description:
  During a Nova v2.1 request, the message "Additional properties are not
  allowed" is not being translated.  Other parts of the API request are
  being translated, but the error message seems to be hard-coded in
  English.

  
  Example:

  URL:
  https://9.47.82.183/powervc/openstack/compute/v2.1/dbcb06068c6e4a3fb59326a0bce653f0/os-hosts/ip9_114_181_60

  Body:
  {
      "registration": {
          "host_display_name": "MyKVMHost_updated1",
          "access_ip": "912.123.233.44",
          "user_id": "root",
          "password": "Passw0rd"
      }
  }

  Response:
  400

  {"badRequest": {"message": "Additional properties are not allowed
  (u'registration' was unexpected)", "code": 400}}

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


Follow ups