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

ILA: Issue while installing Workspace ONE Access Content Pack #583

Closed
4 tasks done
Ashwini-Ravi opened this issue Apr 18, 2024 · 5 comments · Fixed by #688
Closed
4 tasks done

ILA: Issue while installing Workspace ONE Access Content Pack #583

Ashwini-Ravi opened this issue Apr 18, 2024 · 5 comments · Fixed by #688
Assignees
Labels
bug Bug vvs/ila Inteligent Logging and Analytics
Milestone

Comments

@Ashwini-Ravi
Copy link
Contributor

Ashwini-Ravi commented Apr 18, 2024

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

5.1

Module Version

2.10.0.1011

PowerShell Version

7.3.6

PowerCLI Version

13.1.0.21624340

PowerVCF Version

2.4.1.1000

Guest Operating System

windows server 2019

Environment Details

No response

Description

Issue while running Invoke-ILAdeployment at step Install Workspace ONE Access Content Pack

Error or Debug Output

[04-18-2024_09:57:04] [INFO] Install Workspace ONE Access Content Pack
 [04-18-2024_09:57:05] [INFO]  Error at Script Line 15766
 [04-18-2024_09:57:05] [INFO]  Relevant Command: $response = Invoke-RestMethod -Method 'GET' -Uri $Uri -Headers $ghHeaders
 [04-18-2024_09:57:05] [INFO]  Error Message: Cannot validate argument on parameter 'Uri'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
 [04-18-2024_09:57:05] [ERROR] Exception calling "FromBase64String" with "1" argument(s): "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."
 [04-18-2024_09:57:05] [ERROR] System.Management.Automation.CmdletInvocationException: {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
 ---> Microsoft.PowerShell.Commands.HttpResponseException: Response status code does not indicate success: 401 (Unauthorized).
   at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
 [04-18-2024_09:57:05] [ERROR] {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
 [04-18-2024_09:57:05] [ERROR] System.Management.Automation.CmdletInvocationException: {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
 ---> Microsoft.PowerShell.Commands.HttpResponseException: Response status code does not indicate success: 401 (Unauthorized).
   at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
 [04-18-2024_09:57:05] [ERROR] {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
 [04-18-2024_09:57:05] [ERROR] Cannot validate argument on parameter 'Uri'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
 [04-18-2024_09:57:05] [ERROR] Cannot validate argument on parameter 'Uri'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
 [04-18-2024_09:57:05] [ERROR] Cannot validate argument on parameter 'Uri'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Expected Behavior

There should not any errors while running Invoke-ILAdeployment

Actual Behavior

Error while installing Workspace ONE Access Content Pack

Steps to Reproduce

Run Invoke-ILAdeployment and it will fail at step Install Workspace ONE Access Content Pac

Log Fragments and Files

No response

Screenshots

No response

References

No response

@Ashwini-Ravi Ashwini-Ravi added bug Bug needs-triage Needs Triage labels Apr 18, 2024
@github-actions github-actions bot added the pending-review Pending Review label Apr 18, 2024
@GaryJBlake GaryJBlake self-assigned this Apr 18, 2024
@GaryJBlake GaryJBlake added vvs/ila Inteligent Logging and Analytics and removed pending-review Pending Review needs-triage Needs Triage labels Apr 18, 2024
@GaryJBlake GaryJBlake added this to the v2.10.0 milestone Apr 18, 2024
@GaryJBlake
Copy link
Contributor

Issue 1 - Your API Token does not have access to the Git Hub Repository, adding some code to check the initial response from the API to retrieve the Content Pack index

@GaryJBlake
Copy link
Contributor

Identified a number of additional errors whilst triaging the issue further:

  • Sometimes can't get the content pack URL
  • Sometimes hitting 403 (rate limit exceeded)
  • Sometimes not being able to get the initial content pack list

I've enhanced the function to handle the above use cases, however the workflow is still not consistent when executed so further investigation is needed.

@tenthirtyam tenthirtyam modified the milestones: v2.10.0, Backlog May 28, 2024
@GaryJBlake GaryJBlake assigned tenthirtyam and unassigned GaryJBlake May 30, 2024
@GaryJBlake
Copy link
Contributor

Reassigned to @tenthirtyam to further investigate

@tenthirtyam tenthirtyam modified the milestones: Backlog, v2.11.0 May 30, 2024
@tenthirtyam
Copy link
Collaborator

I'm on it.

Copy link

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug vvs/ila Inteligent Logging and Analytics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants