Make name of the demo user unique
When tempestconf during the creation of a user discovered that the user already existed then it expected that the password for this account has a default value (secret). This could cause errors because the existing account may have had a different password than the default value. To prevent this from happening the tempestconf now creates a user named 'demo_tempestconf' instead of 'demo'. This change makes sure that collisions are avoided. If the system already contains a user named 'demo_tempestconf' then it was probably created by tempestconf. Story: 2007665 Task: 39759 Change-Id: Iff8883b2d8fd80d417d5d5ee1bc9bebae15e213a
This commit is contained in:
parent
e5f2ba7c7d
commit
2564110490
@ -83,10 +83,10 @@ def load_basic_defaults(conf):
|
||||
("log_file", "tempest.log")
|
||||
],
|
||||
"identity": [
|
||||
("username", "demo"),
|
||||
("username", "demo_tempestconf"),
|
||||
("password", "secrete"),
|
||||
("project_name", "demo"),
|
||||
("alt_username", "alt_demo"),
|
||||
("alt_username", "alt_demo_tempestconf"),
|
||||
("alt_password", "secrete"),
|
||||
("alt_project_name", "alt_demo"),
|
||||
("disable_ssl_certificate_validation", "true")
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Tempestconf now creates users with name that ends with '_tempestconf'.
|
||||
This change makes sure that collisions are avoided. For example, if the
|
||||
system already contains a user named 'demo_tempestconf' then it was
|
||||
probably created by tempestconf.
|
Loading…
Reference in New Issue
Block a user