Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Adds missing floating-ip-pool expect test #813

Closed

Conversation

zack-shoylev
Copy link
Contributor

Fixes broken namespace for the ip pool extension

Fixes broken namespace for the ip pool extension
@zack-shoylev zack-shoylev force-pushed the fix-floating-ippool-namespace branch from 07b4598 to cf2f81d Compare July 14, 2015 23:46
@arvindn05
Copy link
Contributor

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)

@zack-shoylev
Copy link
Contributor Author

@zack-shoylev zack-shoylev changed the title Adds missng floating-ip-pool expect test Adds missing floating-ip-pool expect test Jul 15, 2015
@zack-shoylev
Copy link
Contributor Author

merged, backported

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants