can't remove name from template for some neutron resources

Bug #1526594 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Triaged
Medium
huangtianhua

Bug Description

Neutron validates resource's name whether is string when update, if it's None, then Neutron will raise an error: BadRequest: Invalida input for name. Reason: 'None' is not a valid string.
For some neutron resources in heat, if user remove the name from template when update, heat will pass 'name=None' to neutron, then the above error will be raised, we should keep the same as creation, to set the name=physical resource name in this user case.

I think the 'description' has the same problem.

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
importance: Undecided → Medium
description: updated
Revision history for this message
Rabi Mishra (rabi) wrote :

I'll handle this as part of my update changes for neutron resources. Though there is very little chance someone will remove the name during an update. Not sure what would be the use case for that.

Revision history for this message
Rabi Mishra (rabi) wrote :

I'm not in favor of having description as a property though. IMO, we should deprecate them.

Angus Salkeld (asalkeld)
Changed in heat:
status: New → Triaged
Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.