请各位大神帮忙看看,谢谢!
[root@node1 ~]# neutron agent-list --debug
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.16.27:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] Date: Tue, 11 Jul 2017 09:45:01 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-7cbd6791-6a9e-4ac9-84dd-dbabb72fbd36 Content-Length: 253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://192.168.16.27:35357/v3/", "rel": "self"}]}}
DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')
DEBUG: neutronclient.neutron.v2_0.agent.ListAgent get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, noindent=False, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))
DEBUG: keystoneclient.auth.identity.v3.base Making authentication request to http://192.168.16.27:35357/v3/auth/tokens
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.16.27:9696/v2.0/agents.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1b7a18b97259331bbe4cf62761be34eda0580639"
DEBUG: keystoneclient.session RESP: [500] Content-Length: 114 Content-Type: text/plain; charset=UTF-8 X-Openstack-Request-Id: req-cb357b2e-2dcb-45e0-b89e-b77e22536156 Date: Tue, 11 Jul 2017 09:45:02 GMT Connection: keep-alive
RESP BODY: 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
DEBUG: neutronclient.v2_0.client Error message: 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
ERROR: neutronclient.shell 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 814, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 110, in run_command
return cmd.run(known_args)
File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 29, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 35, in take_action
return self.get_data(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 716, in get_data
data = self.retrieve_list(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 679, in retrieve_list
data = self.call_server(neutron_client, search_opts, parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 651, in call_server
data = obj_lister(**search_opts)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1217, in list_agents
return self.get(self.agents_path, params=_params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 293, in get
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_request
self._handle_fault_response(status_code, replybody)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
exception_handler_v20(status_code, des_error_body)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
message=message)
NeutronClientException: 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation. |
|