heat : Getting started updates for grizzly
Update GettingStarted to drop references to F16/essex and add the password sed which is required when running grizzly installed via tools/openstack on Fedora Change-Id: I08d265e2e2388b54a6aa9f47c4930c32f71f3e93
This commit is contained in:
parent
011d8397b4
commit
092222de42
|
@ -25,7 +25,7 @@ Getting Started With Heat on Fedora
|
||||||
|
|
||||||
..
|
..
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Exit on error
|
# Exit on error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -41,13 +41,12 @@ Optionally, one may wish to install Heat via RPM. Creation instructions are in t
|
||||||
Install OpenStack
|
Install OpenStack
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Installing OpenStack on Fedora 16/17/18
|
Installing OpenStack on Fedora 17/18
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- On Fedora 16 you have to enable the `Preview Repository`_ to install the required OpenStack Essex release.
|
- On Fedora 17 using the `Preview Repository`_ to install the OpenStack Folsom release is recommended
|
||||||
- On Fedora 17 you can use the included OpenStack Essex release, or optionally enable the `Preview Repository`_ to install the newer OpenStack Folsom release.
|
- On Fedora 18 you can use the included OpenStack Folsom release or the Grizzly `Preview Repository`_
|
||||||
- On Fedora 18 you can use the included OpenStack Folsom release
|
|
||||||
|
|
||||||
A script called "``openstack``" in the tools directory of the repository will install and start OpenStack for you on Fedora::
|
A script called "``openstack``" in the tools directory of the repository will install and start OpenStack for you on Fedora::
|
||||||
|
|
||||||
|
@ -156,6 +155,12 @@ In the heat directory, run the install script::
|
||||||
|
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
|
|
||||||
|
If running OpenStack grizzly installed via tools/openstack, it is necessary to modify the default service user password::
|
||||||
|
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-cfn-paste.ini
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-cloudwatch-paste.ini
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-paste.ini
|
||||||
|
|
||||||
Source the keystone credentials created with tools/openstack
|
Source the keystone credentials created with tools/openstack
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -287,7 +292,7 @@ After a few seconds, the ``StackStatus`` should change from ``CREATE_IN_PROGRESS
|
||||||
echo "Waiting for Stack creation to complete..." >&2
|
echo "Waiting for Stack creation to complete..." >&2
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
$HEAT_DESCRIBE | grep -q "<StackStatus>CREATE_COMPLETE</StackStatus>"
|
$HEAT_DESCRIBE | grep -q "<StackStatus>CREATE_COMPLETE</StackStatus>"
|
||||||
|
|
||||||
|
|
||||||
|
@ -306,16 +311,16 @@ Because the software takes some time to install from the repository, it may be a
|
||||||
-e d \
|
-e d \
|
||||||
)
|
)
|
||||||
HOST=`echo $WebsiteURL | sed -r -e 's#http://([^/]+)/.*#\1#'`
|
HOST=`echo $WebsiteURL | sed -r -e 's#http://([^/]+)/.*#\1#'`
|
||||||
|
|
||||||
retries=9
|
retries=9
|
||||||
while ! ping -q -c 1 $HOST >/dev/null && ((retries-- > 0)); do
|
while ! ping -q -c 1 $HOST >/dev/null && ((retries-- > 0)); do
|
||||||
echo "Waiting for host networking..." >&2
|
echo "Waiting for host networking..." >&2
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
test $retries -ge 0
|
test $retries -ge 0
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
retries=49
|
retries=49
|
||||||
while ! ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no \
|
while ! ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no \
|
||||||
-q -t -l ec2-user $HOST \
|
-q -t -l ec2-user $HOST \
|
||||||
|
@ -326,7 +331,7 @@ Because the software takes some time to install from the repository, it may be a
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
test $retries -ge 0
|
test $retries -ge 0
|
||||||
|
|
||||||
echo "Pausing to wait for application startup..." >&2
|
echo "Pausing to wait for application startup..." >&2
|
||||||
sleep 60
|
sleep 60
|
||||||
|
|
||||||
|
|
|
@ -28,13 +28,12 @@ Optionally, one may wish to install Heat via RPM. Creation instructions are in t
|
||||||
Install OpenStack
|
Install OpenStack
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Installing OpenStack on Fedora 16/17/18
|
Installing OpenStack on Fedora 17/18
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- On Fedora 16 you have to enable the `Preview Repository`_ to install the required OpenStack Essex release.
|
- On Fedora 17 using the `Preview Repository`_ to install the OpenStack Folsom release is recommended
|
||||||
- On Fedora 17 you can use the included OpenStack Essex release, or optionally enable the `Preview Repository`_ to install the newer OpenStack Folsom release.
|
- On Fedora 18 you can use the included OpenStack Folsom release or the Grizzly `Preview Repository`_
|
||||||
- On Fedora 18 you can use the included OpenStack Folsom release
|
|
||||||
|
|
||||||
A script called "``openstack``" in the tools directory of the repository will install and start OpenStack for you on Fedora::
|
A script called "``openstack``" in the tools directory of the repository will install and start OpenStack for you on Fedora::
|
||||||
|
|
||||||
|
@ -154,6 +153,12 @@ In the heat directory, run the install script::
|
||||||
|
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
|
|
||||||
|
If running OpenStack grizzly installed via tools/openstack, it is necessary to modify the default service user password::
|
||||||
|
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-cfn-paste.ini
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-cloudwatch-paste.ini
|
||||||
|
sudo sed -i "s/verybadpass/secrete/" /etc/heat/heat-api-paste.ini
|
||||||
|
|
||||||
Source the keystone credentials created with tools/openstack
|
Source the keystone credentials created with tools/openstack
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue