You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Zack Shoylev <no...@github.com> on 2015/07/15 01:44:43 UTC
[jclouds] Adds missng floating-ip-pool expect test (#813)
Fixes broken namespace for the ip pool extension
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds/pull/813
-- Commit Summary --
* Adds missng floating-ip-pool expect test
-- File Changes --
M apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/ExtensionNamespaces.java (2)
A apis/openstack-nova/src/test/java/org/jclouds/openstack/nova/v2_0/extensions/FloatingIPPoolApiExpectTest.java (95)
-- Patch Links --
https://github.com/jclouds/jclouds/pull/813.patch
https://github.com/jclouds/jclouds/pull/813.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/813
Re: [jclouds] Adds missing floating-ip-pool expect test (#813)
Posted by Zack Shoylev <no...@github.com>.
merged, backported
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/813#issuecomment-121434718
Re: [jclouds] Adds missng floating-ip-pool expect test (#813)
Posted by arvindn05 <no...@github.com>.
Adding the wire logs
16:37:00.948 [http-bio-443-exec-2] DEBUG o.j.rest.internal.InvokeHttpMethod - >> invoking extension:list
16:37:00.948 [http-bio-443-exec-2] DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService - Sending request 183650828: GET http://X.X.X.X:8774/v2/76f28b5c3fd64ae8a3e95034b5c296e5/extensions HTTP/1.1
16:37:00.948 [http-bio-443-exec-2] DEBUG jclouds.headers - >> GET http://X.X.X.X:8774/v2/76f28b5c3fd64ae8a3e95034b5c296e5/extensions HTTP/1.1
16:37:00.949 [http-bio-443-exec-2] DEBUG jclouds.headers - >> Accept: application/json
16:37:00.949 [http-bio-443-exec-2] DEBUG jclouds.headers - >> X-Auth-Token: ee3a34f3fe4d494eb4ed9b6750da7ecc
16:37:00.984 [http-bio-443-exec-2] DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService - Receiving response 183650828: HTTP/1.1 200 OK
16:37:00.984 [http-bio-443-exec-2] DEBUG jclouds.headers - << HTTP/1.1 200 OK
16:37:00.984 [http-bio-443-exec-2] DEBUG jclouds.headers - << Date: Tue, 14 Jul 2015 23:36:58 GMT
16:37:00.984 [http-bio-443-exec-2] DEBUG jclouds.headers - << Connection: keep-alive
16:37:00.984 [http-bio-443-exec-2] DEBUG jclouds.headers - << X-Compute-Request-Id: req-cf4a233f-ebd1-43b3-938b-a1e04f6ef40e
16:37:00.985 [http-bio-443-exec-2] DEBUG jclouds.headers - << Content-Type: application/json
16:37:00.985 [http-bio-443-exec-2] DEBUG jclouds.headers - << Content-Length: 22028
16:37:00.985 [http-bio-443-exec-2] DEBUG jclouds.wire - << "{
"extensions": [
..................
{
"updated": "2012-01-04T00:00:00Z",
"name": "FloatingIpPools",
"links": [],
"namespace": "http://docs.openstack.org/compute/ext/floating_ip_pools/api/v1.1",
"alias": "os-floating-ip-pools",
"description": "Floating IPs support."
},
{
"updated": "2011-06-16T00:00:00Z",
"name": "FloatingIps",
"links": [],
"namespace": "http://docs.openstack.org/compute/ext/floating_ips/api/v1.1",
"alias": "os-floating-ips",
"description": "Floating IPs support."
},
{
"updated": "2012-10-29T19:25:27Z",
"name": "FloatingIpsBulk",
"links": [],
"namespace": "http://docs.openstack.org/compute/ext/floating_ips_bulk/api/v2",
"alias": "os-floating-ips-bulk",
"description": "Bulk handling of Floating IPs."
}
................................
]
}"
2015-07-14 16:37:01,015 [ERROR| http-bio-443-exec-2| ServiceDispatcher]: Service request failed (unexpectedly): Optional.get() cannot be called on an absent value
java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
at com.google.common.base.Absent.get(Absent.java:47)
at com.broker.rest.client.openstack.jcloud.JCloudNova.getFloatingIpPools(JCloudNova.java:86)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/813#issuecomment-121431256
Re: [jclouds] Adds missng floating-ip-pool expect test (#813)
Posted by Zack Shoylev <no...@github.com>.
Also note https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/floating_ip_pools.py
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/813#issuecomment-121431532
Re: [jclouds] Adds missing floating-ip-pool expect test (#813)
Posted by Zack Shoylev <no...@github.com>.
Closed #813.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/813#event-355952792