Ask Your Question
0

Grizzly+Quantum: Could not find Service or Region in Service Catalog

asked 2013-10-04 06:04:19 -0600

t-yamazaki gravatar image

Hello, I've got a problem with Quantum. It seems something wrong between keystone and quantum.

user@tyamazaki:~# quantum -v net-list DEBUG: quantumclient.quantum.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], filter_specs=[], formatter='table', page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: quantumclient.client REQ: curl -i http://127.0.0.1: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": "admin"}}}'

DEBUG: quantumclient.client RESP:{'date': 'Fri, 04 Oct 2013 05:54:28 GMT', 'vary': 'X-Auth-Token', 'content-length': '2420', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-10-04T05:54:28.073856", "expires": "2013-10-05T05:54:28Z", "id": "54301638e7a14dbf9ca6a50fd1322932", "tenant": {"description": null, "enabled": true, "id": "adc6715159034f43b074ffaad1aa4e13", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13", "region": "myregion", "internalURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13", "id": "211f5661b7bb404483e4977dd7b8fc1c", "publicURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9292/v1", "region": "myregion", "internalURL": "http://127.0.0.1:9292/v1", "id": "274a5c465662472c95f8995fbe97e5ae", "publicURL": "http://127.0.0.1:9292/v1"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13", "region": "myregion", "internalURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13", "id": "11f4410fff25417d8f3f2f1ca2dc91b4", "publicURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9696", "region": "myregion", "internalURL": "http://127.0.0.1:9696", "id": "272903e74a7b4dff81bec4710bc01b33", "publicURL": "http://127.0.0.1:9696"}], "endpoints_links": [], "type": "quantum", "name": "quantum"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8080/v1", "region": "myregion", "internalURL": "http://127.0.0.1:8080/v1/AUTH_adc6715159034f43b074ffaad1aa4e13", "id": "7d810507150a418b94cb4e602e1315c6", "publicURL": "http://127.0.0.1:8080/v1/AUTH_adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://127.0.0.1:35357/v2.0", "region": "myregion", "internalURL": "http://127.0.0.1:5000/v2.0", "id": "160b8fff02fc4c9fbfbd1b5c8889c824", "publicURL": "http://127.0.0.1:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "98d120be785d4ab29c46fa79b04a173c", "roles": [{"name": "Member"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["30a2a9b7f951453ab193b72c9e016e34", "0fec66c915e544e4996c66409bd1f04b"]}}}

ERROR: quantumclient.shell Could not find Service or Region in Service Catalog. DEBUG: quantumclient.shell clean_up ListNetwork DEBUG: quantumclient.shell got an error: Could not find Service or Region in Service Catalog.

user@tyamazaki:~# netstat -an | grep 9696 tcp 0 0 127.0.0.1:9696 0.0.0.0:* LISTEN

user@tyamazaki:~# keystone endpoint-list +----------------------------------+----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+ | 03180af0d22e4a4aa4702f9d1a2326de | myregion | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | http://127.0.0.1:8080/v1 | a89b8fd7d0934bd0a57d951c59b046dc | | 308912ceaf3a466caa163105444bc307 | myregion | 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 | a45bce91dced4d998e5251cc78108eb4 | | 9a9ed918e5b74c1c90cf670cc0ca4ea1 | myregion | http://127 ... (more)

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
0

answered 2013-10-04 06:04:19 -0600

t-yamazaki gravatar image

Hello, I've got a problem with Quantum. It seems something wrong between keystone and quantum.

user@tyamazaki:~# quantum -v net-list DEBUG: quantumclient.quantum.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], filter_specs=[], formatter='table', page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: quantumclient.client REQ: curl -i http://127.0.0.1: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": "admin"}}}'

DEBUG: quantumclient.client RESP:{'date': 'Fri, 04 Oct 2013 05:54:28 GMT', 'vary': 'X-Auth-Token', 'content-length': '2420', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-10-04T05:54:28.073856", "expires": "2013-10-05T05:54:28Z", "id": "54301638e7a14dbf9ca6a50fd1322932", "tenant": {"description": null, "enabled": true, "id": "adc6715159034f43b074ffaad1aa4e13", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13", "region": "myregion", "internalURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13", "id": "211f5661b7bb404483e4977dd7b8fc1c", "publicURL": "http://127.0.0.1:8774/v2/adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9292/v1", "region": "myregion", "internalURL": "http://127.0.0.1:9292/v1", "id": "274a5c465662472c95f8995fbe97e5ae", "publicURL": "http://127.0.0.1:9292/v1"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13", "region": "myregion", "internalURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13", "id": "11f4410fff25417d8f3f2f1ca2dc91b4", "publicURL": "http://127.0.0.1:8776/v1/adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://127.0.0.1:9696", "region": "myregion", "internalURL": "http://127.0.0.1:9696", "id": "272903e74a7b4dff81bec4710bc01b33", "publicURL": "http://127.0.0.1:9696"}], "endpoints_links": [], "type": "quantum", "name": "quantum"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8080/v1", "region": "myregion", "internalURL": "http://127.0.0.1:8080/v1/AUTH_adc6715159034f43b074ffaad1aa4e13", "id": "7d810507150a418b94cb4e602e1315c6", "publicURL": "http://127.0.0.1:8080/v1/AUTH_adc6715159034f43b074ffaad1aa4e13"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://127.0.0.1:35357/v2.0", "region": "myregion", "internalURL": "http://127.0.0.1:5000/v2.0", "id": "160b8fff02fc4c9fbfbd1b5c8889c824", "publicURL": "http://127.0.0.1:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "98d120be785d4ab29c46fa79b04a173c", "roles": [{"name": "Member"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["30a2a9b7f951453ab193b72c9e016e34", "0fec66c915e544e4996c66409bd1f04b"]}}}

ERROR: quantumclient.shell Could not find Service or Region in Service Catalog. DEBUG: quantumclient.shell clean_up ListNetwork DEBUG: quantumclient.shell got an error: Could not find Service or Region in Service Catalog.

user@tyamazaki:~# netstat -an | grep 9696 tcp 0 0 127.0.0.1:9696 0.0.0.0:* LISTEN

user@tyamazaki:~# keystone endpoint-list +----------------------------------+----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+ | 03180af0d22e4a4aa4702f9d1a2326de | myregion | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s (http://127.0.0.1:8080/v1/AUTH_$(tenan...) | http://127.0.0.1:8080/v1 | a89b8fd7d0934bd0a57d951c59b046dc | | 308912ceaf3a466caa163105444bc307 | myregion | 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 | a45bce91dced4d998e5251cc78108eb4 | | 9a9ed918e5b74c1c90cf670cc0ca4ea1 | myregion | http://127 ... (more)

edit flag offensive delete link more
0

answered 2013-10-14 01:31:55 -0600

gongysh gravatar image

the service type of quantum should be network.

edit flag offensive delete link more
0

answered 2013-10-16 05:10:18 -0600

t-yamazaki gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2013-12-23 12:49:26 -0600

I just cannot understand the solution of this problem. Could two of you describe for me ?

Thanks a lot!

edit flag offensive delete link more
0

answered 2013-12-24 08:24:08 -0600

t-yamazaki gravatar image

Anthony,

Change name of service type to quantum.

Best Regards,

Takamasa Yamazaki

-----Original Message----- From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of AnthonyNeu Sent: Monday, December 23, 2013 9:51 PM To: Yamazaki, Takamasa(山崎, 隆正) Subject: Re: [Question #237065]: Grizzly+Quantum: Could not find Service or Region in Service Catalog

Your question #237065 on neutron changed: https://answers.launchpad.net/neutron/+question/237065 (https://answers.launchpad.net/neutron...)

AnthonyNeu posted a new comment: I just cannot understand the solution of this problem. Could two of you describe for me ?

Thanks a lot!


You received this question notification because you asked the question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-04 06:04:19 -0600

Seen: 45 times

Last updated: Dec 24 '13