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 [[email protected]]
Sent: Monday, February 08, 2016 2:33 PM
To: [email protected]
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": "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 example PXE 
boot options to DHCP clients can be specified (e.g. tftp-server, 
server-ip-address, bootfile-name)"
    },
    {
        "alias": "lbaasv2",
        "updated": "2014-06-18T10:00:00-00:00",
        "name": "LoadBalancing service v2",
        "links": [],
        "description": "Extension for LoadBalancing service v2"
    },
    {
        "alias": "service-type",
        "updated": "2013-01-20T00:00:00-00:00",
        "name": "Neutron Service Type Management",
        "links": [],
        "description": "API for retrieving service providers for Neutron 
advanced services"
    },
    {
        "alias": "lbaas_agent_schedulerv2",
        "updated": "2013-02-07T10:00:00-00:00",
        "name": "Loadbalancer Agent Scheduler V2",
        "links": [],
        "description": "Schedule load balancers among lbaas agents"
    },
    {
        "alias": "security-group",
        "updated": "2012-10-05T10:00:00-00:00",
        "name": "security-group",
        "links": [],
        "description": "The security groups extension."
    },
    {
        "alias": "dhcp_agent_scheduler",
        "updated": "2013-02-07T10:00:00-00:00",
        "name": "DHCP Agent Scheduler",
        "links": [],
        "description": "Schedule networks among dhcp agents"
    },
    {
        "alias": "rbac-policies",
        "updated": "2015-06-17T12:15:12-30:00",
        "name": "RBAC Policies",
        "links": [],
        "description": "Allows creation and modification of policies that 
control tenant access to resources."
    },
    {
        "alias": "port-security",
        "updated": "2012-07-23T10:00:00-00:00",
        "name": "Port Security",
        "links": [],
        "description": "Provides port security"
    },
    {
        "alias": "allowed-address-pairs",
        "updated": "2013-07-23T10:00:00-00:00",
        "name": "Allowed Address Pairs",
        "links": [],
        "description": "Provides allowed address pairs"
    },
    {
        "alias": "dvr",
        "updated": "2014-06-1T10:00:00-00:00",
        "name": "Distributed Virtual Router",
        "links": [],
        "description": "Enables configuration of Distributed Virtual Routers."
    }]
}
Regards,
Jens

Reply via email to