Rally reports 'v2.0 version not found' when accessing MOS

Bug #1379876 reported by Oleksandr Savatieiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Won't Fix
Undecided
Oleh Anufriiev

Bug Description

On a clean ubuntu 14 VM inside MOS deployment with Fuel and this architecture:

id | status | name | cluster | ip | mac | roles | pending_roles | online
---|--------|-------------|---------|-----------|-------------------|-----------------|---------------|-------
1 | ready | Compute1 | 1 | 10.20.0.3 | 4e:95:e1:4f:05:49 | cinder, compute | | True
2 | ready | Compute2 | 1 | 10.20.0.4 | e2:87:99:49:45:43 | compute | | True
3 | ready | Controller3 | 1 | 10.20.0.5 | 2e:6a:a1:5f:44:45 | controller | | True
4 | ready | Controller2 | 1 | 10.20.0.6 | 02:11:6a:b4:f0:44 | controller | | True
5 | ready | Controller1 | 1 | 10.20.0.7 | 32:cc:73:9f:d3:41 | controller | | True

Rally configured with existing deployment option (json below):
$ rally deployment create --filename=exist.json --name Lab

---exist.json
{
    "type": "ExistingCloud",
    "auth_url": "http://172.16.64.130:5000/v2.0",
    "admin_port": 35357,
    "endpoint_type": "public",
    "admin": {
        "username": "admin",
        "password": "admin",
        "tenant_name": "admin"
   }
}
---end of exist.json

Rally reports a 404 error for identity resource:

ubuntu@s1:~$ rally -d deployment check
2014-10-10 17:08:35.956 11604 DEBUG rally.cmd.cliutils [-] INFO logs from urllib3 and requests module are hide. run /usr/local/lib/python2.7/dist-packages/rally/cmd/cliutils.py:128
2014-10-10 17:08:36.909 11604 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://172.16.64.130:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:155
2014-10-10 17:08:37.149 11604 DEBUG keystoneclient.session [-] RESP: _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:182
2014-10-10 17:08:37.156 11604 DEBUG keystoneclient.session [-] Request returned failure status: 404 request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:345
Command failed, please check log for more info
2014-10-10 17:08:37.180 11604 CRITICAL rally [-] NotFound: Could not find version, v2.0. (HTTP 404)

Stacktrace:
Command failed, please check log for more info
2014-10-10 17:02:17.941 21383 CRITICAL rally [-] NotFound: Could not find version, v2.0. (HTTP 404)
2014-10-10 17:02:17.941 21383 TRACE rally Traceback (most recent call last):
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/bin/rally", line 10, in <module>
2014-10-10 17:02:17.941 21383 TRACE rally sys.exit(main())
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/main.py", line 40, in main
2014-10-10 17:02:17.941 21383 TRACE rally return cliutils.run(sys.argv, categories)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/cliutils.py", line 184, in run
2014-10-10 17:02:17.941 21383 TRACE rally ret = fn(*fn_args, **fn_kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "<string>", line 2, in check
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/envutils.py", line 64, in default_from_global
2014-10-10 17:02:17.941 21383 TRACE rally return f(*args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/commands/deployment.py", line 206, in check
2014-10-10 17:02:17.941 21383 TRACE rally client = clients.verified_keystone()
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 123, in verified_keystone
2014-10-10 17:02:17.941 21383 TRACE rally client = self.keystone()
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 63, in wrapper
2014-10-10 17:02:17.941 21383 TRACE rally self.cache[key] = func(self, *args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 111, in keystone
2014-10-10 17:02:17.941 21383 TRACE rally client = create_keystone_client(kw)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 70, in create_keystone_client
2014-10-10 17:02:17.941 21383 TRACE rally discover = keystone_discover.Discover(**args)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
2014-10-10 17:02:17.941 21383 TRACE rally return func(*args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/discover.py", line 131, in __init__
2014-10-10 17:02:17.941 21383 TRACE rally authenticated=authenticated)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
2014-10-10 17:02:17.941 21383 TRACE rally return func(*args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 140, in __init__
2014-10-10 17:02:17.941 21383 TRACE rally authenticated=authenticated)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
2014-10-10 17:02:17.941 21383 TRACE rally return func(*args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 39, in get_version_data
2014-10-10 17:02:17.941 21383 TRACE rally resp = session.get(url, headers=headers, authenticated=authenticated)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py", line 427, in get
2014-10-10 17:02:17.941 21383 TRACE rally return self.request(url, 'GET', **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
2014-10-10 17:02:17.941 21383 TRACE rally return func(*args, **kwargs)
2014-10-10 17:02:17.941 21383 TRACE rally File "/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py", line 346, in request
2014-10-10 17:02:17.941 21383 TRACE rally raise exceptions.from_response(resp, method, url)
2014-10-10 17:02:17.941 21383 TRACE rally NotFound: Could not find version, v2.0. (HTTP 404)
2014-10-10 17:02:17.941 21383 TRACE rally

Changed in rally:
assignee: nobody → Oleh Anufriiev (oanufriev)
Revision history for this message
Sergey Skripnick (eyerediskin) wrote :

try to remove "endpoint_type" from configuration

Changed in rally:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by Oleh Anufriiev (<email address hidden>) on branch: master
Review: https://review.openstack.org/128784

Revision history for this message
Oleh Anufriiev (oanufriev) wrote :

Well... i've determined this is the keystone bug.
I'm closing this one and now work will contunue here https://bugs.launchpad.net/mos/+bug/1382570 by MOS team

Changed in rally:
status: In Progress → Invalid
status: Invalid → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.