← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1161411] Re: Neutron SecGroup API should validate group name

 

Talking with Phil today on IRC. Because you can now reference by UUID he
said this wasn't really an issue they were into digging into any more.
I'm changing to Opinion / Wishlist in case someone wants to make this
part better in the future.

** Changed in: nova
       Status: Incomplete => Opinion

** Changed in: nova
   Importance: Medium => Wishlist

** Changed in: nova
       Status: Opinion => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1161411

Title:
  Neutron SecGroup API should validate group name

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  The validation of names and groups comes from the security group API
  driver validate_property() method, and the NativeNovaSecurityGroupAPI
  and NativeQuantumSecurityGroupAPI in Nova have different rules (Nova
  blocks empty names and descriptions and quantum does no validation).

  Normally an empty name is not an issue, since all SG APIs are based on
  the ID of the group.   However the action to add an instance to a
  security group takes a name not an ID - and will not accept an empty
  name.    Hence for consistency with Nova behavior the
  QuantumSecurityGroupAPI should perform the same validation as Nova.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1161411/+subscriptions