New added extension URL returns 404

asked 2016-09-12 08:53:56 -0500

Bali gravatar image

I'm a new Openstack developer, and those today I'm following this link (link text) to practice adding a new plugin in the neutron. But after finish all steps, when I assess the URL, it returns me the 404 error:

stack@ubuntu:/home/stack/devstack$ source openrc admin admin
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
stack@ubuntu:/home/stack/devstack$ export TOKEN=`openstack token issue| grep ' id ' | get_field 2`
stack@ubuntu:/home/stack/devstack$ curl  -i -X GET -H "x-auth-token:$TOKEN"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9bc20abc-9ec3-46f4-97ec-4f4b5fbf9f71
Date: Mon, 12 Sep 2016 13:22:31 GMT

404 Not Found

The resource could not be found.


And I notice when reboot the neutron server, there is a warning:

2016-09-12 21:21:11.547 DEBUG neutron.api.extensions [-] Loading extension file: from (pid=18310) _load_all_extensions_from_path /opt/stack/neutron/neutron/api/
2016-09-12 21:21:11.553 DEBUG neutron.api.extensions [-] Ext name: Fox in socks from (pid=18310) _check_extension /opt/stack/neutron/neutron/api/
2016-09-12 21:21:11.554 DEBUG neutron.api.extensions [-] Ext alias: foxinsock from (pid=18310) _check_extension /opt/stack/neutron/neutron/api/
2016-09-12 21:21:11.555 DEBUG neutron.api.extensions [-] Ext description: A quick brown fox jumped over a lazy dog from (pid=18310) _check_extension /opt/stack/neutron/neutron/api/
2016-09-12 21:21:11.555 DEBUG neutron.api.extensions [-] Ext updated: 2014-05-06T10:00:00-00:00 from (pid=18310) _check_extension /opt/stack/neutron/neutron/api/
2016-09-12 21:21:11.556 WARNING neutron.api.extensions [-] Extension foxinsock not supported by any of loaded plugins
2016-09-12 21:21:11.557 DEBUG neutron.api.extensions [-] Loading extension file: foxInSocks.pyc from (pid=18310) _load_all_extensions_from_path /opt/stack/neutron/neutron/api/

I'm not sure what's going on, can someone tell me how to fix it?

Thanks, Bali

edit retag flag offensive close merge delete