Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 730504 Details for
Bug 929370
grizzly: problem in creating a working installation of openstack using openstack-demo-install script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch for openstack-demo-install
0001-adjust-for-Grizzly-Keystone-sample_data.sh.patch (text/plain), 4.00 KB, created by
Alan Pevec
on 2013-04-01 22:55:02 UTC
(
hide
)
Description:
proposed patch for openstack-demo-install
Filename:
MIME Type:
Creator:
Alan Pevec
Created:
2013-04-01 22:55:02 UTC
Size:
4.00 KB
patch
obsolete
>From 19126fed3bd7a0f897fcac3857a40a053be1f9dc Mon Sep 17 00:00:00 2001 >From: Alan Pevec <apevec@redhat.com> >Date: Tue, 2 Apr 2013 00:52:42 +0200 >Subject: [PATCH] adjust for Grizzly Keystone sample_data.sh > >--- > utils/openstack-demo-install | 27 +++++++++++++++++++++------ > 1 file changed, 21 insertions(+), 6 deletions(-) > >diff --git a/utils/openstack-demo-install b/utils/openstack-demo-install >index 81da0a4..6988903 100755 >--- a/utils/openstack-demo-install >+++ b/utils/openstack-demo-install >@@ -41,6 +41,7 @@ os_version=$(rpm -q openstack-nova-common --qf='%{VERSION}') > case $os_version in > 2012.1|2012.1.*) os_dist='essex';; > 2012.2|2012.2.*) os_dist='folsom';; >+ 2013.1|2013.1.*) os_dist='grizzly';; > esac > > # Install these first if not on essex >@@ -186,8 +187,8 @@ echo "======= Setting up Keystone ======" > # Set up a keystonerc file with admin password > cat > ~/keystonerc <<EOF > export OS_USERNAME=admin >-export OS_PASSWORD=verybadpass >-export OS_TENANT_NAME=admin >+export OS_PASSWORD=secrete >+export OS_TENANT_NAME=demo > export OS_AUTH_URL=http://127.0.0.1:5000/v2.0/ > EOF > >@@ -223,6 +224,8 @@ until keystone user-list >/dev/null 2>&1; do > done > > # Create sample Tenants, Users and Roles >+# NB in Grizzly sample_data.sh *_PASSWORD are ignored: >+# https://github.com/openstack/keystone/commit/d6f7cbc484868bdec3eeb9d4b0f45b10ce536e79 > ADMIN_PASSWORD=$OS_PASSWORD SERVICE_PASSWORD=servicepass \ > ENABLE_SWIFT=1 openstack-keystone-sample-data > >@@ -235,7 +238,11 @@ if [ "$os_dist" == 'essex' ]; then > else #>=folsom > openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_tenant_name service > openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova >- openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass >+ if [ "$os_dist" == 'folsom' ]; then >+ openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass >+ else #>=grizzly >+ openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password nova >+ fi > fi > for svc in api compute; do > service openstack-nova-$svc restart >@@ -251,7 +258,11 @@ for svc in api registry; do > else #>=folsom > openstack-config --set /etc/glance/glance-$svc.conf keystone_authtoken admin_tenant_name service > openstack-config --set /etc/glance/glance-$svc.conf keystone_authtoken admin_user glance >- openstack-config --set /etc/glance/glance-$svc.conf keystone_authtoken admin_password servicepass >+ if [ "$os_dist" == 'folsom' ]; then >+ openstack-config --set /etc/glance/glance-$svc.conf keystone_authtoken admin_password servicepass >+ else #>=grizzly >+ openstack-config --set /etc/glance/glance-$svc.conf keystone_authtoken admin_password glance >+ fi > fi > done > for svc in api registry; do >@@ -313,7 +324,7 @@ swift_keystone_sample_data() > SWIFTSERIVEID=$(keystone service-list | grep object-store | awk '{print $2}') > keystone endpoint-create --service_id $SWIFTSERIVEID \ > --publicurl 'http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s' \ >- --adminurl 'http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s' \ >+ --adminurl 'http://127.0.0.1:8080/v1' \ > --internalurl 'http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s' > } > >@@ -324,7 +335,11 @@ setup_swift() > # edit default config > openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_tenant_name service > openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_user swift >- openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_password servicepass >+ if [ "$os_dist" == 'folsom' ]; then >+ openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_password servicepass >+ else #>=grizzly >+ openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_password swiftpass >+ fi > openstack-config --set /etc/swift/swift.conf swift-hash swift_hash_path_suffix $(openssl rand -hex 10) > > swift_keystone_sample_data >-- >1.7.11.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
p
: review+
Actions:
View
|
Diff
Attachments on
bug 929370
: 730504