+ 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 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + PROJECT_DOMAIN_ID=5bfe8f1bddf64dbba4b63fff9be677a5 + [[ service == \D\e\f\a\u\l\t ]] ++ openstack domain create --or-show --enable -f value -c id '--description=Domain for RegionOne/service' service Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + USER_DOMAIN_ID=5bfe8f1bddf64dbba4b63fff9be677a5 + shopt -u nocasematch + USER_PROJECT_DESC='Service Project for RegionOne/service' ++ openstack project create --or-show --enable -f value -c id --domain=5bfe8f1bddf64dbba4b63fff9be677a5 '--description=Service Project for RegionOne/service' service Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + USER_PROJECT_ID=3bd1407cf0204e3e90a1112045657f46 + USER_DESC='Service User for RegionOne/service/nova' ++ openstack user create --or-show --enable -f value -c id --domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project=3bd1407cf0204e3e90a1112045657f46 '--description=Service User for RegionOne/service/nova' nova-RegionOne Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' No password was supplied, authentication will fail when a user does not have a password. + USER_ID=1c3d210709d0462799784988dc627a0e + set +x Setting user password via: openstack user set --password=xxxxxxx 1c3d210709d0462799784988dc627a0e Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + 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=1c3d210709d0462799784988dc627a0e --user-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project=3bd1407cf0204e3e90a1112045657f46 admin Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + 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 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + USER_ROLE_ID=1663a72b7d554c6ab578684ebb96ede4 + openstack role add --user=1c3d210709d0462799784988dc627a0e --user-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project=3bd1407cf0204e3e90a1112045657f46 1663a72b7d554c6ab578684ebb96ede4 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + : member ++ openstack role create --or-show -f value -c id member Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + export USER_ROLE_ID=4b9cb4de00b0413ab8e0204440480164 + USER_ROLE_ID=4b9cb4de00b0413ab8e0204440480164 + ks_assign_user_role + [[ service == \a\d\m\i\n ]] ++ openstack role create --or-show -f value -c id service Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + USER_ROLE_ID=1663a72b7d554c6ab578684ebb96ede4 + openstack role add --user=1c3d210709d0462799784988dc627a0e --user-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project-domain=5bfe8f1bddf64dbba4b63fff9be677a5 --project=3bd1407cf0204e3e90a1112045657f46 1663a72b7d554c6ab578684ebb96ede4 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost'