← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1161078] Re: Unable to apply a single security group to port

 

This is a bug in the client and not in the server.  Adding the client
project and dropping the server from the bug.

** Tags added: sg-fw

** Also affects: python-quantumclient
   Importance: Undecided
       Status: New

** Changed in: quantum
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1161078

Title:
  Unable to apply a single security group to port

Status in Python client library for Quantum:
  New
Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  When I try to apply a single security group to a port, Quantum returns
  an error from the request.  This is because the client passes a single
  security group as a string instead of a list, and Quantum tries to
  treat the string as a list.  I have a fix for this, which will be
  submitted soon.

  Example:

  ubuntu@quantum:/opt/stack/quantum$ quantum port-update efdffe3c-c64c-466e-9f51-b70f3c9e95e6 --security_groups 057337f8-ea28-4aa8-b5d0-c35f9007d66f
  Namespace(id='efdffe3c-c64c-466e-9f51-b70f3c9e95e6', no_security_groups=False, request_format='json')
  Invalid input for operation: '0' is not an integer or uuid.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-quantumclient/+bug/1161078/+subscriptions