Difference: InstallingAndConfiguringKeystone (13 vs. 14)

Revision 142012-11-19 - EnricoFattibene

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

Installazione e configurazione del servizio Identity (Keystone)

Line: 358 to 358
 
  • Installare curl tramite il gestore di pacchetti yum e lanciare il seguente comando per listare le informazioni inserite in Keystone:

Changed:
<
<
# yum install curl # curl -d '{"auth": {"tenantName": "adminTenant", "passwordCredentials":{"username": "adminUser", "password": "************"}}}' -H "Content-type:application/json" http://hostname1.domain:35357/v2.0/tokens | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 106 2446 101 2446 0 120 27990 1373 --:--:-- --:--:-- --:--:-- 27046 { "access": { "serviceCatalog": [ { "endpoints": [ {
"adminURL"
"http://hostname1.domain:8774/v2/c8854bd3d15f4f479476d0cf58ef7db2",
"internalURL"
"http://hostname1.domain:8774/v2/c8854bd3d15f4f479476d0cf58ef7db2",
"publicURL"
"http://hostname1.domain:8774/v2/c8854bd3d15f4f479476d0cf58ef7db2",
"region"
"RegionOne" } ], "endpoints_links": [], "name": "nova", "type": "compute" }, { "endpoints": [ {
"adminURL"
"http://hostname1.domain:9292/v1/",
"internalURL"
"http://hostname1.domain:9292/v1/",
"publicURL"
"http://hostname1.domain:9292/v1/",
"region"
"RegionOne" } ], "endpoints_links": [], "name": "glance", "type": "image" }, { "endpoints": [ {
"adminURL"
"http://hostname1.domain:8776/v1/c8854bd3d15f4f479476d0cf58ef7db2",
"internalURL"
"http://hostname1.domain:8776/v1/c8854bd3d15f4f479476d0cf58ef7db2",
"publicURL"
"http://hostname1.domain:8776/v1/c8854bd3d15f4f479476d0cf58ef7db2",
"region"
"RegionOne" } ], "endpoints_links": [], "name": "volume", "type": "volume" }, { "endpoints": [ {
"adminURL"
"http://hostname1.domain:8773/services/Admin",
"internalURL"
"http://hostname1.domain:8773/services/Cloud",
"publicURL"
"http://hostname1.domain:8773/services/Cloud",
"region"
"RegionOne" } ], "endpoints_links": [], "name": "keystone", "type": "identity" } ], "token": {
"expires"
"2012-10-11T09:49:27Z",
"id"
"1d9c15ed60414a92bc39d3b989d5bcae",
"tenant"
{ "description": "Admin Tenant Description", "enabled": true, "id": "c8854bd3d15f4f479476d0cf58ef7db2", "name": "adminTenant" } }, "user": {
"id"
"4b6da6bfa3634c819fc1abc022e88a22",
"name"
"adminUser",
"roles"
[ { "id": "ad6dc79aa39c4249ab63840f9591f99d", "name": "admin" } ],
"roles_links"
[],
"username"
"adminUser" } }
} </verbatim
>
>
[root@clstr-09 ~]# keystone tenant-list +----------------------------------+-------------+---------+
id name enabled
+----------------------------------+-------------+---------+
8f74bb88623e41619a4c020baed3caa0 adminTenant True
d6e9133d43b5440eae0db744c00bbca7 service True
+----------------------------------+-------------+---------+ [root@clstr-09 ~]# keystone user-list +----------------------------------+-----------+---------+-------+
id name enabled email
+----------------------------------+-----------+---------+-------+
30fc09b098b0451f8ec3861cf96f3422 nova True  
71228944d88b477188528c47942bcdb8 adminUser True  
7f3e370e94b54d8fa6ddbb02d5903f43 glance True  
+----------------------------------+-----------+---------+-------+ [root@clstr-09 ~]# keystone service-list +----------------------------------+----------+----------+---------------------------+
id name type description
+----------------------------------+----------+----------+---------------------------+
11279e60f5054500a1a0a4ea99016721 glance image Glance Image Service
25197e8149da4bc199fc3e8476f4c5ba volume volume Nova Volume Service
990589efda944f379888edc97f17cb75 keystone identity Keystone Identity Service
dbe9d50403c541f9b277e1c26b6e7946 nova compute Nova Compute Service
+----------------------------------+----------+----------+---------------------------+ [root@clstr-09 ~]# keystone endpoint-list +----------------------------------+-----------+----------------------------------------------------+----------------------------------------------------+----------------------------------------------------+----------------------------------+
id region publicurl internalurl adminurl service_id
+----------------------------------+-----------+----------------------------------------------------+----------------------------------------------------+----------------------------------------------------+----------------------------------+
20fef2ceae314842aade705eb6c3ed17 RegionOne http://clstr-09.cnaf.infn.it:8774/v2/%(tenant_id)s http://clstr-09.cnaf.infn.it:8774/v2/%(tenant_id)s http://clstr-09.cnaf.infn.it:8774/v2/%(tenant_id)s dbe9d50403c541f9b277e1c26b6e7946
8868e9748ad4481cac64ab0e3d33e614 RegionOne http://clstr-09.cnaf.infn.it:8776/v1/%(tenant_id)s http://clstr-09.cnaf.infn.it:8776/v1/%(tenant_id)s http://clstr-09.cnaf.infn.it:8776/v1/%(tenant_id)s 25197e8149da4bc199fc3e8476f4c5ba
8953d51657d8482a9037671db111f718 RegionOne http://clstr-09.cnaf.infn.it:5000/v2.0 http://clstr-09.cnaf.infn.it:5000/v2.0 http://clstr-09.cnaf.infn.it:35357/v2.0/ 990589efda944f379888edc97f17cb75
+----------------------------------+-----------+----------------------------------------------------+----------------------------------------------------+----------------------------------------------------+----------------------------------+ [root@clstr-09 ~]# keystone catalog Service: volume +-------------+-----------------------------------------------------------------------+
Property Value
+-------------+-----------------------------------------------------------------------+
adminURL http://clstr-09.cnaf.infn.it:8776/v1/8f74bb88623e41619a4c020baed3caa0
id 8868e9748ad4481cac64ab0e3d33e614
internalURL http://clstr-09.cnaf.infn.it:8776/v1/8f74bb88623e41619a4c020baed3caa0
publicURL http://clstr-09.cnaf.infn.it:8776/v1/8f74bb88623e41619a4c020baed3caa0
region RegionOne
+-------------+-----------------------------------------------------------------------+ Service: compute +-------------+-----------------------------------------------------------------------+
Property Value
+-------------+-----------------------------------------------------------------------+
adminURL http://clstr-09.cnaf.infn.it:8774/v2/8f74bb88623e41619a4c020baed3caa0
id 20fef2ceae314842aade705eb6c3ed17
internalURL http://clstr-09.cnaf.infn.it:8774/v2/8f74bb88623e41619a4c020baed3caa0
publicURL http://clstr-09.cnaf.infn.it:8774/v2/8f74bb88623e41619a4c020baed3caa0
region RegionOne
+-------------+-----------------------------------------------------------------------+ Service: identity +-------------+------------------------------------------+
Property Value
+-------------+------------------------------------------+
adminURL http://clstr-09.cnaf.infn.it:35357/v2.0/
id 8953d51657d8482a9037671db111f718
internalURL http://clstr-09.cnaf.infn.it:5000/v2.0
publicURL http://clstr-09.cnaf.infn.it:5000/v2.0
region RegionOne
+-------------+------------------------------------------+

  -- MatteoManzali - 2012-10-10
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback