jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandr Porunov <alexandr.poru...@gmail.com>
Subject Re: How to use jclouds with OpenStack Swift?
Date Wed, 14 Sep 2016 17:48:50 GMT
Hello Andrew,

Now I cannot call that method because I cannot connect to OpenStack Swift
itself. I always get next error:

Here is my proxy configs:
use = egg:swift#tempauth
user_admin_admin = admin .admin .reseller_admin
user_test_tester = testing .admin
user_test2_tester2 = testing2 .admin
user_test_tester3 = testing3

Here is my code:
SwiftApi swiftApi = ContextBuilder.newBuilder("openstack-swift")
                .credentials("admin:admin", "admin")

Can you help me please?


On Wed, Sep 14, 2016 at 7:21 PM, Andrew Phillips <andrewp@apache.org> wrote:

> What is "RegionOne" ? First of all if we talk about regions in Swift
>> then it can't be a String. It is Integer value. That is why I can't
>> understand what is "RegionOne" and how to create a simple container
>> with SwiftApi.
> Could you call "getConfiguredRegions" on your API instance to see which
> regions are available?
> https://jclouds.apache.org/reference/javadoc/1.9.x/org/jclou
> ds/openstack/swift/v1/SwiftApi.html#getConfiguredRegions()
> Regards
> ap

View raw message