+ shopt -s nocasematch + [[ service == \D\e\f\a\u\l\t ]] ++ openstack domain create --or-show --enable -f value -c id '--description=Domain for RegionOne/service' service + PROJECT_DOMAIN_ID=abbb9367fc6043fab80b162aca5c2c97 + [[ service == \D\e\f\a\u\l\t ]] ++ openstack domain create --or-show --enable -f value -c id '--description=Domain for RegionOne/service' service + USER_DOMAIN_ID=abbb9367fc6043fab80b162aca5c2c97 + shopt -u nocasematch + USER_PROJECT_DESC='Service Project for RegionOne/service' ++ openstack project create --or-show --enable -f value -c id --domain=abbb9367fc6043fab80b162aca5c2c97 '--description=Service Project for RegionOne/service' service + USER_PROJECT_ID=8c7010edb5bd416986134b2a1150264f + USER_DESC='Service User for RegionOne/service/nova' ++ openstack user create --or-show --enable -f value -c id --domain=abbb9367fc6043fab80b162aca5c2c97 --project-domain=abbb9367fc6043fab80b162aca5c2c97 --project=8c7010edb5bd416986134b2a1150264f '--description=Service User for RegionOne/service/nova' nova-RegionOne No password was supplied, authentication will fail when a user does not have a password. + USER_ID=9a2881d3f28b435f9794fe6b3e0a218a + set +x Setting user password via: openstack user set --password=xxxxxxx 9a2881d3f28b435f9794fe6b3e0a218a + IFS=, + for SERVICE_OS_ROLE in ${SERVICE_OS_ROLES} + ks_assign_user_role + [[ admin == \a\d\m\i\n ]] + USER_ROLE_ID=admin + openstack role add --user=9a2881d3f28b435f9794fe6b3e0a218a --user-domain=abbb9367fc6043fab80b162aca5c2c97 --project-domain=abbb9367fc6043fab80b162aca5c2c97 --project=8c7010edb5bd416986134b2a1150264f admin + for SERVICE_OS_ROLE in ${SERVICE_OS_ROLES} + ks_assign_user_role + [[ service == \a\d\m\i\n ]] ++ openstack role create --or-show -f value -c id service + USER_ROLE_ID=d00590c0d33d4262ad2cdeea8af0595d + openstack role add --user=9a2881d3f28b435f9794fe6b3e0a218a --user-domain=abbb9367fc6043fab80b162aca5c2c97 --project-domain=abbb9367fc6043fab80b162aca5c2c97 --project=8c7010edb5bd416986134b2a1150264f d00590c0d33d4262ad2cdeea8af0595d + : member ++ openstack role create --or-show -f value -c id member + export USER_ROLE_ID=fcb7d7def2b646278cafbafb1faca9e4 + USER_ROLE_ID=fcb7d7def2b646278cafbafb1faca9e4 + ks_assign_user_role + [[ service == \a\d\m\i\n ]] ++ openstack role create --or-show -f value -c id service + USER_ROLE_ID=d00590c0d33d4262ad2cdeea8af0595d + openstack role add --user=9a2881d3f28b435f9794fe6b3e0a218a --user-domain=abbb9367fc6043fab80b162aca5c2c97 --project-domain=abbb9367fc6043fab80b162aca5c2c97 --project=8c7010edb5bd416986134b2a1150264f d00590c0d33d4262ad2cdeea8af0595d