Re: jclouds with trystack

2017-03-20 Thread Rupinder Singh
Hi Ignasi,

Could you please look at my java file and suggest how to do it. I am sorry,
currently, I can't figure it out. I am attaching java file again here.

Rupinder

On Thu, Mar 16, 2017 at 9:06 PM, Ignasi Barrera  wrote:

> This is a different error: an Authorization one.
>
> Are you providing the right credentials? jclouds expects by default
> the credentials in the following form:
>
> identity = "tenantName:userName"
> credential = "password"
>
> Are you providing the credentials in that format?
>
> On 16 March 2017 at 16:21, Rupinder Singh  wrote:
> > Hi Andrew,
> >
> > I tried with "http" in place of "https". The output is here
> >
> > http://pastebin.com/5CEf24aa
> >
> >
> > Not working.
> >
> > Rupinder
> >
> > On Thu, Mar 16, 2017 at 7:50 AM, Rupinder Singh 
> wrote:
> >>
> >> Thanks Andrew.  I'll try and get back in the evg(India time). I guess
> >> missed marking my replies to all a couple of times. I'll be careful.
> >> Rupinder.
> >>
> >> On 16 Mar 2017 07:30, "Andrew Phillips"  wrote:
> 
>  I 'm attaching here the entire  java code that I cobbled up from the
>  following guide
> >>>
> >>>
> >>> Thanks! In that file, could you try replacing
> >>>
> >>> .endpoint("https://8.43.86.2:5000/v2.0/;)
> >>>
> >>> with
> >>>
> >>> .endpoint("http://8.43.86.2:5000/v2.0/;)
> >>>
> >>> (i.e. "http" rather than "https") to see if that makes a difference?
> >>>
> >>> Also, please reply to user@jclouds.apache.org rather than to me
> directly
> >>> - that way, there's a better chance that someone else will be able to
> help
> >>> if I'm not around.
> >>>
> >>> Regards
> >>>
> >>> ap
> >
> >
>


JCloudsNova.java
Description: Binary data


Re: jclouds with trystack

2017-03-16 Thread Ignasi Barrera
This is a different error: an Authorization one.

Are you providing the right credentials? jclouds expects by default
the credentials in the following form:

identity = "tenantName:userName"
credential = "password"

Are you providing the credentials in that format?

On 16 March 2017 at 16:21, Rupinder Singh  wrote:
> Hi Andrew,
>
> I tried with "http" in place of "https". The output is here
>
> http://pastebin.com/5CEf24aa
>
>
> Not working.
>
> Rupinder
>
> On Thu, Mar 16, 2017 at 7:50 AM, Rupinder Singh  wrote:
>>
>> Thanks Andrew.  I'll try and get back in the evg(India time). I guess
>> missed marking my replies to all a couple of times. I'll be careful.
>> Rupinder.
>>
>> On 16 Mar 2017 07:30, "Andrew Phillips"  wrote:

 I 'm attaching here the entire  java code that I cobbled up from the
 following guide
>>>
>>>
>>> Thanks! In that file, could you try replacing
>>>
>>> .endpoint("https://8.43.86.2:5000/v2.0/;)
>>>
>>> with
>>>
>>> .endpoint("http://8.43.86.2:5000/v2.0/;)
>>>
>>> (i.e. "http" rather than "https") to see if that makes a difference?
>>>
>>> Also, please reply to user@jclouds.apache.org rather than to me directly
>>> - that way, there's a better chance that someone else will be able to help
>>> if I'm not around.
>>>
>>> Regards
>>>
>>> ap
>
>


Re: jclouds with trystack

2017-03-14 Thread Andrew Phillips

Hi Rupinder


I did that too. Same results.  I'll send  the output later in evg.


Could you try a cURL or similar from the box, with appropriate headers 
etc., to verify whether the TryStack endpoint is responding correctly if 
we take jclouds out of the loop?


Thanks!

ap


Re: jclouds with trystack

2017-03-14 Thread Rupinder Singh
Hi,

I tried to sort out that.  No success as yet. .any more help?

Rupinder
On 12 Mar 2017 13:34, "Ignasi Barrera"  wrote:

> Looks like a DNS or name resolvong issue?
> Caused by: java.net.UnknownHostException: identity.api.x86.trystack.org
>
> On Mar 12, 2017 7:14 AM, "Rupinder Singh"  wrote:
>
>> Hello.
>>
>> I'm beginning with jclouds openstack with trystack following getting
>> started tutorial
>>
>> https://jclouds.apache.org/guides/openstack/
>>
>> My java source is attached. The output is here
>>
>>
>> http://pastebin.com/Up2sDDk2
>>
>>
>> I'd also downloaded RC file from trystack and placed the API access
>> password there.
>>
>> However, the Nova Server app doesn't seem to deploy.
>>
>> Request help.
>>
>> Rupinder
>>
>>
>>


Re: jclouds with trystack

2017-03-12 Thread Ignasi Barrera
Looks like a DNS or name resolvong issue?
Caused by: java.net.UnknownHostException: identity.api.x86.trystack.org

On Mar 12, 2017 7:14 AM, "Rupinder Singh"  wrote:

> Hello.
>
> I'm beginning with jclouds openstack with trystack following getting
> started tutorial
>
> https://jclouds.apache.org/guides/openstack/
>
> My java source is attached. The output is here
>
>
> http://pastebin.com/Up2sDDk2
>
>
> I'd also downloaded RC file from trystack and placed the API access
> password there.
>
> However, the Nova Server app doesn't seem to deploy.
>
> Request help.
>
> Rupinder
>
>
>