jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zack Shoylev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1013) Cannot find FloatingIPAPI nova extension against devstack
Date Thu, 08 Oct 2015 22:27:26 GMT
Zack Shoylev created JCLOUDS-1013:

             Summary: Cannot find FloatingIPAPI nova extension against devstack
                 Key: JCLOUDS-1013
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1013
             Project: jclouds
          Issue Type: Bug
    Affects Versions: 1.9.1, 2.0.0
            Reporter: Zack Shoylev
            Assignee: Zack Shoylev
             Fix For: 1.9.2

Using devstack

Nova API not returning FloatingIPApi even though the ExtensionApi was listing "os-floating-ips".

Upon inspection, it is found out that the namespace for this extension is changed to a fake

Ex: Extension{id=os-floating-ips, name=FloatingIps, links=[], namespace=http://docs.openstack.org/compute/ext/fake_xml,
alias=os-floating-ips, updated=Tue Dec 02 16:00:00 PST 2014, description=Floating IPs support.}

(notice fake_xml in the namespace URI)

However, org.jclouds.openstack.nova.v2_0.extensions.ExtensionNamespaces  is listing it with
the previous namespace:

/**Floating IPs support*/    
public static final String FLOATING_IPS = "http://docs.openstack.org/ext/floating_ips/api/v1.1";

Similar issue: http://stackoverflow.com/questions/31417247/jcloud-nova-unable-to-find-floating-ip-pool-extension


Relevant comment from /opt/stack/nova/api/openstack/compute/extension_info.py :

# V2.1 does not support XML but we need to keep an entry in the # /extensions information
returned to the user for backwards # compatibility FAKE_XML_URL = "http://docs.openstack.org/compute/ext/fake_xml"

After changing the extension namespace in ExtensionNamespaces.java, I was able to make it
   /**     * Floating IPs support     */    //public static final String FLOATING_IPS = "http://docs.openstack.org/ext/floating_ips/api/v1.1";
   public static final String FLOATING_IPS = "http://docs.openstack.org/compute/ext/fake_xml";

All extensions are returning the fake xml namespace.
So, all of them would fail lookup.

This message was sent by Atlassian JIRA

View raw message