summaryrefslogtreecommitdiffstats
path: root/tools/sample_data.sh
Commit message (Collapse)AuthorAgeFilesLines
* Accept env variables to override default passwordsRobert H. Hyerle2013-05-161-5/+16
| | | | | | | | | | | | | | | | | | | | | | Preserves the default passwords corresponding to the OpenStack Install and Deploy Manual while allowing environment variables to specify user provided passwords. As well, a single common password for all the service users can be specified using the SERVICE_PASSWORD environment variable. This fix restores compatibility with the version of this script released in Folsom where the environment variables could override default passwords. It also preserves compatibility with the fix for bug 1073291 that brought the script into line with the docs (but unfortunately broke backwards compatibility). There is no warning emited if the user does not override the default passwords as was present in Folsom, but not in Grizzly. This makes the fix output compatible with Grizzly only. Note that the logic for warnings pre-Grizzly was unclear. The script is, however, clearly named "sample" and warnings are present in the comments. Change-Id: I927fcddf04dcb87e5c9252f0874939b17f3c4809 Fixes: bug #1166182
* Update sample_data.sh to match docsDavid Höppner2013-02-181-156/+108
| | | | | | | Confirm more with the "OpenStack Install and Deploy Manual." Change-Id: I46ab7e8e5ccdf389cbc60fee84c063f289155781 Fixes: bug #1073291
* Make the controller addresses configurable.Jaroslav Henner2012-11-161-24/+28
| | | | | | | | | The addresses in sample_data were hard-coded to localhost. This is a problem when deploying not-so-all-in-one deployment -- one controller and couple of compute nodes. It was also complicating access from outside. Change-Id: Iee53c3f4376c3628e1543afb6dc7e964a3a14ab2
* Fix default port for identity.internalURLAlan Pevec2012-11-081-1/+1
| | | | | | | | | This should be the public_port and not the admin one. Sync with default_catalog.templates change commit 773f0f84af282cd3e53650ccbb99284c37677b6a Change-Id: Ibb81a06607d94648993768c8b2e7161bf57195a1
* Replaced underscores with dashesDolph Mathews2012-10-041-33/+33
| | | | Change-Id: I8e59891c6a532b9aaeffd2b69608ae4c7a4d2ab7
* add Swift endpoint in sample dataAlan Pevec2012-09-171-1/+8
| | | | Change-Id: Idb1274adbcc28ccddc737d900062f5b8a5f81791
* add Quantum endpoint in sample dataAlan Pevec2012-09-131-1/+8
| | | | Change-Id: Icd8166efec04e4adc18ecf7c96d43fbc4962cbeb
* Changed arguments in keystone CLI for consistency.Everett Toews2012-05-161-18/+18
| | | | | | | | | | | | Changed --user to --user_id and --role to --role_id in the keystone client for consistency. Need to update keystone calls here. This change should be applied after [bug/994744 b7fe11c] in python-keystoneclient. Fixes bug 994744. Change-Id: I234c1d46c0d92a6a00ebb25c5dfbba69cd46be52
* sample_data.sh: check file paths for packaged installationsAlan Pevec2012-03-131-4/+15
| | | | | | | v4: try to use system-wide configuration first then fallback to assuming git checkout Change-Id: I6916f554cb9848fcb2d090e142b8915ad19a7486
* Merge "create service endpoints in sample data"Jenkins2012-03-111-6/+45
|\
| * create service endpoints in sample dataAlan Pevec2012-03-091-6/+45
| | | | | | | | | | | | | | Enable creation of endpoints by setting ENABLE_ENDPOINTS environment variable. Works with Catalog SQL backend. Change-Id: I9ba0ea1b3cf35720fb338e91f48fcbddc326971b
* | Added license header (bug 929663)Dolph Mathews2012-03-091-0/+14
|/ | | | Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733
* fix Nova Volume Service in sample dataAlan Pevec2012-03-071-2/+2
| | | | Change-Id: Ic6bb8ddea1ab894076d1580f5dbbe535aa668a8a
* Remove trailing whitespaces in regular fileHengqing Hu2012-03-031-1/+1
| | | | Change-Id: I8d05fbb7a372bf9a813da9165cd40af71a1ae4c2
* Add service accounts to sample_data.shDean Troyer2012-03-011-9/+59
| | | | | | | | | | | Updated sample_data.sh to create the service accounts now required for services (Nova/Swift/etc) to use Keystone. Swift and Quantum are now enabled by setting ENABLE_SWIFT and/or ENABLE_QUANTUM. This corresponds to the auth_token middleware rewrite in https://review.openstack.org/4675 Change-Id: I327c593a53f3ac06e2ed0c1543d2974728e70e03
* Create tools/sample_data.shDean Troyer2012-02-231-0/+137
Based on devstack's files/keystone_data.sh, sample_data.sh creates the same set of tenants/users/roles/etc. It can eventually be used by devstack as the bootstrap script. Fixes bug 934331 Change-Id: Ib3b514b6e4fc5c9e980e4e0c59bc44cda1b8d2b6