Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

mmm.... Ok, thanks. :)

I get some answer, this:

root@grizzly-network:~# quantum net-list -v DEBUG: quantumclient.quantum.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], filter_specs=[], formatter='table', quote_mode='nonnumeric', request_format='json', show_details=False)) DEBUG: quantumclient.client REQ: curl -i http://10.10.10.10:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-quantumclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}'

DEBUG: quantumclient.client RESP:{'date': 'Mon, 20 May 2013 09:13:43 GMT', 'vary': 'X-Auth-Token', 'content-length': '5782', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-05-20T09:13:43.281608", "expires": "2013-05-21T09:13:43Z", "id": "MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNS0yMFQwOToxMzo0My4yODE2MDgiLCAiZXhwaXJlcyI6ICIyMDEzLTA1LTIxVDA5OjEzOjQzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTFiYjc5MDY2N2I3NGVhZDlkODAyZmE4MjUxNTIzNmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc0L3YyLzUxYmI3OTA2NjdiNzRlYWQ5ZDgwMmZhODI1MTUyMzZhIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEy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CAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiMjVhNTU5NGRmMmRjNDZiOWJiZWQ4NGRmYmY3ZDY2OGMiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIyMjI0OGQ1Y2M0Nzc0OTc5YWQzMTMxNmZlNDI2ODVkYyJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgLMB-FsQOfvDpJwO4iPxTTxIJL6R+KqMjQN75YACyPrHYA+Rfh3RPdTVltiiyZ6VEKecTgr6n0tg19Fy5DYFovOlFEmC-uwm7uoxMBdJ0ll2TveZMBxecZYRHVQDA9woT7iZuMYIshCxoL2FVExk6jOFdcky1OV5btOdgRLHzUgI", "tenant": {"description": null, "enabled": true, "id": "51bb790667b74ead9d802fa82515236a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://127.0.0.1:8774/v2/51bb790667b74ead9d802fa82515236a", "region": "RegionOne", "internalURL": "http://127.0.0.1:8774/v2/51bb790667b74ead9d802fa82515236a", "id": "1040950927fd420ba70ad272e3e40818", "publicURL": "http://127.0.0.1:8774/v2/51bb790667b74ead9d802fa82515236a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9696/", "region": "RegionOne", "internalURL": "http://127.0.0.1:9696/", "id": "4080a328d25741d1a68de54473d3086d", "publicURL": "http://127.0.0.1:9696/"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9292/v2", "region": "RegionOne", "internalURL": "http://127.0.0.1:9292/v2", "id": "1db163c4b7754398bc173421740d1bd5", "publicURL": "http://127.0.0.1:9292/v2"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8776/v1/51bb790667b74ead9d802fa82515236a", "region": "RegionOne", "internalURL": "http://127.0.0.1:8776/v1/51bb790667b74ead9d802fa82515236a", "id": "0f43ad21f27746adb559339992317857", "publicURL": "http://127.0.0.1:8776/v1/51bb790667b74ead9d802fa82515236a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8773/services/Admin", "region": "RegionOne", "internalURL": "http://127.0.0.1:8773/services/Cloud", "id": "0fcf96fb354f4858b26aaf6647c8d948", "publicURL": "http://127.0.0.1:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://127.0.0.1:35357/v2.0", "region": "RegionOne", "internalURL": "http://127.0.0.1:5000/v2.0", "id": "0fa0140df08c4d2fb8a73b233639320f", "publicURL": "http://127.0.0.1:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "25a5594df2dc46b9bbed84dfbf7d668c", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["22248d5cc4774979ad31316fe42685dc"]}}}

DEBUG: quantumclient.quantum.v2_0.network.ListNetwork search options: {} DEBUG: quantumclient.client REQ: curl -i http://127.0.0.1:9696/v2.0/networks.json -X GET -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIIKNwYJKoZIhvcNAQcCoII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2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgLMB-FsQOfvDpJwO4iPxTTxIJL6R+KqMjQN75YACyPrHYA+Rfh3RPdTVltiiyZ6VEKecTgr6n0tg19Fy5DYFovOlFEmC-uwm7uoxMBdJ0ll2TveZMBxecZYRHVQDA9woT7iZuMYIshCxoL2FVExk6jOFdcky1OV5btOdgRLHzUgI"

DEBUG: quantumclient.client RESP:{'status': '400', 'content-length': 30, 'content-type': 'text/plain'} [Errno 111] Connection refused

DEBUG: quantumclient.v2_0.client Error message: [Errno 111] Connection refused ERROR: quantumclient.shell [Errno 111] Connection refused DEBUG: quantumclient.shell clean_up ListNetwork DEBUG: quantumclient.shell got an error: [Errno 111] Connection refused

Can I expect a hint what to do?

after: curl -v -H "X-Auth-Token: password" -H "Content-type: application/json" http://10.10.10.10:35357/v2.0/users | python -mjson.tool

I get normaal json answer so keyston is running ( I think)