thecodeteam / goisilon

Isilon package that provides API bindings for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Isilon API endpoint /platform/latest not available in 7.2.1.5

knorx opened this issue · comments

I am trying to connect with the rexray service using the 1.7.0 of this library internally. On start it tries to access the path /platform/latest. In combination with our 7.2.1.5 Isilon version this results in a 404 error as the endpoint is unknown.
In the readme it says:

supports OneFS 7.2+

For me it seems that the /platform/latest endpoint was introduced with 8.X as I can find it in the 8.0.0.0 documentation:
https://www.emc.com/collateral/TechnicalDocument/docu66301.pdf
... but not in the 7.2.1 documentation:
https://www.emc.com/collateral/TechnicalDocument/docu60111.pdf

Does the code need some fallback here or is sth. else going wrong? This is the response I get:

-------------------------- GOISILON HTTP REQUEST -------------------------
    GET /platform/latest/ HTTP/1.1
    Host: <some-servername>:8080
    Authorization: Basic <somestring>
    
 
DEBU[0003] 
    -------------------------- GOISILON HTTP RESPONSE -------------------------
    HTTP/1.1 404 Not Found
    Transfer-Encoding: chunked
    Content-Type: application/json
    Date: Tue, 20 Nov 2018 11:51:25 GMT
    Server: Apache/2.2.31 (FreeBSD) mod_ssl/2.2.31 OpenSSL/1.0.2j-fips mod_fastcgi/2.4.6
    
    51
    
    {
    "errors" : 
    [
    
    {
    "code" : "AEC_NOT_FOUND",
    "message" : "path not found"
    }
    ]
    }
    
    0