[Sahara] Copy node group template button doesn't work in some cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Andrew Lazarev |
Bug Description
Copy node group template doesn't work if node group template contains None as "security_groups" field. Note, it is impossible to get into such state using horizon.
Steps to reproduce:
1. Create node group template with security_
2. Open node group templates list in horizon
3. Click 'Copy Template' button
Observed behavior: 'Danger: An error occurred. Please try again later.' error
Stacktrace from horizon:
Internal Server Error: /project/
Traceback (most recent call last):
File "/Users/
response = wrapped_
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return self.dispatch(
File "/Users/
return handler(request, *args, **kwargs)
File "/Users/
context = self.get_
File "/Users/
.get_
File "/Users/
workflow = self.get_workflow()
File "/Users/
entry_
File "/Users/
[(sg, sg) for sg in template.
TypeError: 'NoneType' object is not iterable
tags: | added: sahara |
Changed in horizon: | |
assignee: | nobody → Andrew Lazarev (alazarev) |
status: | New → Confirmed |
tags: | added: juno-backport-potential |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → kilo-3 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/153105
Review: https:/