← Back to team overview

openstack team mailing list archive

" quantum unplug_iface " - unable to unplug interface

 

Hi,

I am testing quantum CLIs in my set up. All are fine but when I am trying to unplug
a interface using the unplug_iface CLI, it is giving some Exception. Here is the snippet
of command and the exception which I got :
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

~/devstack$ quantum unplug_iface 77aced062b674e778489e95c02a832ec 69d80a9c-d018-4203-9e71-a8871aa447b4 8049f78f-e160-4e66-916a-2e2fc0d425b7 
Traceback (most recent call last):
  File "/opt/stack/python-quantumclient/quantum/client/cli_lib.py", line 511, in unplug_iface
    client.detach_resource(network_id, port_id)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 145, in with_params
    ret = self.function(instance, *args)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 507, in detach_resource
    return self.delete(self.attachment_path % (network, port))
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 375, in delete
    headers=headers, params=params)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 364, in retry_request
    headers=headers, params=params)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 305, in do_request
    self._handle_fault_response(status_code, data)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 228, in _handle_fault_response
    EXCEPTION_HANDLERS[self.version](status_code, des_error_body)
  File "/opt/stack/python-quantumclient/quantum/client/__init__.py", line 119, in exception_handler_v11
    raise exceptions.QuantumClientException(message=msg)
QuantumClientException: 400-{u'Error': {u'message': u'The server could not comply with the request since it is either malformed or otherwise incorrect.', u'code': 400}}
stack@nvptesting-controller:~/devstack$ 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Any effort to solve this issue will be highly appreciated.


Thanks and Regards,
Girija Sharan Singh