Merge "Privilege checking for heat-keystone-setup-domain"
This commit is contained in:
commit
7b010ce90c
@ -79,6 +79,11 @@ def main():
|
|||||||
logger.error("Unexpected filtered list response, please upgrade "
|
logger.error("Unexpected filtered list response, please upgrade "
|
||||||
"keystoneclient to >= 0.5")
|
"keystoneclient to >= 0.5")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
except kc_exception.Forbidden:
|
||||||
|
logger.error("User '%s' is not authorized to perform this "
|
||||||
|
"operation, please try with other OS_USERNAME setting." %
|
||||||
|
USERNAME)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Create heat domain admin user
|
# Create heat domain admin user
|
||||||
if not HEAT_DOMAIN_PASSWORD:
|
if not HEAT_DOMAIN_PASSWORD:
|
||||||
|
Loading…
Reference in New Issue
Block a user