fuel cli --start post_deployment returns 500 Server Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Roman Prykhodchenko | ||
7.0.x |
Won't Fix
|
Medium
|
MOS Maintenance | ||
8.0.x |
Won't Fix
|
Medium
|
MOS Maintenance | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
On Fuel 7.0, trying to run post_deployment tasks through the Fuel CLI:
fuel node --node 163 --start post_deployment
the following is received:
500 Server Error: Internal Server Error (u'post_
snippets from the nailgun app and api logs is below:
[pid: 685|app: 0|req: 1701/20624] 200.200.200.4 () {34 vars in 606 bytes} [Tue Mar 1 18:39:31 2016] GET /api/v1/
[pid: 687|app: 0|req: 5589/20625] 192.168.10.4 () {44 vars in 954 bytes} [Tue Mar 1 18:39:37 2016] GET /api/logs?
2016-03-01 18:39:30.932 DEBUG [7f5dcf444740] (logger) Response code '200 OK' for PUT /api/nodes/agent/ from 200.200.200.8:42161
2016-03-01 18:39:31.306 DEBUG [7f5dcf444740] (logger) Request GET /api/logs?
2016-03-01 18:39:31.309 DEBUG [7f5dcf444740] (logger) Response code '200 OK' for GET /api/logs?
2016-03-01 18:39:31.615 DEBUG [7f5dcf444740] (logger) Request GET /api/v1/version from 200.200.200.4:42773
2016-03-01 18:39:31.624 DEBUG [7f5dcf444740] (logger) Response code '200 OK' for GET /api/v1/version from 200.200.200.4:42773
2016-03-01 18:39:31.922 DEBUG [7f5dcf444740] (logger) Request GET /api/v1/nodes/163/ from 200.200.200.4:42781
2016-03-01 18:39:31.977 DEBUG [7f5dcf444740] (logger) Response code '200 OK' for GET /api/v1/nodes/163/ from 200.200.200.4:42781
2016-03-01 18:39:32.025 DEBUG [7f5dcf444740] (logger) Request GET /api/v1/
2016-03-01 18:39:32.066 ERROR [7f5dcf444740] (logger) Response code '500 Internal Server Error' for GET /api/v1/
2016-03-01 18:39:37.297 DEBUG [7f5dcf444740] (logger) Request GET /api/logs?
The issue is that the task name needs to be 'post_deploymen
expected result:
API should return 4xx (404?) about unknown task name, client should catch this message and provide a useful message to the CLI caller
description: | updated |
description: | updated |
tags: | added: area-python |
tags: | added: keep-in-9.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Roman Prykhodchenko (romcheg) |
We have two bugs #1551902 and #1551904 with same complaints. Looks like the first one is about code and the second one is about docs.