openstack mitaka neutron, resource could not be found after typing "neutron agent-list"

asked 2016-07-10 07:29:46 -0600

vincentliuyin gravatar image

Hi, Expert,

As the title,  I didn't receive such error last week at same envrionment last week,  but today whenever I run any neutron related command  I met such error.   Appreciate if someone can have a look.

Debug message and neutron config file is attached following

-----------debug message of neutron agen-list ----- root@opencontrol225:/home/vincent# neutron agent-list 404-{u'error': {u'message': u'The resource could not be found.', u'code': 404, u'title': u'Not Found'}} Neutron server returns request_ids: ['req-a6f3d259-9745-42fd-a1ce-797390b6876d'] root@opencontrol225:/home/vincent# neutron agent-list --debug 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: os_client_config.config Deferring keystone exception: Auth plugin requires parameters which were not given: auth_url DEBUG: stevedore.extension found extension EntryPoint.parse('v2token = keystoneclient.auth.identity.v2:Token') DEBUG: stevedore.extension found extension EntryPoint.parse('admin_token = keystoneclient.auth.token_endpoint:Token') DEBUG: stevedore.extension found extension EntryPoint.parse('v2password = keystoneclient.auth.identity.v2:Password') DEBUG: stevedore.extension found extension EntryPoint.parse('v3password = keystoneclient.auth.identity.v3:Password') DEBUG: stevedore.extension found extension EntryPoint.parse('v3scopedsaml = keystoneclient.contrib.auth.v3.saml2:Saml2ScopedToken') DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcpassword = keystoneclient.contrib.auth.v3.oidc:OidcPassword') DEBUG: stevedore.extension found extension EntryPoint.parse('v3unscopedadfs = keystoneclient.contrib.auth.v3.saml2:ADFSUnscopedToken') DEBUG: stevedore.extension found extension EntryPoint.parse('token = keystoneclient.auth.identity.generic:Token') DEBUG: stevedore.extension found extension EntryPoint.parse('v3token = keystoneclient.auth.identity.v3:Token') DEBUG: stevedore.extension found extension EntryPoint.parse('password = keystoneclient.auth.identity.generic:Password') DEBUG: stevedore.extension found extension EntryPoint.parse('v3unscopedsaml = keystoneclient.contrib.auth.v3.saml2:Saml2UnscopedToken') DEBUG: stevedore.extension found extension EntryPoint.parse('osc_password = openstackclient.api.auth_plugin:OSCGenericPassword') DEBUG: stevedore.extension found extension EntryPoint.parse('token_endpoint = openstackclient.api.auth_plugin:TokenEndpoint') 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: neutronclient.neutron.v2_0.agent.ListAgent run(Namespace(columns=[], fields=[], formatter='table', max_width=0, noindent=False, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: neutronclient.client REQ: curl -i http://opencontrol225:35357/v3/v2.0/agents.json (http://opencontrol225 ... (more)

edit retag flag offensive close merge delete

Comments

Do you REALLY have two sections of [DEFAULT],[oslo_messaging_rabbit],[keystone_authtoken], and [nova] in your neutron.conf? There should only be one of each. Perhaps combine them (I see there are changes in [nova] sections).

barry.davis gravatar imagebarry.davis ( 2016-07-13 12:49:25 -0600 )edit