failed to retrieve vnfd on tacker horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
High
|
yong sheng gong |
Bug Description
Hello,
After install the tacker-
the root cause is clear now that it was caused by code change in tacker _make_service_
on tacker 0.5.0, the code:
178 def _make_service_
179 return [{'id': service_type.id,
180 'service_type': service_
181 for service_type in service_types]
on tacker master, the code:
176 def _make_service_
177 return [service_
178 for service_type in service_types]
So the new code will return a list with string element inside. This will caused an except in line 56 below of the function get_vnfcatalog_
|- 53 services = vnfd['service_
|| 54 vnfd_services = []
|| 55 for s in services: ## services now is, e.g. [u'vnfd']
|| 56 if s['service_type'] != 'vnfd':
||- 57 vnfd_services.
the code may be udpated to:
Merry Christmas and Happy New Year.
futangw
Changed in tacker: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in tacker: | |
assignee: | nobody → yong sheng gong (gongysh) |
Thanks for reporting the problem *and* providing a possible fix.