rally deployment check fails after reinstall (keystoneclient version is 0.10.1)

Bug #1352477 reported by Yan Ning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Invalid
Undecided
Unassigned

Bug Description

(rally)cetest@cer305n0019:~/ningy$ rally -vd deployment check
2014-08-04 17:23:45.836 25280 DEBUG rally.cmd.cliutils [-] INFO logs from urllib3 and requests module are hide. run /opt/rally/local/lib/python2.7/site-packages/rally/cmd/cliutils.py:128
2014-08-04 17:23:45.870 25280 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://10.22.157.165:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /opt/rally/local/lib/python2.7/site-packages/keystoneclient/session.py:162
2014-08-04 17:23:45.899 25280 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Mon, 04 Aug 2014 17:23:43 GMT', 'content-type': 'application/json', 'content-length': '423', 'vary': 'X-Auth-Token'}
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://10.22.157.165:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
 _http_log_response /opt/rally/local/lib/python2.7/site-packages/keystoneclient/session.py:189
2014-08-04 17:23:45.900 25280 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://10.22.157.165:5000/v2.0/tokens get_auth_ref /opt/rally/local/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:72
2014-08-04 17:23:46.102 25280 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://10.22.157.165:5000/v2.0/tokens get_auth_ref /opt/rally/local/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:72
keystone endpoints are valid and following services are available:
2014-08-04 17:23:46.197 25280 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://10.22.157.168:35357/v2.0/OS-KSADM/services -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 46940d6405874b1cb899cc48b13edc67" _http_log_request /opt/rally/local/lib/python2.7/site-packages/keystoneclient/session.py:162
2014-08-04 17:23:46.234 25280 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Mon, 04 Aug 2014 17:23:43 GMT', 'content-type': 'application/json', 'content-length': '1701', 'vary': 'X-Auth-Token'}
RESP BODY: {"OS-KSADM:services": [{"id": "0881dd95b18c420ea7d0c7a3f02d8286", "enabled": true, "type": "compute", "name": "nova", "description": "Nova Compute Service"}, {"id": "1aee1223049740efb99b51b28cf1888b", "enabled": true, "type": "hp-catalog", "name": "sherpa", "description": "Sherpa Service"}, {"id": "53665f0043064e758a31fa1df40193b5", "enabled": true, "type": "volume", "name": "cinder", "description": "Cinder Volume Service"}, {"id": "5a0dcead4c244a309ae3476360517e97", "enabled": true, "type": "metering", "name": "ceilometer", "description": "Ceilometer Service"}, {"id": "5b788e916d9c42ff8450f716d6e31d1e", "enabled": true, "type": "computev3", "name": "nova", "description": "Nova Compute Service v3"}, {"id": "767e6a1cf1414a13bccb46805145d202", "enabled": true, "type": "orchestration", "name": "heat", "description": "Heat Service"}, {"id": "7d4fd0f3932b4fa0a329da85d8144a1c", "enabled": true, "type": "network", "name": "neutron", "description": "Neutron Service"}, {"id": "a6579abc42564ab291054759e5595239", "enabled": true, "type": "image", "name": "glance", "description": "Glance Image Service"}, {"enabled": true, "type": "apal-test", "id": "ae0d3d33da6b4cbf9f4a5abb69475390"}, {"id": "b98970df5cab417b8c187ebce984d06c", "enabled": true, "type": "object-store", "name": "swift", "description": "Swift Object Storage Service"}, {"id": "ddfe2998b1134931844e9006afc2a347", "enabled": true, "type": "identity", "name": "keystone", "description": "Keystone Identity Service"}, {"id": "e1ee65c497a0456e8357e97362091b50", "enabled": true, "type": "ec2", "name": "ec2", "description": "EC2 Compatibility Layer"}, {"enabled": true, "type": "apal-test", "id": "e81a779b613b47b59c56b26e81618059"}]}
 _http_log_response /opt/rally/local/lib/python2.7/site-packages/keystoneclient/session.py:189
Command failed, please check log for more info
2014-08-04 17:23:46.235 25280 CRITICAL rally [-] AttributeError: name
2014-08-04 17:23:46.235 25280 TRACE rally Traceback (most recent call last):
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/bin/rally", line 10, in <module>
2014-08-04 17:23:46.235 25280 TRACE rally sys.exit(main())
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/local/lib/python2.7/site-packages/rally/cmd/main.py", line 44, in main
2014-08-04 17:23:46.235 25280 TRACE rally return cliutils.run(sys.argv, categories)
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/local/lib/python2.7/site-packages/rally/cmd/cliutils.py", line 184, in run
2014-08-04 17:23:46.235 25280 TRACE rally ret = fn(*fn_args, **fn_kwargs)
2014-08-04 17:23:46.235 25280 TRACE rally File "<string>", line 2, in check
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/local/lib/python2.7/site-packages/rally/cmd/envutils.py", line 64, in default_from_global
2014-08-04 17:23:46.235 25280 TRACE rally return f(*args, **kwargs)
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/local/lib/python2.7/site-packages/rally/cmd/commands/deployment.py", line 185, in check
2014-08-04 17:23:46.235 25280 TRACE rally data = [service.name, service.type, 'Available']
2014-08-04 17:23:46.235 25280 TRACE rally File "/opt/rally/local/lib/python2.7/site-packages/keystoneclient/openstack/common/apiclient/base.py", line 489, in __getattr__
2014-08-04 17:23:46.235 25280 TRACE rally raise AttributeError(k)
2014-08-04 17:23:46.235 25280 TRACE rally AttributeError: name
2014-08-04 17:23:46.235 25280 TRACE rally

Yan Ning (yan-ning)
summary: - rally deployment check fails (keystoneclient version is 0.10.1)
+ rally deployment check fails after reinstall (keystoneclient version is
+ 0.10.1)
Changed in rally:
status: New → Confirmed
Revision history for this message
Yan Ning (yan-ning) wrote :

The command failure is caused by two same service.name returned with keystoneclient version 0.10.1.

Revision history for this message
Boris Pavlovic (boris-42) wrote :

So do you have still issues with this?

Changed in rally:
status: Confirmed → Invalid
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.