Support Security Group Name Prefix Customization

Bug #1218589 reported by Auston McReynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Auston McReynolds

Bug Description

As of now, if CONF.trove_security_groups_support == True, then a Security Group is created for every new Instance, following the naming scheme of: "SecGroup_<Instance's UUID>".

Nicira NVP for Quantum enforces a Security Group naming limitation of 40 chars maximum. Given the UUID's length, this only leaves 2 characters for the prefix, e.g. 'SG' vs. 'SecGroup'.

Even in lieu of restrictions, it's not inconceivable that a vendor/user might want to customize the naming scheme of their Security Groups to align with other cloud providers, etc.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: nobody → Auston McReynolds (amcreynolds)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/44351
Committed: http://github.com/openstack/trove/commit/157e1807b42f6ccd5e282bc938638ffbc0da6611
Submitter: Jenkins
Branch: master

commit 157e1807b42f6ccd5e282bc938638ffbc0da6611
Author: Auston McReynolds <email address hidden>
Date: Thu Aug 29 12:58:45 2013 -0700

    Support Security Group Name Prefix Customization

    As of now, if CONF.trove_security_groups_support == True, then a
    Security Group is created for every new Instance, following the
    naming scheme of: "SecGroup_<Instance's UUID>".

    Nicira NVP for Quantum enforces a Security Group naming limitation of
    40 chars maximum. Given the UUID's length, this only leaves 2
    characters for the prefix, e.g. 'SG' vs. 'SecGroup'.

    Even in lieu of restrictions, it's not inconceivable that a
    vendor/user might want to customize the naming scheme of their
    Security Groups to align with other cloud providers, etc.

    Change-Id: I1043e15c71607cabe2fd6f72f64705e80cd2cde1
    Closes-Bug: #1218589

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: havana-3 → 2013.2
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.