Skip to content

Conversation

@jor2
Copy link
Member

@jor2 jor2 commented Feb 18, 2025

Description

https://github.ibm.com/GoldenEye/issues/issues/11710

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@jor2 jor2 self-assigned this Feb 18, 2025
@jor2 jor2 requested review from Aashiq-J and shemau as code owners February 18, 2025 17:12
Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jor2 See comments. Ill create the new offering once they are addressed, as need the update in the catalog json first

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See latest comments

Jordan-Williams2 added 2 commits February 24, 2025 15:07
@jor2 jor2 requested a review from ocofaigh February 24, 2025 15:08
Jordan-Williams2 added 2 commits February 24, 2025 15:10
Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See latest comments. I'm also running the catalog pipeline against this branch now to make sure all the scripts etc work ok

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect you need to run chmod +x on the validation script, as they failed in the pipeline run attempt:

Executing pre-validation..
./catalog-onboard.sh: line 1067: tests/scripts/pre-validation-deploy-slz-roks-and-obs-instances.sh: No such file or directory

@ocofaigh
Copy link
Contributor

@jor2 Still a permissions issue on the script:
./catalog-onboard.sh: line 1067: tests/scripts/pre-validation-deploy-slz-roks-and-obs-instances.sh: Permission denied

@jor2
Copy link
Member Author

jor2 commented Feb 24, 2025

investigate failure:

 2025/02/24 20:18:18 �[1m-----  New Workspace Action  -----�[21m�[0m
 2025/02/24 20:18:18 Request: activitId=69826159058d3debf275f9dd9de8874b, account=abac0df06b644a9cabc6e44f55b3880e, owner=GoldenEye.Development@ibm.com, requestID=409c489d-800c-4515-a615-d67a34b1a05f
 2025/02/24 20:18:19 Related Activity: action=TERRAFORM_COMMANDS, workspaceID=us-east.workspace.globalcatalog-collection.e88c7dd5, processedBy=orchestrator-6cb446ddb7-gx9wh
 2025/02/24 20:18:19 Related Workspace: name=deploy-arch-ibm-observability-agents-02-24-2025, sourcerelease=(not specified), sourceurl=, folder=terraform-ibm-modules-terraform-ibm-observability-agents-e7c9f65/solutions/baseline
 2025/02/24 20:18:22  --- Ready to execute the command --- 
 2025/02/24 20:18:24 Failed to download from object storage, cannot store downloaded file: open /tmp/deploy-arch-ibm-observability-agents-02-24-20251108998317/terraform-ibm-modules-terraform-ibm-observability-agents-e7c9f65/solutions/baseline/schematics.tfvars: no such file or directory
 2025/02/24 20:18:24 �[1m�[31mCould not fetch varibles from object store 009f8e24-b92a-4103-9f77-9f686e4e6d33, err: cannot store downloaded file: open /tmp/deploy-arch-ibm-observability-agents-02-24-20251108998317/terraform-ibm-modules-terraform-ibm-observability-agents-e7c9f65/solutions/baseline/schematics.tfvars: no such file or directory�[39m�[0m
 2025/02/24 20:18:24 �[1m�[31mThere was an internal Error. Please verify the resources and retry after some time.�[39m�[0m

@ocofaigh
Copy link
Contributor

@jor2 That error happens because the branch I used to import the temporary version for testing has since been updated. Any time you add a new commit, I need to re-import. Ill clean up now and re-run

@ocofaigh
Copy link
Contributor

Actually @jor2 please resolve conflicts

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jor2 See latest comments. Also perhaps remove Existing VPC layer from the diagram. The DA should work on classic clusters too

ibm_catalog.json Outdated
"key": "cloud_monitoring_instance_region",
"display_name": "Region",
"custom_config": {
"type": "vpc_region",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cloud Monitoring may support different regions to VPC - I think we need to add a custom dropdown for this whuch only lists supported Cloud Monitoring regions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

monitoring available in every region. what should i do here? how do i create or view the list of already existing custom configs?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jor2 You will need to create your own dropdown list which only lists the regions that cloud monitoring is supported (same syntax as this https://github.com/terraform-ibm-modules/terraform-ibm-event-notifications/blob/564e73a43888d6fab2fd5706360a11167e8abd48/ibm_catalog.json#L74-L97)

type = string
name = string
}))
description = "To filter on custom metrics, specify the IBM Cloud Monitoring metrics to include or exclude. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_inc_exc_metrics)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a complex input - it will need a markdown supporting doc

@jor2
Copy link
Member Author

jor2 commented Mar 2, 2025

@ocofaigh what do i do if plan passes and cost fails?
Screenshot 2025-03-02 at 22 53 50

@jor2
Copy link
Member Author

jor2 commented Mar 4, 2025

Validation passed when I ran

Screenshot 2025-03-04 at 01 26 53

@jor2
Copy link
Member Author

jor2 commented Mar 5, 2025

/run pipeline

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jor2 you are going to need to update the version of landing zone to the latest in tests/resources/main.tf or the cluster will get into a bad state and agent deploy will fail (this is what happened in Observability DA).
Also I still need to do a final review, so hold off triggering pipeline

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jor2 Since we are breaking Cloud Logs and Monitoring into new their own DAs, we will also need to split the agents into their own repos / DAs. Can you split the work you have done so they go into these new repos?

@ocofaigh ocofaigh closed this Apr 28, 2025
@ocofaigh ocofaigh deleted the new-tile branch April 28, 2025 11:49
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

Successfully merging this pull request may close these issues.

3 participants