Skip to content

Instantly share code, notes, and snippets.

@etoews
Created August 29, 2012 22:07
Show Gist options
  • Save etoews/3519512 to your computer and use it in GitHub Desktop.
Save etoews/3519512 to your computer and use it in GitHub Desktop.
jclouds log
17:00:49,672 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:00:49,676 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:00:49,676 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/ever5257/dev/everett-toews/jclouds/apis/openstack-keystone/target/test-classes/logback.xml]
17:00:49,682 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
17:00:49,682 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/ever5257/dev/everett-toews/jclouds/apis/openstack-keystone/target/test-classes/logback.xml]
17:00:49,682 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/ever5257/dev/everett-toews/jclouds/compute/target/test-classes/logback.xml]
17:00:49,770 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:00:49,775 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:00:49,778 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:00:49,816 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:00:49,868 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
17:00:49,869 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
17:00:49,876 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:00:49,895 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [target/test-data/jclouds.log]
17:00:49,901 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
17:00:49,901 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [WIREFILE]
17:00:49,902 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:00:49,902 |-INFO in ch.qos.logback.core.FileAppender[WIREFILE] - File property is set to [target/test-data/jclouds-wire.log]
17:00:49,911 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
17:00:49,911 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [COMPUTEFILE]
17:00:49,912 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:00:49,912 |-INFO in ch.qos.logback.core.FileAppender[COMPUTEFILE] - File property is set to [target/test-data/jclouds-compute.log]
17:00:49,913 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
17:00:49,913 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [SSHFILE]
17:00:49,914 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:00:49,914 |-INFO in ch.qos.logback.core.FileAppender[SSHFILE] - File property is set to [target/test-data/jclouds-ssh.log]
17:00:49,916 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
17:00:49,916 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.jclouds level set to TRACE
17:00:49,916 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[org.jclouds]
17:00:49,917 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - jclouds.wire level set to TRACE
17:00:49,917 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[jclouds.wire]
17:00:49,917 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - jclouds.headers level set to TRACE
17:00:49,917 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[jclouds.headers]
17:00:49,917 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - jclouds.compute level set to TRACE
17:00:49,917 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[jclouds.compute]
17:00:49,917 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - jclouds.ssh level set to DEBUG
17:00:49,917 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SSHFILE] to Logger[jclouds.ssh]
17:00:49,918 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@12a45435 - Registering current configuration as safe fallback point
- skipping potentially overridden method public abstract org.jclouds.openstack.swift.domain.SwiftObject org.jclouds.openstack.swift.CommonSwiftAsyncClient.newSwiftObject()
- skipping provider method public abstract org.jclouds.openstack.swift.domain.SwiftObject org.jclouds.openstack.swift.CommonSwiftAsyncClient.newSwiftObject()
Calling listContainers...
- Converting CloudFilesAsyncClient.listContainers
- current version of keystone doesn't allow us to validate the apiVersion 1.0
- Converting AuthenticationAsyncClient.authenticate
- looking up default endpoint for {clazz=interface org.jclouds.openstack.keystone.v1_1.AuthenticationAsyncClient, method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.keystone.v1_1.AuthenticationAsyncClient.authenticate(java.lang.String,java.lang.String), args=[xxx, xxx]}
- using default endpoint https://auth.api.rackspacecloud.com for {clazz=interface org.jclouds.openstack.keystone.v1_1.AuthenticationAsyncClient, method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.keystone.v1_1.AuthenticationAsyncClient.authenticate(java.lang.String,java.lang.String), args=[xxx, xxx]}
- Converted AuthenticationAsyncClient.authenticate to POST https://auth.api.rackspacecloud.com/v1.1/auth HTTP/1.1
- Response from AuthenticationAsyncClient.authenticate is parsed by ParseFirstJsonValueNamed
- Invoking AuthenticationAsyncClient.authenticate
- Sending request 773062110: POST https://auth.api.rackspacecloud.com/v1.1/auth HTTP/1.1
- >> "{"credentials":{"username":"xxx","key":"xxx"}}"
- >> POST https://auth.api.rackspacecloud.com/v1.1/auth HTTP/1.1
- >> Accept: application/json
- >> Content-Type: application/json
- >> Content-Length: 83
- Exceptions from AuthenticationAsyncClient.authenticate are parsed by MapHttp4xxCodesToExceptions
- Receiving response 773062110: HTTP/1.1 200 OK
- << HTTP/1.1 200 OK
- << Date: Wed, 29 Aug 2012 22:00:51 GMT
- << Connection: Keep-Alive
- << Server: Apache/2.2.3 (Red Hat)
- << vary: Accept,Accept-Encoding
- << Content-Type: application/json
- << Content-Length: 1896
- << "{"auth":{"token":{"id":"xxx","expires":"2012-08-30T15:34:41.000-05:00"},"serviceCatalog":{"cloudServersOpenStack":[{"region":"DFW","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/717071","v1Default":true},{"region":"ORD","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/717071"}],"cloudDNS":[{"publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/717071","v1Default":true}],"cloudFilesCDN":[{"region":"DFW","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_xxx","v1Default":true},{"region":"ORD","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_xxx"}],"cloudFiles":[{"region":"DFW","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_xxx","v1Default":true,"internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_xxx"},{"region":"ORD","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_xxx","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_xxx"}],"cloudMonitoring":[{"publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/717071","v1Default":true}],"cloudLoadBalancers":[{"region":"ORD","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/717071","v1Default":true},{"region":"DFW","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/717071"}],"cloudDatabases":[{"region":"DFW","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/717071","v1Default":true},{"region":"ORD","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/717071"}],"cloudServers":[{"publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/717071","v1Default":true}]}}}"
auth = org.jclouds.openstack.keystone.v1_1.domain.Auth {token={id=xxx, expires=Thu Aug 30 15:34:41 CDT 2012}, serviceCatalog={cloudServersOpenStack=[{v1Default=true, region=DFW, publicURL=https://dfw.servers.api.rackspacecloud.com/v2/717071, internalURL=null}, {v1Default=false, region=ORD, publicURL=https://ord.servers.api.rackspacecloud.com/v2/717071, internalURL=null}], cloudDNS=[{v1Default=true, region=null, publicURL=https://dns.api.rackspacecloud.com/v1.0/717071, internalURL=null}], cloudFilesCDN=[{v1Default=true, region=DFW, publicURL=https://cdn1.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=null}, {v1Default=false, region=ORD, publicURL=https://cdn2.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=null}], cloudFiles=[{v1Default=true, region=DFW, publicURL=https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_xxx}, {v1Default=false, region=ORD, publicURL=https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx}], cloudMonitoring=[{v1Default=true, region=null, publicURL=https://monitoring.api.rackspacecloud.com/v1.0/717071, internalURL=null}], cloudLoadBalancers=[{v1Default=true, region=ORD, publicURL=https://ord.loadbalancers.api.rackspacecloud.com/v1.0/717071, internalURL=null}, {v1Default=false, region=DFW, publicURL=https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/717071, internalURL=null}], cloudDatabases=[{v1Default=true, region=DFW, publicURL=https://dfw.databases.api.rackspacecloud.com/v1.0/717071, internalURL=null}, {v1Default=false, region=ORD, publicURL=https://ord.databases.api.rackspacecloud.com/v1.0/717071, internalURL=null}], cloudServers=[{v1Default=true, region=null, publicURL=https://servers.api.rackspacecloud.com/v1.0/717071, internalURL=null}]}}
regionIdToEndpoint = {DFW={v1Default=true, region=DFW, publicURL=https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_xxx}, ORD={v1Default=false, region=ORD, publicURL=https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx, internalURL=https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx}}
transformedRegionIdToEndpoint = {DFW=Suppliers.ofInstance(https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_xxx), ORD=Suppliers.ofInstance(https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx)}
endpointToSupplierURI = supplyPublicURL()
- using endpoint https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx for {clazz=interface org.jclouds.openstack.swift.CommonSwiftAsyncClient, method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.swift.CommonSwiftAsyncClient.listContainers(org.jclouds.openstack.swift.options.ListContainerOptions[]), args=[[Lorg.jclouds.openstack.swift.options.ListContainerOptions;@4de514a9]}
- adding filter org.jclouds.openstack.filters.AuthenticateRequest@7794566d from annotation on org.jclouds.cloudfiles.CloudFilesAsyncClient
- Converted CloudFilesAsyncClient.listContainers to GET https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx/?format=json HTTP/1.1
- Response from CloudFilesAsyncClient.listContainers is parsed by ParseJson
- Invoking CloudFilesAsyncClient.listContainers
- Exceptions from CloudFilesAsyncClient.listContainers are parsed by MapHttp4xxCodesToExceptions
- Sending request 57565869: GET https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx/?format=json HTTP/1.1
- >> GET https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_xxx/?format=json HTTP/1.1
- >> Accept: application/json
- >> X-Auth-Token: xxx
- Receiving response 57565869: HTTP/1.1 200 OK
- << HTTP/1.1 200 OK
- << X-Account-Object-Count: 0
- << X-Account-Container-Count: 1
- << Date: Wed, 29 Aug 2012 22:00:52 GMT
- << X-Account-Meta-Temp-Url-Key: aa20049c88138a06fc1930ea846ad305
- << X-Trans-Id: tx4237e6816b27423aa368ff7f568281cf
- << X-Timestamp: 1345124782.09312
- << X-Account-Bytes-Used: 0
- << Accept-Ranges: bytes
- << Connection: keep-alive
- << Content-Type: application/json; charset=utf-8
- << Content-Length: 41
- << "[{"name":"ord-test","count":0,"bytes":0}]"
- config key jclouds.region.DFW.endpoint not present, defaulting to MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier{delegate={endpoint=https://auth.api.rackspacecloud.com}, duration=60, unit=SECONDS}
- config key jclouds.region. ORD.endpoint not present, defaulting to MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier{delegate={endpoint=https://auth.api.rackspacecloud.com}, duration=60, unit=SECONDS}
java.lang.IllegalArgumentException: duplicate key: https://auth.api.rackspacecloud.com
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)
at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235)
at com.google.common.collect.RegularImmutableBiMap.<init>(RegularImmutableBiMap.java:39)
at com.google.common.collect.ImmutableBiMap.copyOf(ImmutableBiMap.java:207)
at org.jclouds.suppliers.SupplyKeyMatchingValueOrNull.get(SupplyKeyMatchingValueOrNull.java:57)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:91)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:1)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:140)
at org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstRegionOptionallyMatchingRegionId.get(OnlyLocationOrFirstRegionOptionallyMatchingRegionId.java:64)
at org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstRegionOptionallyMatchingRegionId.get(OnlyLocationOrFirstRegionOptionallyMatchingRegionId.java:1)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:91)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:1)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:140)
at org.jclouds.openstack.swift.blobstore.functions.ContainerToResourceMetadata.apply(ContainerToResourceMetadata.java:49)
at org.jclouds.openstack.swift.blobstore.functions.ContainerToResourceMetadata.apply(ContainerToResourceMetadata.java:1)
at com.google.common.collect.Iterators$9.transform(Iterators.java:893)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at com.google.common.collect.Iterators.addAll(Iterators.java:418)
at com.google.common.collect.Iterables.addAll(Iterables.java:334)
at org.jclouds.blobstore.domain.internal.PageSetImpl.<init>(PageSetImpl.java:35)
at org.jclouds.openstack.swift.blobstore.SwiftBlobStore$1.apply(SwiftBlobStore.java:106)
at org.jclouds.openstack.swift.blobstore.SwiftBlobStore.list(SwiftBlobStore.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
at $Proxy73.list(Unknown Source)
at com.rackspace.JCloudsStorageApp.listContainers(JCloudsStorageApp.java:112)
at com.rackspace.JCloudsStorageApp.main(JCloudsStorageApp.java:53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment