nova api policy doesn't support floating ip actions rule

Bug #1610520 reported by Yaguang Tang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned

Bug Description

For Nova master branch , the floating ip policy have no rule for create,delete, show, associate,disassociate floating ip. therefore user can't manage those actions accurately.

nova/nova/policies/floating_ips.py

BASE_POLICY_NAME = 'os_compute_api:os-floating-ips'
POLICY_ROOT = 'os_compute_api:os-floating-ips:%s'

floating_ips_policies = [
    policy.RuleDefault(
        name=BASE_POLICY_NAME,
        check_str=base.RULE_ADMIN_OR_OWNER),
    policy.RuleDefault(
        name=POLICY_ROOT % 'discoverable',
        check_str=base.RULE_ANY),
]

Revision history for this message
jichenjc (jichenjc) wrote :

I think it's not caused by recent policy changes ,it's more like a requirement instead of a bug

Revision history for this message
jichenjc (jichenjc) wrote :

and as the floating_ips API is going to deprecate as it's a proxy API, I see no reason to work on it?

Changed in nova:
status: New → Won't Fix
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.