Advertisement
Guest User

Untitled

a guest
May 28th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. connection with mysql: connection = mysql://keystone:yourpassword@192.168.100.138/keystone
  2.  
  3. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0 tenant-create --name openstackDemo --description "Default Tenant" --enabled true
  4.  
  5. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  6. user-create --tenant_id 7b6c4782f62f450992c37081d499e44b --name
  7. adminUser --pass secretword --enabled true
  8.  
  9. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  10. role-create --name admin
  11.  
  12. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  13. role-create --name memberRole
  14.  
  15. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  16. user-role-add --user 233713317bbd47fa88e006cd867a09ad --tenant_id
  17. 7b6c4782f62f450992c37081d499e44b --role
  18. 9e973acd3dc54ae985be856d2ebbd65d
  19.  
  20. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  21. tenant-create --name service --description "Service Tenant" --enabled
  22. true
  23.  
  24. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  25. user-create --tenant_id e00c6797c55d45d4b1f76408bfac05d6 --name glance
  26. --pass glance --enabled true
  27.  
  28. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  29. user-role-add --user 08e62fead27c4bf29695fddfb4e6f25e --tenant_id
  30. e00c6797c55d45d4b1f76408bfac05d6 --role
  31. 9e973acd3dc54ae985be856d2ebbd65d
  32.  
  33. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  34. user-create --tenant_id e00c6797c55d45d4b1f76408bfac05d6 --name nova -
  35. -pass nova --enabled true
  36.  
  37. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  38. user-role-add --user 9d42878c688248fe8c588a1e3db0982c --tenant_id
  39. e00c6797c55d45d4b1f76408bfac05d6 --role
  40. 9e973acd3dc54ae985be856d2ebbd65d
  41.  
  42. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  43. user-create --tenant_id e00c6797c55d45d4b1f76408bfac05d6 --name ec2 --
  44. pass ec2 --enabled true
  45.  
  46. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  47. user-role-add --user de5aa7f31e9843a3abf45dcc7b578758 --tenant_id
  48. e00c6797c55d45d4b1f76408bfac05d6 --role
  49. 9e973acd3dc54ae985be856d2ebbd65d
  50.  
  51. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  52. user-create --tenant_id e00c6797c55d45d4b1f76408bfac05d6 --name swift
  53. --pass swiftpass --enabled true
  54.  
  55. keystone --token ADMIN --endpoint http://192.168.100.140:35357/v2.0
  56. user-role-add --user 3ef0293a02be4a80af4227aab5a7318b --tenant_id
  57. e00c6797c55d45d4b1f76408bfac05d6 --role
  58. 9e973acd3dc54ae985be856d2ebbd65d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement