← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1365226] Re: Add security group to running instance with nexus monolithic plugin throws error

 

** Changed in: neutron/icehouse
       Status: New => Fix Released

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

Title:
  Add security group to running instance with nexus monolithic plugin
  throws error

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron icehouse series:
  Fix Released

Bug description:
  While adding new security group to an existing instance with cisco
  nexus plugin(provider network) throws the following error.

  # nova add-secgroup   987efb45-1a6c-4a76-a26b-fe9cfdd8073e  test-security
  ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-8e0b85a2-7499-4420-8a68-3c68aa3ee1c9)

  Looking at the server.log points to an empty host list being passed.
  /var/log/neutron/server.log

  
  2014-09-02 20:10:22.116 52259 INFO neutron.wsgi [req-091df3c8-7bdb-42b5-801a-a26a650a451a None] (52259) accepted ('172.21.9.134', 39434)

  2014-09-02 20:10:22.211 52259 ERROR neutron.plugins.cisco.models.virt_phy_sw_v2 [-] Unable to update port '' on Nexus switch
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 Traceback (most recent call last):
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2   File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/models/virt_phy_sw_v2.py", line 405, in u
  pdate_port
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2     self._invoke_nexus_for_net_create(context, *create_args)
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2   File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/models/virt_phy_sw_v2.py", line 263, in _
  invoke_nexus_for_net_create
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2     [network, attachment])
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2   File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/models/virt_phy_sw_v2.py", line 148, in _
  invoke_plugin_per_device
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2     return func(*args, **kwargs)
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2   File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/nexus/cisco_nexus_plugin_v2.py", line 79,
   in create_network
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2     raise cisco_exc.NexusComputeHostNotConfigured(host=host)
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 NexusComputeHostNotConfigured: Connection to None is not configured.
  2014-09-02 20:10:22.211 52259 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2
  2014-09-02 20:10:22.256 52259 INFO neutron.api.v2.resource [req-8ebea742-09b5-416b-820f-69461c496319 None] update failed (client error): Connection to None is not configured.
  2014-09-02 20:10:22.257 52259 INFO neutron.wsgi [req-8ebea742-09b5-416b-820f-69461c496319 None] 172.21.9.134 - - [02/Sep/2014 20:10:22] "PUT //v2.0/ports/c2e6b716-5c7d-4d23-ab78-ecd2a649469b.json HTTP/1.1" 404 322 0.140213

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


References