Difference: InstallingAndConfiguringKeystone (9 vs. 10)

Revision 102012-10-15 - MatteoManzali

Line: 1 to 1
 
META TOPICPARENT name="GestioneOpenstack"

Installazione e configurazione del servizio Identity (Keystone)

Line: 328 to 328
 
  • Creare l'endpoint per il servizio "nova":

Changed:
<
<
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$NOVA_SERVICE_ID --publicurl='http://openstack-01.cnaf.infn.it:8774/v2/%(tenant_id)s' --internalurl='http://openstack-01.cnaf.infn.it:8774/v2/%(tenant_id)s' --adminurl='http://openstack-01.cnaf.infn.it:8774/v2/%(tenant_id)s'
>
>
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$NOVA_SERVICE_ID --publicurl='http://:8774/v2/%(tenant_id)s' --internalurl='http://:8774/v2/%(tenant_id)s' --adminurl='http://:8774/v2/%(tenant_id)s'
 +-------------+--------------------------------------------------------+
Property Value
+-------------+--------------------------------------------------------+
Line: 341 to 341
 
service_id 5bfe94c4ff80410ab60b635cc99e2476
+-------------+--------------------------------------------------------+
Added:
>
>
Dove <CLOUD_CONTROLLER_HOSTNAME> l'hostname del Cloud Controller (Nova). Nel nostro caso "openstack-01.cnaf.infn.it".
 

Definizione del servizio volume (Volume)

Il servizio volume richiede un endpoint specifico per ogni tenant.
Line: 362 to 363
 
  • Creare l'endpoint per il servizio "volume":

Changed:
<
<
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$NOVA_VOLUME_SERVICE_ID --publicurl='http://openstack-01.cnaf.infn.it:8776/v1/%(tenant_id)s' --internalurl='http://openstack-01.cnaf.infn.it:8776/v1/%(tenant_id)s' --adminurl='http://openstack-01.cnaf.infn.it:8776/v1/%(tenant_id)s'
>
>
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$NOVA_VOLUME_SERVICE_ID --publicurl='http://:8776/v1/%(tenant_id)s' --internalurl='http://:8776/v1/%(tenant_id)s' --adminurl='http://:8776/v1/%(tenant_id)s'
 +-------------+--------------------------------------------------------+
Property Value
+-------------+--------------------------------------------------------+
Line: 374 to 375
 
service_id f99ba2241e014295aa3ecfcda6633100
+-------------+--------------------------------------------------------+
Added:
>
>
Dove <CLOUD_CONTROLLER_HOSTNAME> l'hostname del Cloud Controller (Nova). Nel nostro caso "openstack-01.cnaf.infn.it".
 

Definizione del servizio image (Glance)

  • Creare il servizio "glance":
Line: 393 to 395
 
  • Creare l'endpoint per il servizio "glance":

Changed:
<
<
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$GLANCE_IMAGE_SERVICE_ID --publicurl=http://openstack-01.cnaf.infn.it:9292/v1 --internalurl=http://openstack-01.cnaf.infn.it:9292/v1 --adminurl=http://openstack-01.cnaf.infn.it:9292/v1
>
>
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$GLANCE_IMAGE_SERVICE_ID --publicurl=http://:9292/v1 --internalurl=http://:9292/v1 --adminurl=http://:9292/v1
 +-------------+------------------------------------------+
Property Value
+-------------+------------------------------------------+
Line: 404 to 406
 
region RegionOne
service_id 6c02494e7a534c91a7a01228a4093e63
+-------------+------------------------------------------+
Changed:
<
<
>
>
Dove <GLANCE_SERVER_HOSTNAME> l'hostname del server sui installato il servizio Glance. Nel nostro caso "openstack-01.cnaf.infn.it".
 

Definizione del servizio compatibility (EC2)

Line: 424 to 426
 
  • Creare l'endpoint per il servizio "ec2":

Changed:
<
<
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$EC2_COMPATIBILITY_SERVICE_ID --publicurl=http://openstack-01.cnaf.infn.it:8773/services/Cloud --internalurl=http://openstack-01.cnaf.infn.it:8773/services/Cloud --adminurl=http://openstack-01.cnaf.infn.it:8773/services/Cloud
>
>
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$EC2_COMPATIBILITY_SERVICE_ID --publicurl=http://:8773/services/Cloud --internalurl=http://:8773/services/Cloud --adminurl=http://:8773/services/Cloud
 +-------------+------------------------------------------------------+
Property Value
+-------------+------------------------------------------------------+
Line: 436 to 438
 
service_id 0f30dac463d242668e999955f7ee3d61
+-------------+------------------------------------------------------+
Added:
>
>
Dove <EC2_SERVER_HOSTNAME> l'hostname del server sui installato il servizio EC2. Nel caso di questo prototipo EC2 non stato installato.
 

Definizione del servizio object storage (Swift)

Il servizio object storage richiede un endpoint specifico per ogni tenant.
Line: 456 to 459
 
  • Creare l'endpoint per il servizio "swift":

Changed:
<
<
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$OBJECT_STORAGE_SERVICE_ID --publicurl='http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s' --internalurl='http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s' --adminurl='http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s'
>
>
# keystone --token $ADMIN_TOKEN --endpoint $ENDPOINT endpoint-create --region RegionOne --service_id=$OBJECT_STORAGE_SERVICE_ID --publicurl=':8080/v1/AUTH_%(tenant_id)s' --internalurl=':8080/v1/AUTH_%(tenant_id)s' --adminurl=':8080/v1/AUTH_%(tenant_id)s'
 +-------------+-------------------------------------------------------------+
Property Value
+-------------+-------------------------------------------------------------+
Changed:
<
<
adminurl http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s
>
>
adminurl http://openstack-04.cnaf.infn.it:8080/v1/AUTH_%(tenant_id)s
 
id ef01e39c5dde4757834aba9070132f34
Changed:
<
<
internalurl http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s
publicurl http://openstack-01.cnaf.infn.it:8888/v1/AUTH_%(tenant_id)s
>
>
internalurl http://openstack-04.cnaf.infn.it:8080/v1/AUTH_%(tenant_id)s
publicurl http://openstack-04.cnaf.infn.it:8080/v1/AUTH_%(tenant_id)s
 
region RegionOne
service_id 5b978ae3aeb1456a9d14c76f1d0c7956
+-------------+-------------------------------------------------------------+

Added:
>
>
Dove <SWIFT_SERVER_HOSTNAME> l'hostname del server sui installato il servizio Swift. Nel nostro caso "openstack-04.cnaf.infn.it".
 

Troubleshooting

  • Per le principali operazioni di troubleshooting riferirsi alla guida.
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback