--config-file option of tempest account-generator ignores its the value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Manik Bindlish |
Bug Description
It looks like the issue described here [1] is back.
I used tempest cloned from github from master branch.
$ tempest account-generator --config-file ../path/
2018-04-23 21:05:19.258 4653 INFO tempest [-] Using tempest config file /etc/tempest/
Traceback (most recent call last):
File "/home/
main(
File "/home/
cred_provider = get_credential_
File "/home/
identity_
File "/home/
identity_
File "/home/
self.
File "/home/
return f(*args, **kwargs)
File "/home/
'ServiceClients requires a non-empty identity_uri.')
InvalidCredentials: Invalid Credentials
Details: ServiceClients requires a non-empty identity_uri.
However, when I run it from tempest dir and put a tempest.conf to ./etc/, it will work. But it ignores the path given by --config-file argument, because when I tried to change uri address of etc/tempest.conf, that uri was used instead of the uri in the tempest.conf specified by the --config-file argument.
When the etc/tempest.conf is removed, the traceback is showed again.
Steps to reproduce:
1. clone tempest from master and change to the cloned directory
2. install using tox: $ tox -epy27
3. source the .tox/py27/
4. run account-generator with tempest.conf in a different location. Note: make sure, ./etc/ doesn't contain a tempest.conf
$ tempest account-generator --config-file /path/to/
Conclusion:
It looks the issue is back/is still there, even though, it was resolved in [1].
Changed in tempest: | |
assignee: | nobody → Manik Bindlish (manikbindlish) |
Changed in tempest: | |
assignee: | Manik Bindlish (manikbindlish19) → dharmendra (dharmendra-kushwaha) |
Changed in tempest: | |
assignee: | dharmendra (dharmendra-kushwaha) → Manik Bindlish (manikbindlish19) |
It is reproducable so marking it as confirmed