[nailgun] Nailgun returns Internal Server Error while trying to get the list of available extensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Vitalii Kulanov | ||
Mitaka |
Fix Released
|
High
|
Vitalii Kulanov | ||
Newton |
Fix Released
|
High
|
Vitalii Kulanov |
Bug Description
Detailed bug description:
A new API handler /extensions/ (returns a list of available extensions) was added recently https:/
curl -s -H "X-Auth-Token: $AUTH_TOKEN" http://
internal server error
Nailgun logs:
[root@fuel ~]# tail /var/log/
2016-09-05 20:49:49.169 DEBUG [7f1839cbe880] (logger) Request GET /api/v1/extensions from 10.20.0.1:46888
2016-09-05 20:49:49.171 ERROR [7f1839cbe880] (logger) Traceback (most recent call last):
File "/usr/lib/
return self.handle()
File "/usr/lib/
return self._delegate(fn, self.fvars, args)
File "/usr/lib/
return handle_class(cls)
File "/usr/lib/
return tocall(*args)
File "<string>", line 2, in GET
File "/usr/lib/
resp = func(cls, *args, **kwargs)
File "/usr/lib/
return [ext.to_dict() for ext in get_all_
TypeError: unbound method to_dict() must be called with NetworkManagerE
2016-09-05 20:49:49.172 ERROR [7f1839cbe880] (logger) Response code '500 Internal Server Error' for GET /api/v1/extensions from 10.20.0.1:46888
Steps to reproduce:
1. Deploy Fuel (e.g. 1 master + 5 nodes).
2. Create new env.
6. Try to get the list of available extensions for the cluster
curl -s -H "X-Auth-Token: $AUTH_TOKEN" http://
Expected results:
List of available extensions
Actual result:
Interanal Server Error
Reproducibility:
Always
Description of the environment:
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
607
cat /etc/fuel_
607
cat /etc/fuel_release:
10.0
cat /etc/fuel_
newton-10.0
Additional information:
Reproduced in newton and mitaka (https:/
Changed in fuel: | |
assignee: | nobody → Vitalii Kulanov (vitaliy-t) |
summary: |
[nailgun] Nailgun returns Internal Server Error while trying to get the - list of available extensions for the cluster + list of available extensions |
description: | updated |
Changed in fuel: | |
importance: | Undecided → High |
milestone: | none → 9.1 |
tags: | added: customer-found |
tags: | added: on-verification |
Fix proposed to branch: master /review. openstack. org/366026
Review: https:/