HewlettPackard / hpe3par_pstoolkit

The HPE Alletra 9000 and Primera and 3PAR PowerShell Toolkit supports cmdlets, which are wrappers around the native HPE Alletra 9000 or HPE Primera or HPE 3PAR storage CLI commands and Web Services API (WSAPI).
Other
12 stars 13 forks source link

Get-3ParVVList -Hist Expiration & Retention times incorrect #37

Open markhashley opened 4 years ago

markhashley commented 4 years ago

When running Get-3ParVVList against a snapshot with Retention and Creation date/times applied these dates and times are not displayed correctly in the returned Powershell object. Listed below is output from 3Par CLI of the snapshot and firmware of 3Par in question, below that is the Powershell object.

3Parcli% showvv -hist Test_Snap
   Id Name              Prov Type  ------CreationTime------ ----RetentionEndTime---- -----ExpirationTime----- -SpaceCalcTime- -EfficiencyUpdateTime- -UnrefSpaceFreedTime- -Comment-
13946 Test_Snap         snp  vcopy 2020-09-24 08:09:29 ACST 2020-09-24 09:09:30 ACST 2020-09-24 09:12:07 ACST --              --                     --                    --
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    1 total

3Parcli% showversion
Release version 3.2.2 (MU6)
Patches:  P99,P107,P119,P131,P135,P139,P149,P154,P160,P162,P165,P166,P167

Component Name                   Version
CLI Server                       3.2.2 (P165)
CLI Client                       3.2.2
System Manager                   3.2.2 (P165)
Kernel                           3.2.2 (MU6)
TPD Kernel Code                  3.2.2 (MU6)
TPD Kernel Patch                 3.2.2 (P165)

Below is out of Get-3ParVVList -Hist.

get-3parvvlist -sanconn $3par -vvname Test_Snap -hist

Id                     : 13946
Name                   : Test_Snap
Prov                   : snp
Type                   : vcopy
Date(Creation)         : 2020-09-24
Time(Creation)         : 08:09:29
Zone(Creation)         : ACST
-RetentionEndTime-     : 2020-09-24
-ExpirationTime-       : 09:09:30
Date                   : ACST
Time                   : 2020-09-24
Zone                   : 09:12:07
-EfficiencyUpdateTime- : ACST
-UnrefSpaceFreedTime-  : -
-Comment-              : -