You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Mangirish Wagle <va...@gmail.com> on 2016/03/18 18:17:00 UTC

Need help with a 404 error with openstack

Hello JClouds Dev team,

I am working on using JClouds to interact with Openstack (experimental
devstack setup on a remote machine) and its failing with a HTTP 404 error:-

Error log with error and the sample program is attached.

The issue looks related to the discussion in:-
http://www.mail-archive.com/dev@jclouds.apache.org/msg06330.html

However, its not very clear to me how to handle it.

Any help with this will be greatly appreciated.

Thanks,

Regards,
Mangirish Wagle

Re: Need help with a 404 error with openstack

Posted by Andrew Phillips <an...@apache.org>.
> I would be happy contributing to jclouds too and shall let you know if 
> I
> decide to jump in.

Let us know if you have any questions! You can also usually catch us at 
#jclouds on Freenode IRC...

Regards

ap

Re: Need help with a 404 error with openstack

Posted by Mangirish Wagle <va...@gmail.com>.
Thanks for your response Andrew!

Currently I am doing some POC work with jclouds for one of my summer
projects which is going to use openstack cloud. I will check with the cloud
team which API version they are supporting.

I would be happy contributing to jclouds too and shall let you know if I
decide to jump in.

Meanwhile, I may get back with some more questions as and when I hit them.

Thanks for your support.

Regards,
Mangirish

On Thu, Mar 24, 2016 at 6:22 AM, Andrew Phillips <an...@apache.org> wrote:

> Hi Mangirish
>
> I think you're running into this:
>
> https://issues.apache.org/jira/browse/JCLOUDS-112
> https://issues.apache.org/jira/browse/JCLOUDS-114
>
> In short, the Keystone v3 API isn't currently supported in jclouds. If
> you're interested in helping with this, please let us know (see also [1]
> for some discussion). In the meantime, you might want to see if you can
> enable the v2 API in your installation, which should be supported.
>
> Regards
>
> ap
>
> [1]
> https://mail-archives.apache.org/mod_mbox/incubator-jclouds-dev/201505.mbox/%3CA602983357D55840BEDF04F4A2F1F7B573B8BCF7@DEWDFEMB16B.global.corp.sap%3E
>

Re: Need help with a 404 error with openstack

Posted by Andrew Phillips <an...@apache.org>.
Hi Mangirish

I think you're running into this:

https://issues.apache.org/jira/browse/JCLOUDS-112
https://issues.apache.org/jira/browse/JCLOUDS-114

In short, the Keystone v3 API isn't currently supported in jclouds. If 
you're interested in helping with this, please let us know (see also [1] 
for some discussion). In the meantime, you might want to see if you can 
enable the v2 API in your installation, which should be supported.

Regards

ap

[1] 
https://mail-archives.apache.org/mod_mbox/incubator-jclouds-dev/201505.mbox/%3CA602983357D55840BEDF04F4A2F1F7B573B8BCF7@DEWDFEMB16B.global.corp.sap%3E

Re: Need help with a 404 error with openstack

Posted by Mangirish Wagle <va...@gmail.com>.
Hi Andrew,

Thanks for your response!
I am re-sending the java file and the log that I had sent earlier for your
reference.

Any help with this is appreciated!

Thank you.

Regards,
Mangirish Wagle

On Sat, Mar 19, 2016 at 2:26 PM, Andrew Phillips <an...@apache.org> wrote:

> Hi Mangirish
>
> Could you kindly send the code snippet you're using to create your
> context, and the wire and header logs [1] for the authentication calls
> where you are seeing this problem?
>
> Regards
>
> ap
>
> [1] http://jclouds.apache.org/reference/logging/
>
> On 2016-03-18 15:55, Mangirish Wagle wrote:
>
>> Hello,
>>
>> I just realized that the JCloud hits an incorrect URL for openstack:-
>>
>> What JCloud hits:-
>> POST http://<IP>:5000/v3/tokens HTTP/1.1
>>
>> What should it be:-
>> POST http://<IP>:5000/v3/*auth/*tokens HTTP/1.1
>>
>> Reference:-
>> http://developer.openstack.org/api-ref.html
>>
>> Thanks.
>>
>> Regards,
>> Mangirish Wagle
>>
>> On Fri, Mar 18, 2016 at 1:17 PM, Mangirish Wagle <
>> vaglomangirish@gmail.com>
>> wrote:
>>
>> Hello JClouds Dev team,
>>>
>>> I am working on using JClouds to interact with Openstack (experimental
>>> devstack setup on a remote machine) and its failing with a HTTP 404
>>> error:-
>>>
>>> Error log with error and the sample program is attached.
>>>
>>> The issue looks related to the discussion in:-
>>> http://www.mail-archive.com/dev@jclouds.apache.org/msg06330.html
>>>
>>> However, its not very clear to me how to handle it.
>>>
>>> Any help with this will be greatly appreciated.
>>>
>>> Thanks,
>>>
>>> Regards,
>>> Mangirish Wagle
>>>
>>>

Re: Need help with a 404 error with openstack

Posted by Andrew Phillips <an...@apache.org>.
Hi Mangirish

Could you kindly send the code snippet you're using to create your 
context, and the wire and header logs [1] for the authentication calls 
where you are seeing this problem?

Regards

ap

[1] http://jclouds.apache.org/reference/logging/

On 2016-03-18 15:55, Mangirish Wagle wrote:
> Hello,
> 
> I just realized that the JCloud hits an incorrect URL for openstack:-
> 
> What JCloud hits:-
> POST http://<IP>:5000/v3/tokens HTTP/1.1
> 
> What should it be:-
> POST http://<IP>:5000/v3/*auth/*tokens HTTP/1.1
> 
> Reference:-
> http://developer.openstack.org/api-ref.html
> 
> Thanks.
> 
> Regards,
> Mangirish Wagle
> 
> On Fri, Mar 18, 2016 at 1:17 PM, Mangirish Wagle 
> <va...@gmail.com>
> wrote:
> 
>> Hello JClouds Dev team,
>> 
>> I am working on using JClouds to interact with Openstack (experimental
>> devstack setup on a remote machine) and its failing with a HTTP 404 
>> error:-
>> 
>> Error log with error and the sample program is attached.
>> 
>> The issue looks related to the discussion in:-
>> http://www.mail-archive.com/dev@jclouds.apache.org/msg06330.html
>> 
>> However, its not very clear to me how to handle it.
>> 
>> Any help with this will be greatly appreciated.
>> 
>> Thanks,
>> 
>> Regards,
>> Mangirish Wagle
>> 

Re: Need help with a 404 error with openstack

Posted by Mangirish Wagle <va...@gmail.com>.
Hello,

I just realized that the JCloud hits an incorrect URL for openstack:-

What JCloud hits:-
POST http://<IP>:5000/v3/tokens HTTP/1.1

What should it be:-
POST http://<IP>:5000/v3/*auth/*tokens HTTP/1.1

Reference:-
http://developer.openstack.org/api-ref.html

Thanks.

Regards,
Mangirish Wagle

On Fri, Mar 18, 2016 at 1:17 PM, Mangirish Wagle <va...@gmail.com>
wrote:

> Hello JClouds Dev team,
>
> I am working on using JClouds to interact with Openstack (experimental
> devstack setup on a remote machine) and its failing with a HTTP 404 error:-
>
> Error log with error and the sample program is attached.
>
> The issue looks related to the discussion in:-
> http://www.mail-archive.com/dev@jclouds.apache.org/msg06330.html
>
> However, its not very clear to me how to handle it.
>
> Any help with this will be greatly appreciated.
>
> Thanks,
>
> Regards,
> Mangirish Wagle
>