Re: Issue with jclouds computeService listNodes() ?

2018-06-21 Thread archieprad
Hi Ignasi, Thank you! I will try this out and let you know if it worked. Cheers Archana On 2018/06/21 08:00:01, Ignasi Barrera wrote: > Hi Archana, > > I see the problem here. When using temporary credentials in AWS, the > session token must be included in a request header [1], so you need to

Re: Issue with jclouds computeService listNodes() ?

2018-06-21 Thread archieprad
Hi Andrea, Yes i changed the code a little and added a .endpoint("https://ec2-ap-southeast-1.com;), to change the region. Does that resolve it? Regards Archana On 2018/06/21 07:53:48, Andrea Turli wrote: > Mmm very interesting! > > The only thing that comes to my mind is: > - is your

Re: Issue with jclouds computeService listNodes() ?

2018-06-21 Thread archieprad
Hi Andrea, Thanks for the quick response. I am using an IAM role that has full admin access. Which is why this case is even more perplexing. Do you have any other suggestions to try out? Cheers Archana On 2018/06/21 07:40:46, Andrea Turli wrote: > Archana, > > interesting! > > To debug

Re: Issue with jclouds computeService listNodes() ?

2018-06-21 Thread archieprad
Hi Andrea, Thanks for the quick response. I am using an IAM role that has full admin access. Which is why this case is even more perplexing. Do you have any other suggestions to try out? Cheers Archana On 2018/06/20 21:45:31, archiep...@gmail.com wrote: > Hi Ignasi, > So the function that

Re: Issue with jclouds computeService listNodes() ?

2018-06-21 Thread archieprad
Hi Andrea, I tried the two methods that you suggested and neither of them work. I also tried another method listHardwareProfiles() and it works. Is there some different level of authentication required across these? Please do let me know what you think. Cheers Archana On 2018/06/20 07:26:44,

What parameters does Jclouds need to use listNodes() ?

2018-06-20 Thread archieprad
Hi All, Just trying to understand the internals of Jclouds computeService. So lets just say i have an access key and secret key. Is there anything else Jclouds needs such as session token that needs to be authenticated ? Cheers Archana

Issue with jclouds computeService listNodes() ?

2018-06-20 Thread archieprad
Hi All, I am trying to SSH from one EC2 instance into another using netflix's simian army. I am using IAM role instead of Access key and Secret key. Wondering if there is an issue with calling listNodes() when using IAM role. Any insight on this, or any workaround on the issue is helpful.