placement logs an ERROR when PUT /allocation result in an invalid inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Jay Pipes |
Bug Description
When an allocation requests on placement results in an invalid inventory due to the capacity is exceeded then placement return HTTP 409 properly but at the same time logs an ERROR log (see below).
The ERROR log is not necessary as this is not a software error.
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: [pid: 9543|app: 0|req: 790/1579] 192.168.122.191 () {66 vars in 1440 bytes} [Thu Jul 20 11:44:38 2017] PUT /placement/
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG nova.api.
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: INFO nova.api.
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: [pid: 9542|app: 0|req: 790/1580] 192.168.122.191 () {60 vars in 1344 bytes} [Thu Jul 20 11:44:38 2017] GET /placement/
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG nova.api.
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:38 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: DEBUG oslo_concurrenc
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: ERROR nova.api.
Jul 20 11:44:39 ubuntu <email address hidden>[9538]: DEBUG nova.api.
tags: | added: placement |
Sure, this is a straightforward bug and fix. Just need to make the LOG be a DEBUG level not ERROR since, as Gibi points out, it's not a software error. Merely attempted to allocate against a full provider.