solidfire / PowerShell

Collection of scripts, functions, and examples using the SolidFire Tools for PowerShell
MIT License
27 stars 20 forks source link

connect-sfcluster fails on CentOS 7.4 #56

Closed eggzotic closed 6 years ago

eggzotic commented 6 years ago

Hi all, pretty similar to another issue where Sean had issues with connect-SFCluster on CentoOS 7.3. However the cause may be different as the libcurl symptons don't show here:

PS /home/oracle> Connect-SFCluster -Target 172.16.13.88

cmdlet Connect-SFCluster at command pipeline position 1 Supply values for the following parameters: (Type !? for Help.) Credential User: hciadmin Password for user hciadmin: **

Connect-SFCluster : Unable to connect to endpoint: https://172.16.13.88/json-rpc/7.0. An error occurred during the request. At line:1 char:1

PS /home/oracle> $Error[0].Exception.InnerException An error occurred during the request.

Hopefully something known? From the same subnet, and a Windows VM, the connection to the same cluster works fine, just FYI.

Richard.

ahaid commented 6 years ago

This is a known issue and we have a hotfix in the works. We are running it through tests now. This is likely the same libcurl problem. Go one step deeper in the exception stack to find the problem.

$Error[0].Exception.InnerException.InnerException

We will have a hotfix as soon as we can. In the meantime, this version should still work on ubuntu 14.04+.

eggzotic commented 6 years ago

Great, thx for the update Adam. I'll dig up that extra info when I'm back from leave - sorry bad timing - just raise an issue and don't hang round to troubleshoot it properly(!)

ahaid commented 6 years ago

With the 1.5.1 hotfix released last week, this should work now. run Import-Module SolidFire.Core to bring in the newest module. More installation instructions are available here.

scaleoutsean commented 6 years ago

I happened to try it today on v7.0, it can connect:

Don't know if 7.4 is OK, I have to keep this CentOS on v7.0.

ahaid commented 6 years ago

Glad to hear. Closing the issue.