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] [Commented] (JCLOUDS-1013) Cannot find FloatingIPAPI nova extension against devstack
Date Mon, 12 Oct 2015 21:20:05 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953758#comment-14953758
] 

Zack Shoylev commented on JCLOUDS-1013:
---------------------------------------

https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commitdiff;h=b977c6626b42fbc5586f3a5326ca1a3cc0dac565

> 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 xml.
> 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
> https://github.com/jclouds/jclouds/pull/813
> 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 work.
>    //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
(v6.3.4#6332)

Mime
View raw message