$ neutron net-create ext-net --shared --router:external=True
报错如下:
[root@controller ~]# neutron net-create ext-net --shared --router:external=True Authentication required
日志如下:
2014-04-21 03:37:15.389 4847 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1 2014-04-21 03:37:15.449 4847 WARNING keystoneclient.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}} 2014-04-21 03:37:15.449 4847 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 2014-04-21 03:37:15.450 4847 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request 2014-04-21 03:37:15.453 4847 INFO neutron.wsgi [-] 192.168.1.180 - - [21/Apr/2014 03:37:15] "POST /v2.0/networks.json HTTP/1.1" 401 258 0.065029 2014-04-21 03:37:15.573 4847 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1 2014-04-21 03:37:15.636 4847 WARNING keystoneclient.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}} 2014-04-21 03:37:15.636 4847 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 2014-04-21 03:37:15.637 4847 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request 2014-04-21 03:37:15.642 4847 INFO neutron.wsgi [-] 192.168.1.180 - - [21/Apr/2014 03:37:15] "POST /v2.0/networks.json HTTP/1.1" 401 258 0.070199
转载于:https://blog.51cto.com/201438gz/1399805