jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shital Patil <shital.pa...@gslab.com>
Subject Re: Problem connecting to openstack
Date Tue, 04 Feb 2014 03:23:53 GMT
Hi ,

I want to clarify few things-

1-I am given an account on openstack but no admin access,
2-Other users have been successfully accessing openstack through curl as
well as  through python library urllib2
3-I can do many things from openstack dashboard ex. launching
instances,listing images etc.
4- I am able to access openstack using curl

I tried doing simple authentication using code over here
http://blog.phymata.com/2013/06/17/jclouds-manual-authentication-with-openstack/
and it threw same exception. This means authentication itself fails in
first place so other operations are just beyond it and hence bound to fail.

I have noticed that json object sent to openstack through java code using
jclouds for authentication is same as one sent using curl. Am I missing
some jars? or should I try any newer build of examples?

Kindly suggest what can be done in this case

Thank you


On Mon, Feb 3, 2014 at 12:25 PM, Jayant Kaushal <awaken.rogue@gmail.com>wrote:

> additionally in was working with jclouds neutron api's.
> still have not figured out how to fetch Neutron APi from context. went
> through the examples. did not find what i was looking for.
> i am using jclouds 1.7.1
>
> can u please help.
>
>
>
> Jayant
>  Get a signature like this:
> <http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D43%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_43&sn=YXdha2VuLnJvZ3VlQGdtYWlsLmNvbQ%3D%3D>
Grab
> yours!<http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D43%26amp%3Bdest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_43&sn=YXdha2VuLnJvZ3VlQGdtYWlsLmNvbQ%3D%3D>
>
> Regards
> Jayant Kaushal
>
>
>
> On Thu, Jan 30, 2014 at 6:53 PM, Andrew Phillips <andrewp@apache.org>wrote:
>
>> Hi Shital
>>
>>  String provider = "openstack-nova";
>>> String identity = "shital.patil"; // tenantName:userName
>>>
>>
>> This looks like *just* the username? Do you know your tenant name? If by
>> some chance "shital" is your tenant name and "patil" is your user name,
>> then it should by "shital:patil"...
>>
>> By the looks of your code, you've already been following the OpenStack
>> quick start guide, but if not, it might also help:
>>
>> http://jclouds.apache.org/documentation/quickstart/openstack/
>>
>> Regards
>>
>> ap
>>
>
>

Mime
View raw message