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

logging: capture installation logs from engine to storage account #496

Open
1 task
bobjac opened this issue Oct 3, 2023 · 1 comment
Open
1 task

logging: capture installation logs from engine to storage account #496

bobjac opened this issue Oct 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bobjac
Copy link
Contributor

bobjac commented Oct 3, 2023

Requirement

As of now, there are two sets of installation logs:

  • The logs from the Jenkins job that resides on the modm virtual machine
  • The Azure deployment logs that are tied to the managed resource group

If the modm virtual machine is deleted, access to the terraform installation logs will be gone.
Terraform installation logs should be copied to durable storage so that the customer have have access to them after the installer has been deleted.

Success Criteria

  • A blob storage account is created by default. In the future, the createUiDefinition will enable using an existing blob storage account
  • After a deployment completes, whether or not it is successful, the installation/diagnostics logs will be copied to a blob storage container.

Justification

Customers or publishers may want access to the diagnostics logs for later analysis or troubleshooting. This feature enables that.

Implementation

  • Add Azure Blob Storage with a container named Diagnostics to the mainTemplate.json
  • Call JenkinsDeploymentEngine's GetLogs() method and write to the blob storage account created in the previous step

Tasks

@bobjac bobjac added the enhancement New feature or request label Oct 3, 2023
@bobjac bobjac added this to the CY23 Q2 - Cycle 2 (2023-17-11) milestone Oct 5, 2023
@kevinhillinger
Copy link
Member

A nice to have that isn't required any longer

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

No branches or pull requests

2 participants