existing_users context cannot fetch 'tenant' and 'user' details from cloud deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
High
|
Chandidas Gharami |
Bug Description
'Existing User' context does not work properly in latest rally. It cannot fetch 'tenant' and 'user' details from cloud deployment.
Rally Version User to test:
[root@jb eu_issue]# rally --version
0.4.1~dev254
Here I captured the context it created in one sample run.
2016-07-12 07:28:49.725 31446 INFO rally.plugins.
User and Tenant information have below values respectively:
'user': {'credential': <rally.
'tenant': {'id': None, 'name': 'pre_t_1'}
This shows, current existing_users context cannot retrieve required values from cloud deployment.
However, the scenario can run for all the iterations configured with this 'user' and 'tenant' values in all iterations.
Attached a simple scenario which is used to experiment this.
Changed in rally: | |
assignee: | nobody → Chandidas Gharami (chandidas) |
Changed in rally: | |
importance: | Undecided → Medium |
importance: | Medium → High |
summary: |
- existing_users context does not work in latest rally + existing_users context cannot fetch 'tenant' and 'user' details from + cloud deployment |
With the latest code, the 'tenant_id' field is getting populated with right value and as a result 'tenant-context' is also getting populated with all the configured user. This would be sufficient for distribution of tenants across scenario runs.
However, user 'id' field in user's list is still None. This might not be an issue as Credential object of the user is correctly populated. But if user id is used later in any part of a scenario, it will be None.
Working to fix the 'user id' issue.