After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 114 of 317

Installing OpenStack Storage 104 Configuring OpenStack Storage with OpenStack Identity Service The OpenStack Storage service configured in the previous sections uses the inbuilt TempAuth mechanism to manage accounts. This is analogous to the deprecated_auth mechanism we can configure with the OpenStack Compute service. This section shows you how to move from TempAuth to OpenStack Identity Service to manage accounts. Getting ready For this section, we will log in to our openstack2 host for configuration of OpenStack Storage Service as well as to a client that has access to the keystone client, to manage OpenStack Identity Service. How to do it... Configuring OpenStack Storage to use OpenStack Identity Service is carried out as follows: 1. We first use the keystone client to configure the required endpoints and accounts under OpenStack Identity Service, as follows: # Set up environment export ENDPOINT=172.16.0.1 export SERVICE_TOKEN=ADMIN export SERVICE_ENDPOINT=http://${ENDPOINT}:35357/v2.0 # Swift Proxy Address export SWIFT_PROXY_SERVER=172.16.0.2 # Configure the OpenStack Storage Endpoint keystone --token $SERVICE_TOKEN --endpoint $SERVICE_ENDPOINT service-create --name swift --type object-store --description 'OpenStack Storage Service' # Service Endpoint URLs ID=$(keystone service-list | awk '/\ swift\ / {print $2}') # Note we're using SSL PUBLIC_URL="https://$SWIFT_PROXY_SERVER:443/v1/AUTH_\$(tenant_id) s" ADMIN_URL="https://$SWIFT_PROXY_SERVER:443/v1" INTERNAL_URL=$PUBLIC_URL keystone endpoint-create --region RegionOne --service_id $ID --publicurl $PUBLIC_URL --adminurl $ADMIN_URL --internalurl $INTERNAL_URL www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook