pombreda / scalr

Automatically exported from code.google.com/p/scalr
0 stars 0 forks source link

Points to a 404 http://169.254.169.254/latest/user-data and does not setup farmconfig #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

/usr/local/aws/instance-init.sh
INSTANCEDATA=`curl -s http://169.254.169.254/latest/user-data`

points to a 404, therefore it exits at the following lines and never sets
up /etc/aws/farmconfig

echo "if [ -z "$INSTANCEDATA" ]"
if [ -z "$INSTANCEDATA" ]; then
    loga "Cannot fetch user-data from
http://169.254.169.254/latest/user-data. Will better die."
    exit 1
fi

Original issue reported on code.google.com by andrew.j...@gmail.com on 3 Jun 2008 at 7:09

GoogleCodeExporter commented 9 years ago
http://169.254.169.254/latest/user-data will always exist and accessible from 
scalr 
instance.
1. Make sure that this instance was created in scalr.
2. You can only request the data from the instance that it is set-on.

Original comment by alex.kovalyov@gmail.com on 4 Jun 2008 at 3:08