Unsolved
7 Posts
0
2720
Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0.
Hi,
I am facing this error,
Error: Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0.
At C:\Program Files\WindowsPowerShell\Modules\XtremLib3\3.2.0.3\session.psm1:143 char:9
+ throw "Could not retrieve XMS data from XMS Server, or XMS is ...
please help me out.
Dell-DylanJ
4 Operator
4 Operator
•
2.9K Posts
0
January 3rd, 2022 12:00
Hello,
What troubleshooting steps have been taken so far?
suma s
7 Posts
0
January 7th, 2022 04:00
1) I have checked xms version and xtrem version everything is latest version
2) again installed powershell module
3) i am using end of the script Exit-xtremsession.
4) please guide me how to remove session.
5) still i am not getting any solution.
6) please help me out.
DELL-Sam L
Moderator
Moderator
•
7K Posts
0
January 7th, 2022 08:00
Hello suma s,
Here is a link to a KB that maybe of assistance. https://dell.to/3r18lGp
suma s
7 Posts
0
January 10th, 2022 01:00
Hi,
https://dell.to/3r18lGp
I didn't get any solution this above link.
DELL-Sam L
Moderator
Moderator
•
7K Posts
0
January 10th, 2022 08:00
XtremIO: Error returned from Power Shell: "Could not retrieve XMS data from XMS Server"
Audience Level: Customer
Article Content
Symptoms
Review rest log to verify valid REST calls on the XMS. For example, code 200/400 indicate success.
Run a simple Power Shell command to verify.
If the expected result is received, the above fault message is a false positive from the Windows host.
Examples of Good Rest API Calls:
2017-05-17 17:42:40,230 - RestLogger - INFO - rest_server::log_request:98 - REST call: with args {}
2017-05-17 17:42:40,234 - RestLogger - INFO - rest_server::log_response:110 - REST response with code 200
2017-05-17 17:42:40,243 - RestLogger - INFO - rest_server::log_request:98 - REST call: with args {}
FAULT OBSERVED via Power Shell;
Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0.
At C:\windows\system32\windowspowershell\v1.0\Modules\XtremLib\xtremlib.psm1:6426 char:9
+ throw "Could not retrieve XMS data from XMS Server, or XMS is ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Could not retri...ess then 4.0.0.:String) [], RuntimeException
+ FullyQualifiedErrorId : Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0.
Cause
False positive observed on Windows 10 and XMS version(s) 4.2.1-build 6, 4.2.1 build 7, and 4.2.1 build 8.
--Scenario 2
Verify that the XMS object name hasn't been modified;
xmcli (tech)> show-xms
Name Index SW-Version Xms-IP-Addr Xms-IP-Addr-Subnet Xms-Mgmt-Ifc REST-API-Protocol-Version IP-Version Default-User-Inactivity-Timeout Repeating-Alert-Threshold
XYZIO0008 1 4.2.1-8 172.20.xx.yy 255.255.255.0 eth0 2.1 ipv4 10 10
--Scenario 3
Another reason for the "Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0" error message is due to the weak ciphers script having previously been run on the XMS (see https://dell.to/3zGlGHU ). This script blocks the default PowerShell connectivity to the XMS via TLS 1.0. If the customer has already imported the certificates, and installed the XIO PowerShell module libs, but running the commands from the Resolution section below only returns the error message, and still does not show the output for the command, then have the customer try the following commands from their PowerShell:
See Scenario 3 in Resolution section below
See Notes below for more information on TLS connectivity
Resolution
--Scenario 1
Verify using a simple command. We see the Power Shell returns the expected output and the false positive persists.
Example
--Scenario 2
Use the following command to change the XMS name back to the expected name "xms":
From XMCLI, run:
rename xms-id=1 new-name="xms"
--Scenario 3
From PowerShell, run:
[ https://dell.to/33iKqtQ.ServicePointManager]::SecurityProtocol = [ https://dell.to/33iKqtQ.SecurityProtocolType]::Tls12 ===> This sets the connecting TLS version to 1.2.
New-XtremSession -XmsName (XMS IP address) ===> Enter the IP address for the XMS after XmsName.
Get-XtremBBUs ===> This is just to verify functionality.
***Please note that the above SecurityProtocol command is valid on a per-session basis, and is not persistent. This command will be required every time a new session is created.
If the above solutions do not resolve the issue...
Verify the XMS version. If it is an early 6.x version, an upgrade to XMS 6.2.0 or above is recommended. A Service Request can be opened with Dell EMC Support to request an XMS-only upgrade..
Additional Information
The TLS protocol aims primarily to provide privacy and data integrity between two or more communicating computer applications. When secured by TLS, connections between a client (e.g., a web browser) and a server (e.g., https://dell.to/3FcdwYU) have one or more of the following properties:
Since applications can communicate either with or without TLS (or SSL), it is necessary for the client to indicate to the server the setup of a TLS connection. One of the main ways of achieving this is to use a different port number for TLS connections, for example port 443 for HTTPS.
Once the client and server have agreed to use TLS, they negotiate a stateful connection by using a handshaking procedure. The protocols use a handshake with an asymmetric cipher to establish not only cipher settings but also a session-specific shared key with which further communication is encrypted using a symmetric cipher. During this handshake, the client and server agree on various parameters used to establish the connection's security:
TLS and SSL do not fit neatly into any single layer of the OSI model or the TCP/IP model. TLS runs "on top of some reliable transport protocol (e.g., TCP)," which would imply that it is above the transport layer. It serves encryption to higher layers, which is normally the function of the presentation layer. However, applications generally use TLS as if it were a transport layer, even though applications using TLS must actively control initiating TLS handshakes and handling of exchanged authentication certificates.
Partner Notes
--(Scenario 3) Similar to the issue in SFDC 12686, the REST log on the XMS does not indicate any attempt to connect, and therefore, there are no failures associated with the customer's attempts seen in the logs. Again, this is due to the initial connection being blocked by the version of TLS in use. You can generally search the /var/log/xms/audit.log on the XMS to see if the weak ciphers script has been run in the past.
suma s
7 Posts
0
January 12th, 2022 02:00
Hi.
Thank you so much for this article.
But still, I am facing same error.
we have everything latest version.
below i have mentioned command's output
Get-XtremBBUs -Full
fru-lifecycle-state : healthy
is-ups-overload : false
outlet2-status : on
is-low-battery-has-input : false
obj-severity : information
sys-index : 5
xmcli (admin)> show-xms
Name Index SW-Version Xms-IP-Addr-With-Subnet Xms-Secondary-IP-Addr-With-Subnet XMS-Mgmt-Ifc REST-API-Protocol-Version IP-Version Secondary-IP-Version Default-U ser-Inactivity-Timeout Repeating-Alert-Threshold Min-TLS-Version
xms 1 6.3.2-10 eth0 3.1 ipv4 ipv6 10 10 1.2
Powershell module
Install-Module -Name XtremLib3
DELL-Sam L
Moderator
Moderator
•
7K Posts
0
January 12th, 2022 15:00
Hello suma s,
It is best to open a support case for this issue as the fix will need support to assist in resolving this issue.
suma s
7 Posts
0
January 16th, 2022 01:00
Hi,
Thank you, Sure.