Documentation - server:security_groups has no effect if neutron ports assigned

Bug #1270313 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Steve McLellan

Bug Description

It makes sense now, but it's not clear from the documentation that if you assign a neutron port to a Nova::Server, security_groups assigned to the Server have no effect, although there's no notification.

Something in the Nova::Server template documentation would be helpful (or perhaps yet, reject the template). "If neutron ports are assigned, security_groups will have no effect. Assign them instead to individual ports."

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Better docs on the server security_groups property would help. We should also be able to validate on the server to not allow both security_groups and ports to be specified.

Changed in heat:
status: New → Triaged
importance: Undecided → Medium
milestone: none → icehouse-3
Steve McLellan (sjmc7)
Changed in heat:
assignee: nobody → Steve McLellan (sjmc7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/69052

Changed in heat:
status: Triaged → In Progress
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-3 → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/69052
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=a60c684b5c8b6bc24520db3dfa95fd0b6f5409e6
Submitter: Jenkins
Branch: master

commit a60c684b5c8b6bc24520db3dfa95fd0b6f5409e6
Author: Steve McLellan <email address hidden>
Date: Fri Jan 24 15:36:30 2014 -0600

    Server secgroups and network/port together invalid

    Nova silently ignores security_groups properties for a server if the
    server has a 'networks' property that references a neutron port, the
    intent being that security groups are assigned to the port(s).

    Adds note to Server properties to this effect.
    Validation fails for a Server if 'security_groups' is defined AND
    the server has neutron Ports assigned.

    Change-Id: I883761a0bb0e73a3fcc7c362d8e6dc5a099806e0
    Closes-Bug: #1270313

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-rc1 → 2014.1
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.