Closed cadayton closed 2 years ago
Hi Craig, We would need a bit more information on the error as well as the commands your trying to execute. Here is what happens when I execute the following commands against a FlashArray with version 5.3.2 with a maximum API version of 2.0.
PS C:\Windows\System32> $array2 = Connect-Pfa2Array -Endpoint $ArrayEndpoint -Username $ArrayUsername -Issuer $ArrayIssuer -ClientId $clientId -KeyId $keyId -PrivateKeyFile $privateKeyFile -PrivateKeyPassword $privateKeyPass -IgnoreCertificateError -ApiClientName $ArrayClientname
PS C:\Windows\System32> Get-Pfa2ApiVersion -Endpoint 10.21.149.45 | Select -ExpandProperty "ArraySupportedAPIVersion"
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
2.0
PS C:\Windows\System32> Get-Pfa2Volume -ApiVersion 2.0
Id : 7277ca3f-4d83-e2a1-ff91-df9fbc0cfd3a
Name : GENIO-TST-01
ConnectionCount : 0
Created : 12/21/2017 7:49:53 PM
Destroyed : False
HostEncryptionKeyStatus : none
Provisioned : 858993459200
Qos : class Qos {
BandwidthLimit:
IopsLimit:
}
Serial : 2EBD55E4363D498400011012
Space : class Space {
DataReduction: 1.6244731
Shared:
Snapshots: 0
System:
ThinProvisioning: 0.40274802
TotalPhysical: 315796209515
TotalProvisioned: 858993459200
TotalReduction: 2.7199123
Unique: 315796209515
Virtual: 513035556864
}
TimeRemaining :
Pod : class Reference {
Id:
Name:
}
Source : class FixedReference {
Id:
Name:
}
Subtype : regular
VolumeGroup : class Reference {
Id:
Name:
}
RequestedPromotionState :
PromotionStatus :
Hi Mike,
-ApiVersion 2.0. I wasn't setting this option on Get-Pfa2volume cmdlet but was setting on the 'Connect-Pfa2Array' cmdlet. Not sure how I missed since it is the first option in the syntax diagram.
Anyway, my bad. You can close out this issue.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 20th, 2021 at 1:06 PM, Mike Nelson @.***> wrote:
Hi Craig, We would need a bit more information on the error as well as the commands your trying to execute. Here is what happens when I execute the following commands against a FlashArray with version 5.3.2 with a maximum API version of 2.0.
PS C:\Windows\System32> $array2 = Connect-Pfa2Array -Endpoint $ArrayEndpoint -Username $ArrayUsername -Issuer $ArrayIssuer -ClientId $clientId -KeyId $keyId -PrivateKeyFile $privateKeyFile -PrivateKeyPassword $privateKeyPass -IgnoreCertificateError -ApiClientName $ArrayClientname
PS C:\Windows\System32> Get-Pfa2ApiVersion -Endpoint 10.21.149.45 | Select -ExpandProperty "ArraySupportedAPIVersion" 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 2.0
PS C:\Windows\System32> Get-Pfa2Volume -ApiVersion 2.0
Id : 7277ca3f-4d83-e2a1-ff91-df9fbc0cfd3a Name : GENIO-TST-01 ConnectionCount : 0 Created : 12/21/2017 7:49:53 PM Destroyed : False HostEncryptionKeyStatus : none Provisioned : 858993459200 Qos : class Qos { BandwidthLimit: IopsLimit: }
Serial : 2EBD55E4363D498400011012 Space : class Space { DataReduction: 1.6244731 Shared: Snapshots: 0 System: ThinProvisioning: 0.40274802 TotalPhysical: 315796209515 TotalProvisioned: 858993459200 TotalReduction: 2.7199123 Unique: 315796209515 Virtual: 513035556864 }
TimeRemaining : Pod : class Reference { Id: Name: }
Source : class FixedReference { Id: Name: }
Subtype : regular VolumeGroup : class Reference { Id: Name: }
RequestedPromotionState : PromotionStatus :
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
No problem. Thanks for filing the issue!
Closed.
In my attempts to use Get-Pfa2Volume against Purity/FA running 5.3.13, it is failing with the following error.
PS>Get-Pfa2Volume -Array $array Get-Pfa2Volume: Response: Error calling Api22VolumesGet: from Get-Pfa2Volume (__AllParameterSets) Array=blahblah
My attempts to force the use of API v2.0 or v2.1 where not successful.