Ctrl+C取消后:
[root@network ~]# neutron net-create Ext-Net --provider:network_type local --router:external true
^CTraceback (most recent call last):
File "/usr/bin/neutron", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 665, in main
argv))
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 510, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 526, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 79, in run_command
return cmd.run(known_args)
File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 34, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/lib/python2.6/site-packages/cliff/display.py", line 84, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 40, in take_action
return self.get_data(parsed_args)
File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 419, in get_data
data = obj_creator(body)
File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 111, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 343, in create_network
return self.post(self.networks_path, body=body)
File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1241, in post
headers=headers, params=params)
File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1156, in do_request
resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/usr/lib/python2.6/site-packages/neutronclient/client.py", line 192, in do_request
**kwargs)
File "/usr/lib/python2.6/site-packages/neutronclient/client.py", line 146, in _cs_request
resp, body = self.request(*args, **kargs)
File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 1605, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 1353, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 1323, in _conn_request
response = conn.getresponse()
File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
response.begin()
File "/usr/lib64/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
line = self.fp.readline()
File "/usr/lib64/python2.6/socket.py", line 433, in readline
data = recv(1)
KeyboardInterrupt
[root@network ~]# |