Specify domain when looking up heat user

The domain-setup action checks if the heat domain, user and roles
are setup before creating them, but in the case of the user it
was not checking the users existence in the correct domain.

Change-Id: I6998fe0543b26232c65c43bc9b2a8cc4b20bcbc5
Closes-Bug: #1793170
This commit is contained in:
Liam Young 2018-09-25 16:22:00 +00:00
parent ddfbe52c52
commit e8354a1b68
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ openstack domain show heat || {
openstack domain create --description "Stack projects and users" heat
}
openstack user show heat_domain_admin || {
openstack user show --domain heat heat_domain_admin || {
openstack user create --domain heat --password `leader-get heat-domain-admin-passwd` heat_domain_admin
}