ice
ice copied to clipboard
The requested metadata is not found
I'm trying to deploy Ice as a war on an ec2 instance, and am getting the following error when I do run-war:
com.amazonaws.AmazonClientException: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/
I see from the iceusers Google group that someone was having a similar issue last August when doing run-app on an ec2, and got the impression that there is newer code that is looking in a different place for credentials:
"Can you pull the latest code? The new code does not talk to http://169.254.169.254/latest/meta-data/iam/security-credentials/"
I just cloned this from master a few hours ago. So is it looking in the correct place for this metadata, and if so, is there some other way this is supposed to be run other than ./grailsw run-war? There is no way to specify credentials as system parameters when running tomcat, correct?
Also, is it possible to run Ice as a war from a non-ec2 server?
I'm researching a similar error but I am using an IAM user, not a role, but my Google search brought me here. So I'm bumping this in case it helps.
I am running into a the same issue. I have a role configured in IAM. When Ice starts I get the same error i.e. com.amazonaws.AmazonClientException: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/
Any help resolving it is appreciated. Thanks in advance.
I was able to solve this problem by putting the -D options in the command to start ice, per the documentation.
On Thu, May 8, 2014 at 10:50 AM, Vivek Garg [email protected]:
I am running into a the same issue. I have a role configured in IAM. When Ice starts I get the same error i.e. com.amazonaws.AmazonClientException: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/
Any help resolving it is appreciated. Thanks in advance.
— Reply to this email directly or view it on GitHubhttps://github.com/Netflix/ice/issues/85#issuecomment-42559067 .
./grailsw -Dice.s3AccessKeyId=<s3AccessKeyId> -Dice.s3SecretKey=<s3SecretKey> run-app
If I use my AccessKeyID and SecretKey it works fine. But I am trying to have Netflix Ice use an IAM role instead of the AccessKey ID and SecretKey. In that case it fails when trying to get the http://169.254.169.254/latest/meta-data/iam/security-credentials/
Oh OK. I think I saw something about that in the past week on the ice users Google group. Try checking there--it's the official support area for ICE.