Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsBuiltReport.Rubrik.CDM seem to have an issue with minute based SLAs? #19

Open
patrikdahlsll opened this issue Dec 28, 2021 · 1 comment
Assignees

Comments

@patrikdahlsll
Copy link

We have previously (months ago) used AsBuiltReport.Rubrik.CDM without any issue
We are trying to use AsBuiltReport.Rubrik.CDM again and we get the following error (see below).
We get the same error on both our Rubrik Cluster on different SLAs and it looks like the error is caused by SLAs with minute (for example 20) frequency.

** Versions **
Rubrik CDM 6.0.2-p1
PSVersion 5.1.19041.1320

ModuleType Version Name ExportedCommands


Script 5.3.1 Rubrik {Connect-Rubrik, Disconnect-Rubrik, Export-RubrikDatabase, Export-RubrikReport...}
Manifest 1.0.5 AsBuiltReport`

Describe the bug
New-AsBuiltReport fails when encoutering a SLA with 20 (example) minutes frequency

VERBOSE: [ 15:00:19:269 ] [ Document ] - Processing table 'SLA Frequencies'.
New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection.
At line:1 char:1
New-AsBuiltReport -Target '' -Username 'user' -Password ...
CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

To Reproduce
Create a SLA with 20 minute frequency via RestAPI
Run New-AsBuiltReport
(SLA1 is assigned to a fileset backup and this might require so
New-AsBuiltReport_error.txt
me help from Rubrik support to enable in later versions of CDM)

Expected behavior
SLA should be documented as any other SLAs

Attachments
New-AsBuiltReport_error

Screenshot
SLA according to v1 API
SLA according to v2 API
Excerpt from PS command

@patrikdahlsll patrikdahlsll changed the title AsBuiltReport.Rubrik.CDM seen to have an issue with minute based SLAs? AsBuiltReport.Rubrik.CDM seem to have an issue with minute based SLAs? Dec 28, 2021
@patrikdahlsll
Copy link
Author

Tried PowerShell Core 7.2.1, same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants