Comment 2 for bug 1651258

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

[root@b7s32 ~]# neutron --debug --insecure net-delete cec382aa-8a52-4fbf-9f6b-1c60536ccdc4
DEBUG: stevedore.extension found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG: stevedore.extension found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG: stevedore.extension found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG: neutronclient.neutron.v2_0.network.DeleteNetwork run(Namespace(id=u'cec382aa-8a52-4fbf-9f6b-1c60536ccdc4', request_format='json'))
DEBUG: keystoneauth.session REQ: curl -g -i --insecure -X GET https://172.16.80.1:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.4.1 python-requests/2.9.1 CPython/2.7.5"
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:797: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
DEBUG: keystoneauth.session RESP: [200] Content-Length: 338 Vary: X-Auth-Token Connection: keep-alive Date: Fri, 03 Mar 2017 05:27:54 GMT Content-Type: application/json X-Openstack-Request-Id: req-8973515b-3ea2-4509-8aa1-606ea0447095
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "https://172.16.80.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG: keystoneauth.identity.v2 Making authentication request to https://172.16.80.1:5000/v2.0/tokens
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:797: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
DEBUG: keystoneauth.session REQ: curl -g -i --insecure -X GET https://172.16.80.50:9696/v2.0/networks.json?fields=id&id=cec382aa-8a52-4fbf-9f6b-1c60536ccdc4 -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4497b4d018d4a8ce9a8865ced161a744b5cc13eb"
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:797: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
DEBUG: keystoneauth.session RESP: [200] Date: Fri, 03 Mar 2017 05:27:55 GMT Content-Length: 62 Content-Type: application/json; charset=UTF-8 X-Openstack-Request-Id: req-6acf1afc-9e45-4610-b5a6-d561ab790311
RESP BODY: {"networks": [{"id": "cec382aa-8a52-4fbf-9f6b-1c60536ccdc4"}]}

DEBUG: keystoneauth.session REQ: curl -g -i --insecure -X DELETE https://172.16.80.50:9696/v2.0/networks/cec382aa-8a52-4fbf-9f6b-1c60536ccdc4.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4497b4d018d4a8ce9a8865ced161a744b5cc13eb"
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:797: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)

ERROR: neutronclient.shell Unable to establish connection to https://172.16.80.50:9696/v2.0/networks/cec382aa-8a52-4fbf-9f6b-1c60536ccdc4.json
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 900, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 117, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 403, in run
    return super(NeutronCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 55, in run
    self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 592, in take_action
    obj_deleter(_id)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 97, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 699, in delete_network
    return self.delete(self.network_path % (network))
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 354, in delete
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 335, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 286, in do_request
    resp, replybody = self.httpclient.do_request(action, method, body=body)
  File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 306, in do_request
    return self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 294, in request
    resp = super(SessionClient, self).request(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
    return self.session.request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
    resp = send(**kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 496, in _send_request
    raise exceptions.ConnectFailure(msg)
ConnectFailure: Unable to establish connection to https://172.16.80.50:9696/v2.0/networks/cec382aa-8a52-4fbf-9f6b-1c60536ccdc4.json
Unable to establish connection to https://172.16.80.50:9696/v2.0/networks/cec382aa-8a52-4fbf-9f6b-1c60536ccdc4.json
[root@b7s32 ~]#
[root@b7s32 ~]#
[root@b7s32 ~]#