Public bug reported:

User data supplied using "euca-run-instances --user-data-file" is not decoded 
before being presented to the instance. 
Inside the instance, "curl http://169.254.169.254/latest/user-data"; should 
fetch the decoded user data, whereas eucalyptus will return a base64 and url 
encoded string. This breaks ec2-run-user-data from the ec2-init package, 
rendering instance configuration using the user-data mechanism unusable. 

EC2 documentation at 
http://docs.amazonwebservices.com/AWSEC2/2007-03-01/DeveloperGuide/AESDG-chapter-instancedata.html
 states that EC2 will return decoded data (i don't have a ec2 account so i 
can't confirm this):
"The user data must be base64-encoded before being submitted to the API. The 
API command-line tools perform the base64-encoding for you. The data will be 
base64 decoded before being presented to the instance."

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
User data is not base64 decoded before being presented to the instance
https://bugs.launchpad.net/bugs/461156
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to