never add/remove tenant access for nova flavor resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
huangtianhua |
Bug Description
For nova flavor resource, if the property 'is_public' set to false, we are going to add tenant access, but the code is incorrect, we don't check the value of property 'is_public', instead we check the property name:
if not self.IS_PUBLIC:
if not tenants:
else:
for tenant in tenants:
We have the same problem when update the flavor.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
importance: | Undecided → High |
milestone: | none → queens-1 |
tags: | added: pike-backport |
Fix proposed to branch: master /review. openstack. org/507792
Review: https:/