[Yahoo-eng-team] [Bug 1771325] Re: placement trait and inventory handler use nonstandard HTTP error message details

2020-11-06 Thread Balazs Gibizer
** Changed in: nova
   Status: Fix Committed => Fix Released

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

Title:
  placement trait and inventory handler use nonstandard HTTP error
  message details

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) pike series:
  Fix Released
Status in OpenStack Compute (nova) queens series:
  Fix Released

Bug description:
  DELETE /traits/

  Actual
  --

  {"errors": [{"status": 400, "request_id": "req-b30e30ba-9fce-403f-
  9f24-b6e32cd0b8c9", "detail": "Cannot delete standard trait
  HW_GPU_API_DXVA.\n\n   ", "title": "Bad Request"}]}

  Expected
  

  {"errors": [{"status": 400, "request_id": "req-3caa15be-a726-41f2
  -a7cb-f4afb3c97a44", "detail": "The server could not comply with the
  request since it is either malformed or otherwise incorrect.\n\n
  Cannot delete standard trait HW_GPU_API_DXVA.  ", "title": "Bad
  Request"}]}

  Most of the placement wsgi code passes one positional argument to the
  constructor of the  webob.exc.HTTPXXX exception classes but the trait
  [1] and inventory handlers uses the 'explanation' kwargs. As the above
  example shows this leads to different behavior. This inconsistency
  leads to incorrect behavior in osc placement client [2].

  [1] 
https://github.com/openstack/nova/blob/ae131868f71700d69053b65a0a37f9c2d65c3770/nova/api/openstack/placement/handlers/trait.py#L133
  [2] 
https://github.com/openstack/osc-placement/blob/2357807c95d74afc836852e1c54f0631c6fd2d60/osc_placement/http.py#L35

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1771325] Re: placement trait and inventory handler use nonstandard HTTP error message details

2019-04-04 Thread Chris Dent
** Changed in: nova/pike
   Status: Fix Committed => Fix Released

** Changed in: nova
   Status: Confirmed => Fix Committed

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

Title:
  placement trait and inventory handler use nonstandard HTTP error
  message details

Status in OpenStack Compute (nova):
  Fix Committed
Status in OpenStack Compute (nova) pike series:
  Fix Released
Status in OpenStack Compute (nova) queens series:
  Fix Released

Bug description:
  DELETE /traits/

  Actual
  --

  {"errors": [{"status": 400, "request_id": "req-b30e30ba-9fce-403f-
  9f24-b6e32cd0b8c9", "detail": "Cannot delete standard trait
  HW_GPU_API_DXVA.\n\n   ", "title": "Bad Request"}]}

  Expected
  

  {"errors": [{"status": 400, "request_id": "req-3caa15be-a726-41f2
  -a7cb-f4afb3c97a44", "detail": "The server could not comply with the
  request since it is either malformed or otherwise incorrect.\n\n
  Cannot delete standard trait HW_GPU_API_DXVA.  ", "title": "Bad
  Request"}]}

  Most of the placement wsgi code passes one positional argument to the
  constructor of the  webob.exc.HTTPXXX exception classes but the trait
  [1] and inventory handlers uses the 'explanation' kwargs. As the above
  example shows this leads to different behavior. This inconsistency
  leads to incorrect behavior in osc placement client [2].

  [1] 
https://github.com/openstack/nova/blob/ae131868f71700d69053b65a0a37f9c2d65c3770/nova/api/openstack/placement/handlers/trait.py#L133
  [2] 
https://github.com/openstack/osc-placement/blob/2357807c95d74afc836852e1c54f0631c6fd2d60/osc_placement/http.py#L35

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1771325] Re: placement trait and inventory handler use nonstandard HTTP error message details

2018-07-04 Thread Elod Illes
Fix released for stable/queens in 17.0.5

** Changed in: nova/queens
   Status: Fix Committed => Fix Released

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

Title:
  placement trait and inventory handler use nonstandard HTTP error
  message details

Status in OpenStack Compute (nova):
  Confirmed
Status in OpenStack Compute (nova) pike series:
  Fix Committed
Status in OpenStack Compute (nova) queens series:
  Fix Released

Bug description:
  DELETE /traits/

  Actual
  --

  {"errors": [{"status": 400, "request_id": "req-b30e30ba-9fce-403f-
  9f24-b6e32cd0b8c9", "detail": "Cannot delete standard trait
  HW_GPU_API_DXVA.\n\n   ", "title": "Bad Request"}]}

  Expected
  

  {"errors": [{"status": 400, "request_id": "req-3caa15be-a726-41f2
  -a7cb-f4afb3c97a44", "detail": "The server could not comply with the
  request since it is either malformed or otherwise incorrect.\n\n
  Cannot delete standard trait HW_GPU_API_DXVA.  ", "title": "Bad
  Request"}]}

  Most of the placement wsgi code passes one positional argument to the
  constructor of the  webob.exc.HTTPXXX exception classes but the trait
  [1] and inventory handlers uses the 'explanation' kwargs. As the above
  example shows this leads to different behavior. This inconsistency
  leads to incorrect behavior in osc placement client [2].

  [1] 
https://github.com/openstack/nova/blob/ae131868f71700d69053b65a0a37f9c2d65c3770/nova/api/openstack/placement/handlers/trait.py#L133
  [2] 
https://github.com/openstack/osc-placement/blob/2357807c95d74afc836852e1c54f0631c6fd2d60/osc_placement/http.py#L35

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1771325] Re: placement trait and inventory handler use nonstandard HTTP error message details

2018-06-25 Thread Matt Riedemann
** Also affects: nova/queens
   Importance: Undecided
   Status: New

** Also affects: nova/pike
   Importance: Undecided
   Status: New

** Changed in: nova/pike
 Assignee: (unassigned) => Elod Illes (elod-illes)

** Changed in: nova/queens
 Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Changed in: nova/queens
   Status: New => Fix Committed

** Changed in: nova/pike
   Status: New => In Progress

** Changed in: nova/pike
   Importance: Undecided => Medium

** Changed in: nova/queens
   Importance: Undecided => Medium

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

Title:
  placement trait and inventory handler use nonstandard HTTP error
  message details

Status in OpenStack Compute (nova):
  Confirmed
Status in OpenStack Compute (nova) pike series:
  In Progress
Status in OpenStack Compute (nova) queens series:
  Fix Committed

Bug description:
  DELETE /traits/

  Actual
  --

  {"errors": [{"status": 400, "request_id": "req-b30e30ba-9fce-403f-
  9f24-b6e32cd0b8c9", "detail": "Cannot delete standard trait
  HW_GPU_API_DXVA.\n\n   ", "title": "Bad Request"}]}

  Expected
  

  {"errors": [{"status": 400, "request_id": "req-3caa15be-a726-41f2
  -a7cb-f4afb3c97a44", "detail": "The server could not comply with the
  request since it is either malformed or otherwise incorrect.\n\n
  Cannot delete standard trait HW_GPU_API_DXVA.  ", "title": "Bad
  Request"}]}

  Most of the placement wsgi code passes one positional argument to the
  constructor of the  webob.exc.HTTPXXX exception classes but the trait
  [1] and inventory handlers uses the 'explanation' kwargs. As the above
  example shows this leads to different behavior. This inconsistency
  leads to incorrect behavior in osc placement client [2].

  [1] 
https://github.com/openstack/nova/blob/ae131868f71700d69053b65a0a37f9c2d65c3770/nova/api/openstack/placement/handlers/trait.py#L133
  [2] 
https://github.com/openstack/osc-placement/blob/2357807c95d74afc836852e1c54f0631c6fd2d60/osc_placement/http.py#L35

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp