Ask Your Question
0

quantum net-list Connection refused

asked 2013-05-17 10:08:18 -0500

graklaudia gravatar image

hi, it becomes puzzling: instaulując werję grizzly step by step, I can not do with network options noda quantum net-list or anything else but associated with Quantum, is the answer

"[Errno 111] Connection refused".

also trying to do this query on the controller node connection is refused.

Is anyone able to identify it?

edit retag flag offensive close merge delete

13 answers

Sort by » oldest newest most voted
0

answered 2013-05-17 10:58:35 -0500

salvatore-orlando gravatar image

Assuming quantum-server has not crashed, probably keystone is returning a wrong endpoint for it. With admin credentials, check that keystone endpoint-list returns the correct quantum endpoint.

If keystone endpoint-list fail with errno 111 too, then probably your problem is that keystone is not running.

Hope this helps, Salvatore

edit flag offensive delete link more
0

answered 2013-05-17 11:17:54 -0500

graklaudia gravatar image

Thank you for your answear!! You said that maybe keystone returning a wrong endpoint for it... well..

i trying do: keystone tenant-list and I get +----------------------------------+---------+---------+ | id | name | enabled | +----------------------------------+---------+---------+ | a76e7598cf494494945396c3ccee38bf | admin | True | | 717d7110950e49d8a5278a9a479a617b | demo | True | | 836ec35d79394115a136a297a0964182 | service | True | +----------------------------------+---------+---------+

mmm... but keystone endpoint-list returns me an answer but how can I recognize wheather it is correct endpoint? I get :

root@grizzly-network:~# keystone endpoint-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+ | 5e89addbd9ed44d88cac56ffe36bbdb4 | RegionOne | http://127.0.0.1:9696/ | http://127.0.0.1:9696/ | http://127.0.0.1:9696/ | cbdc6b2825474d4a8c5e9dfeba197038 | | 7aaf057998b04ab285b9c358a92dde98 | RegionOne | http://127.0.0.1:8773/services/Cloud | http://127.0.0.1:8773/services/Cloud | http://127.0.0.1:8773/services/Admin | 3ca453e38d7b43bea85d338120431f83 | | 86476822f9fb429d9aa0311fc2d64576 | RegionOne | http://127.0.0.1:9292/v2 | http://127.0.0.1:9292/v2 | http://127.0.0.1:9292/v2 | 70fe1f1f1e7744d78a892c7dc7941b82 | | 96f4decb603442edb09dfce1307bedde | RegionOne | http://127.0.0.1:8774/v2/$(tenant_id)s | http://127.0.0.1:8774/v2/$(tenant_id)s | http://127.0.0.1:8774/v2/$(tenant_id)s | 4f1db518d3444d97ac335683c0e4c4a5 | | cabd14c7b3ae450ea18bd274d33f51e8 | RegionOne | http://127.0.0.1:8776/v1/$(tenant_id)s | http://127.0.0.1:8776/v1/$(tenant_id)s | http://127.0.0.1:8776/v1/$(tenant_id)s | 214fbf191ae547789f4472b87c12b5b6 | | ef8d851797da4a7980bed702920ad24a | RegionOne | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:35357/v2.0 | 058ce9d22d1348bdafe9fefd933f8608 | +----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+

so I thnik keystone is runnig... Am i right?

Do you have (or someone else) any other sugegstion? Thank you :)

edit flag offensive delete link more
0

answered 2013-05-20 01:47:11 -0500

gongysh gravatar image

use quantum net-list -v to see which http request is blocking u and then fix the related URL problem.

edit flag offensive delete link more
0

answered 2013-05-20 09:16:43 -0500

graklaudia gravatar image

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": {"iss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lNDI2ODVkYyJdfX19MYH-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: MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNS0yMFQwOToxMzo0My4yODE2MDgiLCAiZXhwaXJlcyI6ICIyMDEzLTA1LTIxVDA5OjEzOjQzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTFiYjc5MDY2N2I3NGVhZDlkODAyZmE4MjUxNTIzNmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siY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TM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMGZhMDE0MGRmMDhjNGQyZmI4YTczYjIzMzYzOTMyMGYiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiMjVhNTU5NGRmMmRjNDZiOWJiZWQ4NGRmYmY3ZDY2OGMiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIyMjI0OGQ1Y2M0Nzc0OTc5YWQzMTMxNmZlNDI2ODVkYyJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgLMB-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)

edit flag offensive delete link more
0

answered 2013-05-20 09:16:44 -0500

graklaudia gravatar image

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": "MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNS0yMFQwOToxMzo0My4yODE2MDgiLCAiZXhwaXJlcyI6ICIyMDEzLTA1LTIxVDA5OjEzOjQzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTFiYjc5MDY2N2I3NGVhZDlkODAyZmE4MjUxNTIzNmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjog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MTozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMGZhMDE0MGRmMDhjNGQyZmI4YTczYjIzMzYzOTMyMGYiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiMjVhNTU5NGRmMmRjNDZiOWJiZWQ4NGRmYmY3ZDY2OGMiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIyMjI0OGQ1Y2M0Nzc0OTc5YWQzMTMxNmZlNDI2ODVkYyJdfX19MYH-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: MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNS0yMFQwOToxMzo0My4yODE2MDgiLCAiZXhwaXJlcyI6ICIyMDEzLTA1LTIxVDA5OjEzOjQzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTFiYjc5MDY2N2I3NGVhZDlkODAyZmE4MjUxNTIzNmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc0L3YyLzUxYmI3OTA2NjdiNzRlYWQ5ZDgwMmZhODI1MTUyMzZhIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc0L3YyLzUxYmI3OTA2NjdiNzRlYWQ5ZDgwMmZhODI1MTUyMzZhIiwgImlkIjogIjEwNDA5NTA5MjdmZDQyMGJhNzBhZDI3MmUzZTQwODE4IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjg3NzQvdjIvNTFiYjc5MDY2N2I3NGVhZDlkODAyZmE4MjUxNTIzNmEifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiY29tcHV0ZSIsICJuYW1lIjogIm5vdmEifSwgeyJlbmRwb2ludH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ZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIyMjI0OGQ1Y2M0Nzc0OTc5YWQzMTMxNmZlNDI2ODVkYyJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgLMB-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)

edit flag offensive delete link more
0

answered 2013-05-31 20:07:21 -0500

jamo gravatar image

Are you sure that your quantum-server is running? You'd see that error if it's not:

quantum net-list

+--------------------------------------+-----------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+-----------+----------------------------------------------------+ | c09f9856-a0ff-4b26-8a5d-1d749bed76f3 | t-01-n-01 | ddb1d9c9-e473-4741-b2bb-f44cdaa00d7b 101.0.2.0/24 | +--------------------------------------+-----------+----------------------------------------------------+

service quantum-server stop

quantum-server stop/waiting

quantum net-list

[Errno 111] Connection refused

edit flag offensive delete link more
0

answered 2013-06-05 09:11:17 -0500

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

edit flag offensive delete link more
0

answered 2013-06-12 14:17:08 -0500

graklaudia gravatar image

yes, I'm sure that quantum-server is running! I'm sure for 100% .

quantum-server is running on Controller node. I can add networks and do every command connected with quantum via quantum-server on Controller node.

But... quantum on Network Node is not running, i get

root@network:~# quantum net-list [Errno 111] Connection refused

, doing quantum net-list -v , i get: 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': 'Wed, 12 Jun 2013 14:16:28 GMT', 'vary': 'X-Auth-Token', 'content-length': '5782', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-06-12T14:16:28.598316", "expires": "2013-06-13T14:16:28Z", "id": "MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNi0xMlQxNDoxNjoyOC41OTgzMTYiLCAiZXhwaXJlcyI6ICIyMDEzLTA2LTEzVDE0OjE2OjI4WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiZTllZTQxOTI0ZmQ0NGIzNGFiYTgyMGQ5ZTdlN2ViZjUiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzE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wIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMGE0MjExMTRmOWUyNDFjZGE4NWZlZGI1NmZiZjZiYjEiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiZjZlMzkxNmUxMmFiNDBlZmI1NTYyYzI2MGY3MzcxNjgiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI3NDMwYmFlMzJkMjQ0ZDMwOTAwNWI1N2I4M2ZmYzRkOCJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgAep47APuRqZM9cU+5oVH0yPoO6cyqkO2bB1LXif+CplRY+XB7BLg8-o6-DKgT5A8vvFtLeOoafWW8idbaMZzQi5TGTdyi-RNTNB2x4Y-lnxYjy4PZmo3-5JdOZ2DmBLjAMHiQLMlVw7y5oxYKFu2cfJNEAFop2556P0s1U7sEVb", "tenant": {"description": null, "enabled": true, "id": "e9ee41924fd44b34aba820d9e7e7ebf5", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://127.0.0.1:8774/v2/e9ee41924fd44b34aba820d9e7e7ebf5", "region": "RegionOne", "internalURL": "http://127.0.0.1:8774/v2/e9ee41924fd44b34aba820d9e7e7ebf5", "id": "900f77cef06f4db3acd8f6d3159bd05d", "publicURL": "http://127.0.0.1:8774/v2/e9ee41924fd44b34aba820d9e7e7ebf5"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9696/", "region": "RegionOne", "internalURL": "http://127.0.0.1:9696/", "id": "11bdf0f1b4234d2f8576549c6887afc4", "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": "1dec7e7a48d14d0dba906bf87603dc91", "publicURL": "http://127.0.0.1:9292/v2"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8776/v1/e9ee41924fd44b34aba820d9e7e7ebf5", "region": "RegionOne", "internalURL": "http://127.0.0.1:8776/v1/e9ee41924fd44b34aba820d9e7e7ebf5", "id": "63278f306d3e44caa1dff1d425ccdbf3", "publicURL": "http://127.0.0.1:8776/v1/e9ee41924fd44b34aba820d9e7e7ebf5"}], "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": "328c06de3cd04c8484b933b15ae7c27f", "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": "0a421114f9e241cda85fedb56fbf6bb1", "publicURL": "http://127.0.0.1:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "f6e3916e12ab40efb5562c260f737168", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["7430bae32d244d309005b57b83ffc4d8"]}}}

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: MIIKNwYJKoZIhvcNAQcCoIIKKDCCCiQCAQExCTAHBgUrDgMCGjCCCRAGCSqGSIb3DQEHAaCCCQEEggj9eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNi0xMlQxNDoxNjoyOC41OTgzMTYiLCAiZXhwaXJlcyI6ICIyMDEzLTA2LTEzVDE0OjE2OjI4WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiZTllZTQxOTI0ZmQ0NGIzNGFiYTgyMGQ5ZTdlN2ViZjUiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc0L3YyL2U5ZWU0MTkyNGZkNDRiMzRhYmE4MjBkOWU3ZTdlYmY1IiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc0L3YyL2U5ZWU0MTkyNGZkNDRiMzRhYmE4MjBkOWU3ZTdlYmY1IiwgImlkIjogIjkwMGY3N2NlZjA2ZjRkYjNhY2Q4ZjZkMzE1OWJkMDVkIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjg3NzQvdjIvZTllZTQxOTI0ZmQ0NGIzNGFiYTgyMGQ5ZTdlN2ViZjUifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgIn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zcxNjgiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI3NDMwYmFlMzJkMjQ0ZDMwOTAwNWI1N2I4M2ZmYzRkOCJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgAep47APuRqZM9cU+5oVH0yPoO6cyqkO2bB1LXif+CplRY+XB7BLg8-o6-DKgT5A8vvFtLeOoafWW8idbaMZzQi5TGTdyi-RNTNB2x4Y-lnxYjy4PZmo3-5JdOZ2DmBLjAMHiQLMlVw7y5oxYKFu2cfJNEAFop2556P0s1U7sEVb"

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

ANY SUGGESTION??????????????

edit flag offensive delete link more
0

answered 2013-06-12 15:03:00 -0500

emagana gravatar image

Klaudia,

I think that the problem is because you have all your services running on: 127.0.0.1 When you run commands from controller, everything is working because all calls are local but when running from a different node is still trying to reach: REQ: curl -i http://127.0.0.1:9696/v2.0/networks.json -X GET

When you set up your controller, use the IP address that is reachable between your nodes.

edit flag offensive delete link more
0

answered 2013-06-13 10:17:32 -0500

graklaudia gravatar image

Edgar, Thank you for your reply. It can be this problem , as you noticed. I'm trying to find the files that contain the phrase '127 .0.0.1 ' , and can be conneted with quantum problems. well... there are many files containing 127.0.0.1 (grep 127.0.0.1 -r /) , but which one could be this, where I have to do exnage 127.0.0.1 on controller addres?

I tryided to find this in quantum catalog: grep 127.0.0.1 -r /etc/quantum/ , but there are not '127.0.0.1' phrase there.

I find for example that in patch: /usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py is 127.0.0.1 in function

def metadata_filter_rules(self): rules = [] rules.append(('INPUT', '-s 0.0.0.0/0 -d 127.0.0.1 ' '-p tcp -m tcp --dport %s ' '-j ACCEPT' % self.conf.metadata_port)) return rules

But I do not know if I change the code in this place or elsewhere, and how to restart it later. I could ask for help from a file where I find the files where you need to replace the phrase 127.0.0.1 to another address, the address of the Controller?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-17 10:08:18 -0500

Seen: 319 times

Last updated: Aug 03 '13