RE: Unable to access OpenStack Neutron's FloatingIPApi

2016-02-08 Thread Gozman, Oleksandr
Hallo,
this is a known problem with the Openstack Liberty. Jclouds API were not yet 
updated to work with Openstack Liberty. Because of the changes made to 
different parameters, like deleting parameter namespace, API does not work 
properly with Liberty version yet. 

Cheers,
Alex

From: Jens Offenbach [wolle5...@gmx.de]
Sent: Monday, February 08, 2016 2:33 PM
To: user@jclouds.apache.org
Subject: Unable to access OpenStack Neutron's FloatingIPApi

Hi,
we have an OpenStack HA Liberty deployment and cannot access the FloatingIPApi 
of Neutron. We always get a NullPointer indicating that the namespace is null. 
I think there is a mismatch between our extension list and the JClouds API. I 
have attached our extension list below. I cannot find any namespace declaration 
in the JSON descpription.
Has anybody an idea, how to get JClouds Neutron API working with this extension 
list?

{
"extensions": [{
"alias": "qos",
"updated": "2015-06-08T10:00:00-00:00",
"name": "qos",
"links": [],
"description": "The Quality of Service extension."
},
{
"alias": "dns-integration",
"updated": "2015-08-15T18:00:00-00:00",
"name": "DNS Integration",
"links": [],
"description": "Provides integration with internal DNS."
},
{
"alias": "ext-gw-mode",
"updated": "2013-03-28T10:00:00-00:00",
"name": "Neutron L3 Configurable external gateway mode",
"links": [],
"description": "Extension of the router abstraction for specifying 
whether SNAT should occur on the external gateway"
},
{
"alias": "binding",
"updated": "2014-02-03T10:00:00-00:00",
"name": "Port Binding",
"links": [],
"description": "Expose port bindings of a virtual port to external 
application"
},
{
"alias": "metering",
"updated": "2013-06-12T10:00:00-00:00",
"name": "Neutron Metering",
"links": [],
"description": "Neutron Metering extension."
},
{
"alias": "agent",
"updated": "2013-02-03T10:00:00-00:00",
"name": "agent",
"links": [],
"description": "The agent management extension."
},
{
"alias": "subnet_allocation",
"updated": "2015-03-30T10:00:00-00:00",
"name": "Subnet Allocation",
"links": [],
"description": "Enables allocation of subnets from a subnet pool"
},
{
"alias": "l3_agent_scheduler",
"updated": "2013-02-07T10:00:00-00:00",
"name": "L3 Agent Scheduler",
"links": [],
"description": "Schedule routers among l3 agents"
},
{
"alias": "external-net",
"updated": "2013-01-14T10:00:00-00:00",
"name": "Neutron external network",
"links": [],
"description": "Adds external network attribute to network resource."
},
{
"alias": "flavors",
"updated": "2014-07-06T10:00:00-00:00",
"name": "Neutron Service Flavors",
"links": [],
"description": "Service specification for advanced services"
},
{
"alias": "fwaasrouterinsertion",
"updated": "2015-01-27T10:00:00-00:00",
"name": "Firewall Router insertion",
"links": [],
"description": "Firewall Router insertion on specified set of routers"
},
{
"alias": "net-mtu",
"updated": "2015-03-25T10:00:00-00:00",
"name": "Network MTU",
"links": [],
"description": "Provides MTU attribute for a network resource."
},
{
"alias": "quotas",
"updated": "2012-07-29T10:00:00-00:00",
"name": "Quota management support",
"links": [],
"description": "E

RE: Unable to access OpenStack Neutron's FloatingIPApi

2016-02-08 Thread Gozman, Oleksandr
Hallo,
this is a known problem with the Openstack Liberty. Jclouds API were not yet 
updated to work with Openstack Liberty. Because of the changes made to 
different parameters, like deleting parameter namespace, API does not work 
properly with Liberty version yet. 

Cheers,
Alex

From: Jens Offenbach [wolle5...@gmx.de]
Sent: Monday, February 08, 2016 2:33 PM
To: user@jclouds.apache.org
Subject: Unable to access OpenStack Neutron's FloatingIPApi

Hi,
we have an OpenStack HA Liberty deployment and cannot access the FloatingIPApi 
of Neutron. We always get a NullPointer indicating that the namespace is null. 
I think there is a mismatch between our extension list and the JClouds API. I 
have attached our extension list below. I cannot find any namespace declaration 
in the JSON descpription.
Has anybody an idea, how to get JClouds Neutron API working with this extension 
list?

{
"extensions": [{
"alias": "qos",
"updated": "2015-06-08T10:00:00-00:00",
"name": "qos",
"links": [],
"description": "The Quality of Service extension."
},
{
"alias": "dns-integration",
"updated": "2015-08-15T18:00:00-00:00",
"name": "DNS Integration",
"links": [],
"description": "Provides integration with internal DNS."
},
{
"alias": "ext-gw-mode",
"updated": "2013-03-28T10:00:00-00:00",
"name": "Neutron L3 Configurable external gateway mode",
"links": [],
"description": "Extension of the router abstraction for specifying 
whether SNAT should occur on the external gateway"
},
{
"alias": "binding",
"updated": "2014-02-03T10:00:00-00:00",
"name": "Port Binding",
"links": [],
"description": "Expose port bindings of a virtual port to external 
application"
},
{
"alias": "metering",
"updated": "2013-06-12T10:00:00-00:00",
"name": "Neutron Metering",
"links": [],
"description": "Neutron Metering extension."
},
{
"alias": "agent",
"updated": "2013-02-03T10:00:00-00:00",
"name": "agent",
"links": [],
"description": "The agent management extension."
},
{
"alias": "subnet_allocation",
"updated": "2015-03-30T10:00:00-00:00",
"name": "Subnet Allocation",
"links": [],
"description": "Enables allocation of subnets from a subnet pool"
},
{
"alias": "l3_agent_scheduler",
"updated": "2013-02-07T10:00:00-00:00",
"name": "L3 Agent Scheduler",
"links": [],
"description": "Schedule routers among l3 agents"
},
{
"alias": "external-net",
"updated": "2013-01-14T10:00:00-00:00",
"name": "Neutron external network",
"links": [],
"description": "Adds external network attribute to network resource."
},
{
"alias": "flavors",
"updated": "2014-07-06T10:00:00-00:00",
"name": "Neutron Service Flavors",
"links": [],
"description": "Service specification for advanced services"
},
{
"alias": "fwaasrouterinsertion",
"updated": "2015-01-27T10:00:00-00:00",
"name": "Firewall Router insertion",
"links": [],
"description": "Firewall Router insertion on specified set of routers"
},
{
"alias": "net-mtu",
"updated": "2015-03-25T10:00:00-00:00",
"name": "Network MTU",
"links": [],
"description": "Provides MTU attribute for a network resource."
},
{
"alias": "quotas",
"updated": "2012-07-29T10:00:00-00:00",
"name": "Quota management support",
"links": [],
"description": "E

Unable to access OpenStack Neutron's FloatingIPApi

2016-02-08 Thread Jens Offenbach


Hi,
we have an OpenStack HA Liberty deployment and cannot access the FloatingIPApi 
of Neutron. We always get a NullPointer indicating that the namespace is null. 
I think there is a mismatch between our extension list and the JClouds API. I 
have attached our extension list below. I cannot find any namespace declaration 
in the JSON descpription.
Has anybody an idea, how to get JClouds Neutron API working with this extension 
list?

{
    "extensions": [{
        "alias": "qos",
        "updated": "2015-06-08T10:00:00-00:00",
        "name": "qos",
        "links": [],
        "description": "The Quality of Service extension."
    },
    {
        "alias": "dns-integration",
        "updated": "2015-08-15T18:00:00-00:00",
        "name": "DNS Integration",
        "links": [],
        "description": "Provides integration with internal DNS."
    },
    {
        "alias": "ext-gw-mode",
        "updated": "2013-03-28T10:00:00-00:00",
        "name": "Neutron L3 Configurable external gateway mode",
        "links": [],
        "description": "Extension of the router abstraction for specifying 
whether SNAT should occur on the external gateway"
    },
    {
        "alias": "binding",
        "updated": "2014-02-03T10:00:00-00:00",
        "name": "Port Binding",
        "links": [],
        "description": "Expose port bindings of a virtual port to external 
application"
    },
    {
        "alias": "metering",
        "updated": "2013-06-12T10:00:00-00:00",
        "name": "Neutron Metering",
        "links": [],
        "description": "Neutron Metering extension."
    },
    {
        "alias": "agent",
        "updated": "2013-02-03T10:00:00-00:00",
        "name": "agent",
        "links": [],
        "description": "The agent management extension."
    },
    {
        "alias": "subnet_allocation",
        "updated": "2015-03-30T10:00:00-00:00",
        "name": "Subnet Allocation",
        "links": [],
        "description": "Enables allocation of subnets from a subnet pool"
    },
    {
        "alias": "l3_agent_scheduler",
        "updated": "2013-02-07T10:00:00-00:00",
        "name": "L3 Agent Scheduler",
        "links": [],
        "description": "Schedule routers among l3 agents"
    },
    {
        "alias": "external-net",
        "updated": "2013-01-14T10:00:00-00:00",
        "name": "Neutron external network",
        "links": [],
        "description": "Adds external network attribute to network resource."
    },
    {
        "alias": "flavors",
        "updated": "2014-07-06T10:00:00-00:00",
        "name": "Neutron Service Flavors",
        "links": [],
        "description": "Service specification for advanced services"
    },
    {
        "alias": "fwaasrouterinsertion",
        "updated": "2015-01-27T10:00:00-00:00",
        "name": "Firewall Router insertion",
        "links": [],
        "description": "Firewall Router insertion on specified set of routers"
    },
    {
        "alias": "net-mtu",
        "updated": "2015-03-25T10:00:00-00:00",
        "name": "Network MTU",
        "links": [],
        "description": "Provides MTU attribute for a network resource."
    },
    {
        "alias": "quotas",
        "updated": "2012-07-29T10:00:00-00:00",
        "name": "Quota management support",
        "links": [],
        "description": "Expose functions for quotas management per tenant"
    },
    {
        "alias": "l3-ha",
        "updated": "2014-04-26T00:00:00-00:00",
        "name": "HA Router extension",
        "links": [],
        "description": "Add HA capability to routers."
    },
    {
        "alias": "provider",
        "updated": "2012-09-07T10:00:00-00:00",
        "name": "Provider Network",
        "links": [],
        "description": "Expose mapping of virtual networks to physical networks"
    },
    {
        "alias": "multi-provider",
        "updated": "2013-06-27T10:00:00-00:00",
        "name": "Multi Provider Network",
        "links": [],
        "description": "Expose mapping of virtual networks to multiple physical 
networks"
    },
    {
        "alias": "extraroute",
        "updated": "2013-02-01T10:00:00-00:00",
        "name": "Neutron Extra Route",
        "links": [],
        "description": "Extra routes configuration for L3 router"
    },
    {
        "alias": "fwaas",
        "updated": "2013-02-25T10:00:00-00:00",
        "name": "Firewall service",
        "links": [],
        "description": "Extension for Firewall service"
    },
    {
        "alias": "router",
        "updated": "2012-07-20T10:00:00-00:00",
        "name": "Neutron L3 Router",
        "links": [],
        "description": "Router abstraction for basic L3 forwarding between L2 
Neutron networks and access to external networks via a NAT gateway."
    },
    {
        "alias": "extra_dhcp_opt",
        "updated": "2013-03-17T12:00:00-00:00",
        "name": "Neutron Extra DHCP opts",
        "links": [],
        "description": "Extra options configuration for DHCP. For 

Re: Unable to access OpenStack Neutron's FloatingIPApi

2016-02-08 Thread Zack Shoylev
I added some more info to help the extension API here:

https://github.com/jclouds/jclouds-labs-openstack/pull/202

We already use name to resolve automatically, so as long as it matches the 
openstack default, it should work for detection (with this PR).

-Zack


From: Gozman, Oleksandr <oleksandr.goz...@fokus.fraunhofer.de>
Sent: Monday, February 8, 2016 7:48 AM
To: user@jclouds.apache.org
Cc: wolle5...@gmx.de
Subject: RE: Unable to access OpenStack Neutron's FloatingIPApi

Hallo,
this is a known problem with the Openstack Liberty. Jclouds API were not yet 
updated to work with Openstack Liberty. Because of the changes made to 
different parameters, like deleting parameter namespace, API does not work 
properly with Liberty version yet.

Cheers,
Alex

From: Jens Offenbach [wolle5...@gmx.de]
Sent: Monday, February 08, 2016 2:33 PM
To: user@jclouds.apache.org
Subject: Unable to access OpenStack Neutron's FloatingIPApi

Hi,
we have an OpenStack HA Liberty deployment and cannot access the FloatingIPApi 
of Neutron. We always get a NullPointer indicating that the namespace is null. 
I think there is a mismatch between our extension list and the JClouds API. I 
have attached our extension list below. I cannot find any namespace declaration 
in the JSON descpription.
Has anybody an idea, how to get JClouds Neutron API working with this extension 
list?

{
"extensions": [{
"alias": "qos",
"updated": "2015-06-08T10:00:00-00:00",
"name": "qos",
"links": [],
"description": "The Quality of Service extension."
},
{
"alias": "dns-integration",
"updated": "2015-08-15T18:00:00-00:00",
"name": "DNS Integration",
"links": [],
"description": "Provides integration with internal DNS."
},
{
"alias": "ext-gw-mode",
"updated": "2013-03-28T10:00:00-00:00",
"name": "Neutron L3 Configurable external gateway mode",
"links": [],
"description": "Extension of the router abstraction for specifying 
whether SNAT should occur on the external gateway"
},
{
"alias": "binding",
"updated": "2014-02-03T10:00:00-00:00",
"name": "Port Binding",
"links": [],
"description": "Expose port bindings of a virtual port to external 
application"
},
{
"alias": "metering",
"updated": "2013-06-12T10:00:00-00:00",
"name": "Neutron Metering",
"links": [],
"description": "Neutron Metering extension."
},
{
"alias": "agent",
"updated": "2013-02-03T10:00:00-00:00",
"name": "agent",
"links": [],
"description": "The agent management extension."
},
{
"alias": "subnet_allocation",
"updated": "2015-03-30T10:00:00-00:00",
"name": "Subnet Allocation",
"links": [],
"description": "Enables allocation of subnets from a subnet pool"
},
{
"alias": "l3_agent_scheduler",
"updated": "2013-02-07T10:00:00-00:00",
"name": "L3 Agent Scheduler",
"links": [],
"description": "Schedule routers among l3 agents"
},
{
"alias": "external-net",
"updated": "2013-01-14T10:00:00-00:00",
"name": "Neutron external network",
"links": [],
"description": "Adds external network attribute to network resource."
},
{
"alias": "flavors",
"updated": "2014-07-06T10:00:00-00:00",
"name": "Neutron Service Flavors",
"links": [],
"description": "Service specification for advanced services"
},
{
"alias": "fwaasrouterinsertion",
"updated": "2015-01-27T10:00:00-00:00",
"name": "Firewall Router insertion",
"links": [],
"description": "Firewall Router insertion on specified set of routers"
},
{
"alias": &quo