[nailgun] Nailgun returns Internal Server Error 500 while trying to get the list of 'openstack_config' with specified node ids
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Georgy Kibardin | ||
Mitaka |
Fix Released
|
High
|
Georgy Kibardin |
Bug Description
Detailed bug description:
If we try to get the list of 'openstack_config' (through the python-fuelclient) for some, not even existing, environment with node params Nailgun returns '500 Server Error: Internal Server Error':
[root@fuel ~]# fuel2 openstack-config list --env 1 --node 1 2
500 Server Error: Internal Server Error for url: http://
Here is a log for Nailgun:
[root@fuel ~]# tail /var/log/
............
2016-07-14 05:02:47.827 ERROR [7fc2d98de880] (base) Unexpected exception occured
Traceback (most recent call last):
File "/usr/lib/
resp = func(cls, *args, **kwargs)
File "/usr/lib/
objects.
File "/usr/lib/
return use_iterable.
File "/usr/lib64/
for key, value in kwargs.items()]
File "/usr/lib64/
(description, key)
InvalidRequestE
..............
Steps to reproduce:
1. Deploy Fuel (e.g. 1 master + 5 nodes).
2. DO NOT create any environments.
3. Try to get the list of 'openstack_config' (through the python-fuelclient) for some, not even existing, environment with node params:
fuel2 openstack-config list --env 1 --node 1 2
or
fuel openstack-config --list --env 1 --node 1,2
Expected results:
Empty result (or 404 Not Found)
Actual result:
500 Server Error: Internal Server Error for url: http://
Reproducibility:
Always
Description of the environment:
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
401
cat /etc/fuel_
401
cat /etc/fuel_release:
10.0
cat /etc/fuel_
newton-10.0
no longer affects: | fuel/newton |
tags: | added: 9.1-proposed |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin) |
Changed in fuel: | |
status: | Confirmed → In Progress |
tags: | added: on-verification |
@Maksim this bug is reproduced in ISO 410: 0-community- 410-2016- 07-15_11- 14-00
15 Jul 2016 11:40:49 fuel-10.
[root@fuel ~]# shotgun2 short-report build_number: openstack_ version: network- checker| nailgun| packetary| shotgun' : 10.0.0- 1.mos290. noarch 10.0.0- 1.mos308. noarch 10.0.0- 1.mos8658. noarch 10.0.0- 1.mos93. noarch 10.0.0- 1.mos8658. noarch 10.0.0- 1.mos6367. noarch -metadata- 10.0.0- 1.mos8857. noarch 10.0.0- 1.mos947. noarch 10.0.0- 1.mos6367. noarch astute- 10.0.0- 1.mos765. noarch fuelclient- 10.0.0- 1.mos356. noarch checker- 10.0.0- 1.mos77. x86_64 10.0.0- 1.mos8658. noarch 10.0.0- 1.mos8857. noarch mcagents- 10.0.0- 1.mos765. noarch 10.0.0- 1.mos8658. noarch .0-10.0. 0-1.mos8658. noarch 10.0.0- 1.mos2835. noarch 0.0-1.mos6367. noarch -cli-10. 0.0-1.mos308. noarch
cat /etc/fuel_build_id:
410
cat /etc/fuel_
410
cat /etc/fuel_release:
10.0
cat /etc/fuel_
newton-10.0
rpm -qa | egrep 'fuel|astute|
fuelmenu-
fuel-agent-
fuel-migrate-
shotgun-
fuel-notify-
fuel-release-
fuel-openstack
fuel-ostf-
fuel-setup-
rubygem-
python-
network-
fuel-utils-
fuel-nailgun-
nailgun-
fuel-misc-
fuel-library10
fuel-ui-
fuel-10.
fuel-bootstrap