Unsolved
29 Posts
0
1384
PowerShell Module Command Failure
I'm running XMS version 6.x
PowerShell module 3.1.05
I'm simply trying to create an Initiator group and add Initiators at the same time.
When I run the command below for just the group, they work.
New-XtremInitiatorGroup TESTIG
New-XtremInitiatorGroup -InitiatorGroupName TESTIG
If I attempt to run the entire command to add the initiators, any of the command below, then I receive a very vague message/error. What am I missing here, I would think this is a easy command.
New-XtremInitiatorGroup -XtremCLusterName RBOXIO2MGT001 -InitiatorGroupName TESTIG -InitiatorList 20:01:d4:ae:52:5b:ef:03,20:01:d4:ae:52:5b:ef:10
New-XtremInitiatorGroup -InitiatorGroupName TESTIG -InitiatorList 20:01:d4:ae:52:5b:ef:03,20:01:d4:ae:52:5b:ef:10
web.Server Traceback (most recent call last)web.Server Traceback (most recent call last):
exceptions.AttributeError: 'unicode' object has no attribute 'items'
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/server.py:184 in
process
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/server.py:235 in
render
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/resource.py:250 in
render
exceptions.AttributeError: 'unicode' object has no attribute 'items'
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\XtremLib3\common.psm1:453 char:9
+ throw $error
+ ~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (web.Server Trac... 'items'
:ErrorDetails) [], RuntimeException
+ FullyQualifiedErrorId : web.Server Traceback (most recent call last)web.Server Traceback (most recent call last):
exceptions.AttributeError: 'unicode' object has no attribute 'items'
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/server.py:184 in
process
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/server.py:235 in
render
/xtremapp/xms/python27_env/lib/python2.7/site-packages/twisted/web/resource.py:250 in
render
exceptions.AttributeError: 'unicode' object has no attribute 'items'
DellEMCSupport
Moderator
Moderator
•
631 Posts
0
January 15th, 2020 07:00
Hi,
Are you on the latest version? Which xtremio model are you using? What OS are you running the commands from?
marshit
29 Posts
0
January 21st, 2020 07:00
Here is the information
XtremIO X2 - 6.2.0-85
Windows 10
XMS Version: 6.2.0 build 85
DenislavVasilev
1 Message
0
February 28th, 2020 03:00
Hello,
can you please help me with connecting to XMS? All my versions are compatible but it fails.
XMS version: 6.2.2-3
XIOS version: 4.0.27-1
PS C:\Users\adm_dvasilev> Get-Module -ListAvailable -Name XtremLib*
Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 3.1.0 XtremLib3 {Get-ScriptDirectory, GetXtremErrorMsg, GetXtremAuthHeader, GetXtremRawRequest...}
PS C:\Users\adm_dvasilev> New-XtremSession -XmsName 10.x.x.x -Verbose -Username xxxx -Password xxxx
Could not retrieve XMS data from XMS Server, or XMS is less then 4.0.0.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\XtremLib3\session.psm1:141 char:13
+ throw "Could not retrieve XMS data from XMS Server, or XM ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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.
DELL-Sam L
Moderator
Moderator
•
7K Posts
0
March 3rd, 2020 11:00
Hello DenislavVasilev,
Looking at your commands all looks to be correct. I would contact support so that we can look into seeing why it is not working.
Please let us know if you have any other questions.