I have no your patched applied, but you can see the token is already sha1ed. [gongysh@fedora22 devstack]$ neutron net-list -v DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://172.17.42.1:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" DEBUG: keystoneclient.session RESP: [200] Content-Length: 337 Vary: X-Auth-Token Connection: keep-alive Date: Fri, 21 Aug 2015 06:59:55 GMT Content-Type: application/json X-Openstack-Request-Id: req-996ed801-0013-443c-81b6-cf8c1230e6f7 RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://172.17.42.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
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: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter') 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: neutronclient.neutron.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://172.17.42.1:5000/v2.0/tokens DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://172.17.42.1:9696/v2.0/networks.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}47dbaceba93c53b30092a9af89c7818c54ae78c3"
I have no your patched applied, but you can see the token is already sha1ed. session REQ: curl -g -i -X GET http:// 172.17. 42.1:5000/ v2.0 -H "Accept: application/json" -H "User-Agent: python- keystoneclient" session RESP: [200] Content-Length: 337 Vary: X-Auth-Token Connection: keep-alive Date: Fri, 21 Aug 2015 06:59:55 GMT Content-Type: application/json X-Openstack- Request- Id: req-996ed801- 0013-443c- 81b6-cf8c1230e6 f7 17T00:00: 00Z", "media-types": [{"base": "application/json", "type": "application/ vnd.openstack. identity- v2.0+json" }], "id": "v2.0", "links": [{"href": "http:// 172.17. 42.1:5000/ v2.0/", "rel": "self"}, {"href": "http:// docs.openstack. org/", "type": "text/html", "rel": "describedby"}]}}
[gongysh@fedora22 devstack]$ neutron net-list -v
DEBUG: keystoneclient.
DEBUG: keystoneclient.
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG: stevedore.extension found extension EntryPoint. parse(' yaml = clifftablib. formatters: YamlFormatter' ) parse(' json = clifftablib. formatters: JsonFormatter' ) parse(' html = clifftablib. formatters: HtmlFormatter' ) parse(' table = cliff.formatter s.table: TableFormatter' ) parse(' csv = cliff.formatter s.commaseparate d:CSVLister' ) parse(' value = cliff.formatter s.value: ValueFormatter' ) neutron. v2_0.network. ListNetwork get_data( Namespace( columns= [], fields=[], formatter='table', max_width=0, page_size=None, quote_mode= 'nonnumeric' , request_ format= 'json', show_details=False, sort_dir=[], sort_key=[])) auth.identity. v2 Making authentication request to http:// 172.17. 42.1:5000/ v2.0/tokens session REQ: curl -g -i -X GET http:// 172.17. 42.1:9696/ v2.0/networks. json -H "User-Agent: python- neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}47dbaceba 93c53b30092a9af 89c7818c54ae78c 3"
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: neutronclient.
DEBUG: keystoneclient.
DEBUG: keystoneclient.