You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Ken <ru...@gmail.com> on 2016/11/05 16:34:03 UTC

Fwd: Delivery Status Notification (Failure)

---------- Forwarded message ----------
From: Mail Delivery Subsystem <ma...@google.com>
Date: Sat, Nov 5, 2016 at 5:14 PM
Subject: Delivery Status Notification (Failure)
To: run2obtain@gmail.com


Hello run2obtain@gmail.com,

We're writing to let you know that the group you tried to contact
(jclouds-dev) may not exist, or you may not have permission to post
messages to the group. A few more details on why you weren't able to post:

 * You might have spelled or formatted the group name incorrectly.
 * The owner of the group may have removed this group.
 * You may need to join the group before receiving permission to post.
 * This group may not be open to posting.

If you have questions related to this or any other Google Group, visit the
Help Center at https://groups.google.com/support/.

Thanks,

Google Groups



----- Original message -----

X-Received: by 10.28.157.213 with SMTP id g204mr244524wme.21.1478362484427;
        Sat, 05 Nov 2016 09:14:44 -0700 (PDT)
Return-Path: <ru...@gmail.com>
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com.
[2a00:1450:4010:c07::22d])
        by gmr-mx.google.com with ESMTPS id y7si194832wme.0.2016.11.05.09.
14.44
        for <jc...@googlegroups.com>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 05 Nov 2016 09:14:44 -0700 (PDT)
Received-SPF: pass (google.com: domain of run2obtain@gmail.com designates
2a00:1450:4010:c07::22d as permitted sender) client-ip=2a00:1450:4010:c07::
22d;
Authentication-Results: gmr-mx.google.com;
       dkim=pass header.i=@gmail.com;
       spf=pass (google.com: domain of run2obtain@gmail.com designates
2a00:1450:4010:c07::22d as permitted sender) smtp.mailfrom=run2obtain@
gmail.com;
       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Received: by mail-lf0-x22d.google.com with SMTP id o141so12813704lff.1
        for <jc...@googlegroups.com>; Sat, 05 Nov 2016 09:14:44 -0700
(PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:from:date:message-id:subject:to;
        bh=janoJdSe/cACZQGSUidIGojVMqVMOu6iQqOm/b9ahKY=;
        b=hsCry6gb5P/3t+EONSDqzCs0XOC39o0pOG+3VF6jGH5XiCbtFEsLMHrxDzsAdF5Wvu
         YKR7F7Z+wJUC/rkY0Vt+YxX/PiGQhI1SuBZm9oaYX0qv13pSKZLj6q
BuWPJhuEQZP7V6
         2w4mUuXQvj9s88QOvY32hjN9YXPm+e/jEgVKvULx0lZDPuRGLQDb0ZbLXqvlf
Do8t7Gx
         GEDQOvPdqi8UXK4gOgYf5Z2xBZk7KI5UXWwHhRS+
Z0qceCFmfEqZO3RCtpmOQRuMAtvI
         lO4G9vtNTg87YLqJDexH83TfjRYCC0jXRraYvCkpQWIDJ5MlEgMglYxZGaAS
5EofE4dc
         sihQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=janoJdSe/cACZQGSUidIGojVMqVMOu6iQqOm/b9ahKY=;
        b=YSweR2FdXMEP4ux93S6RSAaariccvru3kAgvxEz62rHP9M/p4sBFO2BwezPVtSeuPo
         Lq917UzvO5AZpjy1QJIhX3NGqMiEvBk2AH2e3cilWet88116TpkJaO99xt39
8gr5r8LU
         SbNDhm/oPmdpsXEoRufzYen2sYjdNhbkugjAAKy4+fl/I+drb9HCSm63+
U4V2nr7fcuW
         5krWhKsBdE69y2g81AtufKo4d7WJFqoW3BVPrEiEPoEDq+QHae+
uh0NbhFsUHs+6qFlM
         LeWMF75xuAZl5J3/J2lpBF/NLJAlPuRwOzC3Tk57Us55CJajtPRrS
trZxEm0GcM1rTxQ
         uEFA==
X-Gm-Message-State: ABUngvfRYCPqbKTotZzkLqphBB3GF+
cqNK2L6n9wOnLzNWJh4I8Q5UVtsLJaqjx84ythZY7wwdLaS5cj35Clmg==
X-Received: by 10.25.39.13 with SMTP id n13mr10103095lfn.34.1478362483560;
 Sat, 05 Nov 2016 09:14:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.160.20 with HTTP; Sat, 5 Nov 2016 09:14:43 -0700 (PDT)
From: Ken <ru...@gmail.com>
Date: Sat, 5 Nov 2016 17:14:43 +0100
Message-ID: <CAGeQc9DzfGZ19zBP6E+myJxfT+WvSk+PBDf3Mp6ZZp8ZmFUuSw@mail.
gmail.com>
Subject: JClouds Swift Connection Issue
To: jclouds-dev@googlegroups.com
Content-Type: multipart/alternative; boundary=001a11403cc4ae9604054090164a

Hi everyone,

 I have tried to resolve this error since yesterday without any progress.
The scenario  ; I have an OpenStack cloud running behind a firewall. I have
configured
port forwarding and I can ssh into the VM.

I want to use Jcloud swift and nova, the connection always time outs after
successfully authenticating...

" Create Container
17:04:59.927 [main] DEBUG o.j.rest.internal.InvokeHttpMethod - >> invoking
AuthenticationApi.authenticateWithTenantNameAndCredentials
17:04:59.930 [main] DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService -
Sending request -522644011: POST
http://seclab.hpi.uni-potsdam.de:50034/v2.0/tokens HTTP/1.1
17:04:59.930 [main] DEBUG jclouds.wire - >> "Sensitive data in payload, use
PROPERTY_LOGGER_WIRE_LOG_SENSITIVE_INFO override to enable logging this
data."
17:04:59.930 [main] DEBUG jclouds.headers - >> POST
http://seclab.hpi.uni-potsdam.de:50034/v2.0/tokens HTTP/1.1
17:04:59.930 [main] DEBUG jclouds.headers - >> Accept: application/json
17:04:59.930 [main] DEBUG jclouds.headers - >> Content-Type:
application/json
17:04:59.930 [main] DEBUG jclouds.headers - >> Content-Length: 93
17:05:00.108 [main] DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService -
Receiving response -522644011: HTTP/1.1 200 OK
17:05:00.108 [main] DEBUG jclouds.headers - << HTTP/1.1 200 OK
17:05:00.108 [main] DEBUG jclouds.headers - << Keep-Alive: timeout=5,
max=100
17:05:00.109 [main] DEBUG jclouds.headers - << Server: Apache/2.4.7 (Ubuntu)
17:05:00.109 [main] DEBUG jclouds.headers - << Connection: Keep-Alive
17:05:00.109 [main] DEBUG jclouds.headers - << x-openstack-request-id:
req-e9eba153-3fd2-45d0-ba17-1003596986bc
17:05:00.109 [main] DEBUG jclouds.headers - << Vary: X-Auth-Token
17:05:00.109 [main] DEBUG jclouds.headers - << Date: Sat, 05 Nov 2016
16:04:18 GMT
17:05:00.109 [main] DEBUG jclouds.headers - << Content-Type:
application/json
17:05:00.109 [main] DEBUG jclouds.headers - << Content-Length: 3518
17:05:00.112 [main] DEBUG jclouds.wire - << "{"access": {"token":

----- Message truncated -----

Re: Fwd: Delivery Status Notification (Failure)

Posted by Ken <ru...@gmail.com>.
No worries, thanks for the heads up!

...Ken

On Mon, Nov 7, 2016, 14:37 Andrew Phillips <ap...@qrmedia.com> wrote:

> Hi Ken
>
> > I haven't made a break through on this yet. Any pointers will be very
> > useful.
>
> Thanks for the ping - sorry to hear things are still not working. I hope
> someone on this list with more knowledge of the Openstack provider will
> be able to help; I just wanted to point out that there may be a bit of a
> delay at present as the release of jclouds 2.0 is currently in progress.
>
> Thanks for your patience!
>
> ap
>

Re: Fwd: Delivery Status Notification (Failure)

Posted by Andrew Phillips <ap...@qrmedia.com>.
Hi Ken

> I haven't made a break through on this yet. Any pointers will be very
> useful.

Thanks for the ping - sorry to hear things are still not working. I hope 
someone on this list with more knowledge of the Openstack provider will 
be able to help; I just wanted to point out that there may be a bit of a 
delay at present as the release of jclouds 2.0 is currently in progress.

Thanks for your patience!

ap

Re: Fwd: Delivery Status Notification (Failure)

Posted by Ken <ru...@gmail.com>.
Hi,

I haven't made a break through on this yet. Any pointers will be very
useful.
Thanks.


Regards
Kennedy

On Sat, Nov 5, 2016, 17:47 Ken <ru...@gmail.com> wrote:

> Hi Andrew,
>
> Thanks, sorry for the longer message before.
> Here is a short code example, directly taken from the examples here.
> <https://jclouds.apache.org/guides/openstack/>
>
> .....
>
>    public Swifter() {
>       Iterable<Module> modules = ImmutableSet.<Module>of(
>             new SLF4JLoggingModule());
>
>       String provider = "openstack-swift";
>       String identity = "xx:xx";
>       String credential = "xxxx";
>
>       swiftApi = ContextBuilder.newBuilder(provider)
>             .endpoint("http://xx.xx.xx:50034/v2.0")
>             .credentials(identity, credential)
>             .modules(modules)
>             .buildApi(SwiftApi.class);
>    }
>
>    private void createContainer() {
>       System.out.println("Create Container");
>
>       ContainerApi containerApi = swiftApi.getContainerApi("RegionOne");
>       CreateContainerOptions options = CreateContainerOptions.Builder
>             .metadata(ImmutableMap.of(
>                   "key1", "value1",
>                   "key2", "value2"));
>
>       containerApi.create(CONTAINER_NAME, options);
>
>       System.out.println("  " + CONTAINER_NAME);
>    }
>
>    private void uploadObjectFromString() {
>       System.out.println("Upload Object From String");
>
>       ObjectApi objectApi = swiftApi.getObjectApi("RegionOne",
> CONTAINER_NAME);
>       Payload payload = newByteSourcePayload(wrap("Hello
> World".getBytes()));
>
>       objectApi.put(OBJECT_NAME, payload,
> PutOptions.Builder.metadata(ImmutableMap.of("key1", "value1")));
>
>       System.out.println("  " + OBJECT_NAME);
>    }
>
>
> }
>
>
> On Sat, Nov 5, 2016 at 5:39 PM, Andrew Phillips <ap...@qrmedia.com>
> wrote:
>
> Hi Ken
>
> I want to use Jcloud swift and nova, the connection always time outs
> after
> successfully authenticating...
>
>
> Could you provide a short code sample (with passwords etc. obfuscated) to
> help us understand how the connection is configured?
>
> Regards
>
> ap
>
>
>

Re: Fwd: Delivery Status Notification (Failure)

Posted by Ken <ru...@gmail.com>.
Hi Andrew,

Thanks, sorry for the longer message before.
Here is a short code example, directly taken from the examples here.
<https://jclouds.apache.org/guides/openstack/>

.....
>
>    public Swifter() {
>       Iterable<Module> modules = ImmutableSet.<Module>of(
>             new SLF4JLoggingModule());
>
>       String provider = "openstack-swift";
>       String identity = "xx:xx";
>       String credential = "xxxx";
>
>       swiftApi = ContextBuilder.newBuilder(provider)
>             .endpoint("http://xx.xx.xx:50034/v2.0")
>             .credentials(identity, credential)
>             .modules(modules)
>             .buildApi(SwiftApi.class);
>    }
>
>    private void createContainer() {
>       System.out.println("Create Container");
>
>       ContainerApi containerApi = swiftApi.getContainerApi("RegionOne");
>       CreateContainerOptions options = CreateContainerOptions.Builder
>             .metadata(ImmutableMap.of(
>                   "key1", "value1",
>                   "key2", "value2"));
>
>       containerApi.create(CONTAINER_NAME, options);
>
>       System.out.println("  " + CONTAINER_NAME);
>    }
>
>    private void uploadObjectFromString() {
>       System.out.println("Upload Object From String");
>
>       ObjectApi objectApi = swiftApi.getObjectApi("RegionOne",
> CONTAINER_NAME);
>       Payload payload = newByteSourcePayload(wrap("Hello
> World".getBytes()));
>
>       objectApi.put(OBJECT_NAME, payload,
> PutOptions.Builder.metadata(ImmutableMap.of("key1", "value1")));
>
>       System.out.println("  " + OBJECT_NAME);
>    }
>
>
> }
>

On Sat, Nov 5, 2016 at 5:39 PM, Andrew Phillips <ap...@qrmedia.com>
wrote:

> Hi Ken
>
> I want to use Jcloud swift and nova, the connection always time outs
>> after
>> successfully authenticating...
>>
>
> Could you provide a short code sample (with passwords etc. obfuscated) to
> help us understand how the connection is configured?
>
> Regards
>
> ap
>

Re: Fwd: Delivery Status Notification (Failure)

Posted by Andrew Phillips <ap...@qrmedia.com>.
Hi Ken

> I want to use Jcloud swift and nova, the connection always time outs
> after
> successfully authenticating...

Could you provide a short code sample (with passwords etc. obfuscated) 
to help us understand how the connection is configured?

Regards

ap