Hello All,
I try to get Devstack / Quantum with NEC plugin working.
Currently I can create networks and the NEC PFC creates them on its side.
When I try to go launch an instance from Horizon I get an error "Error: An error occurred. Please try again" !
I found somewhere in the logs that there is a trouble with the security groups.
If I issue the nova secgroup-list command line I get :
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-28840a89-f1d6-49de-a030-d95716234838)
Then If I try the quantum command line : quantum -v security-group-list
I get :
DEBUG: quantumclient.quantum.v2_0.securitygroup.ListSecurityGroup get_data(Namespace(columns=[], fields=[], 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://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": "demo", "passwordCredentials": {"username": "admin", "password": "nw4cloud"}}}'
DEBUG: quantumclient.client RESP:{'date': 'Tue, 02 Apr 2013 09:57:39 GMT', 'vary': 'X-Auth-Token', 'content-length': '6538', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-04-02T09:57:39.367054", "expires": "2013-04-03T09:57:39Z", "id": "MIILew ... cut to reduce the output length... mvgow", "tenant": {"description": null, "enabled": true, "id": "2e3091c87bbd46f7801bcdc0f73b7a00", "name": "demo"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.10.10.10:8774/v2/2e3091c87bbd46f7801bcdc0f73b7a00", "region": "RegionOne", "internalURL": "http://10.10.10.10:8774/v2/2e3091c87bbd46f7801bcdc0f73b7a00", "id": "b50eb0bdadca4a2eae45121c3d9658f8", "publicURL": "http://10.10.10.10:8774/v2/2e3091c87bbd46f7801bcdc0f73b7a00"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.10.10.10:9696/", "region": "RegionOne", "internalURL": "http://10.10.10.10:9696/", "id": "00c2a1ef75944c3395fb2bea53a3bb66", "publicURL": "http://10.10.10.10:9696/"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://10.10.10.10:3333", "region": "RegionOne", "internalURL": "http://10.10.10.10:3333", "id": "4e8e3d773b424651bf877d279867d4c1", "publicURL": "http://10.10.10.10:3333"}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL": "http://10.10.10.10:9292", "region": "RegionOne", "internalURL": "http://10.10.10.10:9292", "id": "4cbb5a011d7e4569a4cb7e9a980af108", "publicURL": "http://10.10.10.10:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://10.10.10.10:8776/v1/2e3091c87bbd46f7801bcdc0f73b7a00", "region": "RegionOne", "internalURL": "http://10.10.10.10:8776/v1/2e3091c87bbd46f7801bcdc0f73b7a00", "id": "6b8461f0caa7478ca6079f564a5c36aa", "publicURL": "http://10.10.10.10:8776/v1/2e3091c87bbd46f7801bcdc0f73b7a00"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://10.10.10.10:8773/services/Admin", "region": "RegionOne", "internalURL": "http://10.10.10.10:8773/services/Cloud", "id": "0a6641c8df314ca89a4680bb70b860fd", "publicURL": "http://10.10.10.10:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://10.10.10.10:35357/v2.0", "region": "RegionOne", "internalURL": "http://10.10.10.10:5000/v2.0", "id": "026eef3239a941689ca6f4bf4882f78c", "publicURL": "http://10.10.10.10:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "3a2ef1e5af004121b7f820254808e6c6", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["3e62bb7a12a6413292eb3e3a346bc749"]}}}
DEBUG: quantumclient.client
REQ: curl -i http://10.10.10.10:9696/v2.0/security-groups.json -X GET -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIIL ... cut to reduce the message length ...fmvgow"
DEBUG: quantumclient.client RESP:{'date': 'Tue, 02 Apr 2013 09:57:39 GMT', 'status': '404', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'} 404 Not Found
The resource could not be found.
DEBUG: quantumclient.v2_0.client Error message: 404 Not Found
The resource could not be found.
ERROR: quantumclient.shell 404 Not Found
The resource could not be found.
DEBUG: quantumclient.shell clean_up ListSecurityGroup
DEBUG: quantumclient.shell got an error: 404 Not Found
Here is my endpoint list :
keystone endpoint-list
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| 1ff81daa4c2540f9b92c5eb0ba7d2141 | RegionOne | http://10.10.10.10:8776/v1/$(tenant_id)s | http://10.10.10.10:8776/v1/$(tenant_id)s | http://10.10.10.10:8776/v1/$(tenant_id)s | 2a7c555d1aba4237957fdb6eec63c045 |
| 3ecbae4df219473fbc63cecc40ff97c9 | RegionOne | http://10.10.10.10:9292 | http://10.10.10.10:9292 | http://10.10.10.10:9292 | 62542effb7e441d8a9e2a4e0c65fbd23 |
| 63e3a37a30f9467294317f652a910bcc | RegionOne | http://10.10.10.10:8773/services/Cloud | http://10.10.10.10:8773/services/Cloud | http://10.10.10.10:8773/services/Admin | 15e9f0896e724eefa79a84bdad794f88 |
| 9c4d55dbbdb942cc8687e01b15c5a2b5 | RegionOne | http://10.10.10.10:8774/v2/$(tenant_id)s | http://10.10.10.10:8774/v2/$(tenant_id)s | http://10.10.10.10:8774/v2/$(tenant_id)s | 4ced9dbd43af4883bc80f684a9d8f553 |
| a0dc0e0c0ae947f089af14922fca40e5 | RegionOne | http://10.10.10.10:3333 | http://10.10.10.10:3333 | http://10.10.10.10:3333 | 580980744556472a9e1edc4db0351c70 |
| e32493080a1a457db14b43ac71f04d2a | RegionOne | http://10.10.10.10:9696/ | http://10.10.10.10:9696/ | http://10.10.10.10:9696/ | 73b887e4b0df41fca1cadff139d42ca8 |
| eb9d0441c75847b7be22fcc2cbe12bce | RegionOne | http://10.10.10.10:5000/v2.0 | http://10.10.10.10:5000/v2.0 | http://10.10.10.10:35357/v2.0 | 809495bb855f4f09a9bab2c7d0456d2b |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
I don't figure out how the url of the security group endpoint get a v2.0 ???
Any help will be appreciated.