terraform-ibm-modules / terraform-ibm-base-ocp-vpc

Provisions a Red Hat OpenShift VPC cluster on IBM Cloud
Apache License 2.0
1 stars 6 forks source link

fix: update the private api-reset endpoints #476

Closed Aashiq-J closed 1 month ago

Aashiq-J commented 2 months ago

Description

When we have the ibmcloud IPs added to the security group, the private endpoint to reset the key is different. While, if we have a VPE created, the endpoint is different.

Release required?

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

For mergers

Aashiq-J commented 2 months ago

/run pipeline

Aashiq-J commented 2 months ago

/run pipeline

Aashiq-J commented 2 months ago

/run pipeline

Aashiq-J commented 2 months ago
| Error: CreateRuleWithContext failed The network zone '84c1a3816c39a26208ae3d634176e725' is not found.
 2024/07/10 06:34:49 Terraform apply | {
 2024/07/10 06:34:49 Terraform apply |     "StatusCode": 404,
 2024/07/10 06:34:49 Terraform apply |     "Headers": {
 2024/07/10 06:34:49 Terraform apply |         "Akamai-Grn": [
 2024/07/10 06:34:49 Terraform apply |             "0.caf8cd17.1720590166.43e4800c"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Cache-Control": [
 2024/07/10 06:34:49 Terraform apply |             "no-cache,no-store"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Content-Length": [
 2024/07/10 06:34:49 Terraform apply |             "280"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Content-Type": [
 2024/07/10 06:34:49 Terraform apply |             "application/json; charset=utf-8"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Date": [
 2024/07/10 06:34:49 Terraform apply |             "Wed, 10 Jul 2024 05:42:46 GMT"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Expires": [
 2024/07/10 06:34:49 Terraform apply |             "Thursday, 1 January 1970 00:00:00 GMT"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Pragma": [
 2024/07/10 06:34:49 Terraform apply |             "no-cache"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Strict-Transport-Security": [
 2024/07/10 06:34:49 Terraform apply |             "max-age=31536000; includeSubDomains"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "Transaction-Id": [
 2024/07/10 06:34:49 Terraform apply |             "b4cc6cac-f2fe-4bc3-ac5f-5b787b114742"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Content-Type-Options": [
 2024/07/10 06:34:49 Terraform apply |             "nosniff"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Correlation-Id": [
 2024/07/10 06:34:49 Terraform apply |             "b4cc6cac-f2fe-4bc3-ac5f-5b787b114742"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Proxy-Upstream-Service-Time": [
 2024/07/10 06:34:49 Terraform apply |             "285"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Ratelimit-Limit": [
 2024/07/10 06:34:49 Terraform apply |             "10"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Ratelimit-Remaining": [
 2024/07/10 06:34:49 Terraform apply |             "9"
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "X-Ratelimit-Reset": [
 2024/07/10 06:34:49 Terraform apply |             "1720590167"
 2024/07/10 06:34:49 Terraform apply |         ]
 2024/07/10 06:34:49 Terraform apply |     },
 2024/07/10 06:34:49 Terraform apply |     "Result": {
 2024/07/10 06:34:49 Terraform apply |         "errors": [
 2024/07/10 06:34:49 Terraform apply |             {
 2024/07/10 06:34:49 Terraform apply |                 "code": "zone_not_found_in_store",
 2024/07/10 06:34:49 Terraform apply |                 "message": "The network zone '84c1a3816c39a26208ae3d634176e725' is not found.",
 2024/07/10 06:34:49 Terraform apply |                 "target": {
 2024/07/10 06:34:49 Terraform apply |                     "name": "zone_id",
 2024/07/10 06:34:49 Terraform apply |                     "type": "parameter",
 2024/07/10 06:34:49 Terraform apply |                     "value": "84c1a3816c39a26208ae3d634176e725"
 2024/07/10 06:34:49 Terraform apply |                 }
 2024/07/10 06:34:49 Terraform apply |             }
 2024/07/10 06:34:49 Terraform apply |         ],
 2024/07/10 06:34:49 Terraform apply |         "status_code": 404,
 2024/07/10 06:34:49 Terraform apply |         "trace": "b4cc6cac-f2fe-4bc3-ac5f-5b787b114742"
 2024/07/10 06:34:49 Terraform apply |     },
 2024/07/10 06:34:49 Terraform apply |     "RawResult": null
 2024/07/10 06:34:49 Terraform apply | }
 2024/07/10 06:34:49 Terraform apply | 
 2024/07/10 06:34:49 Terraform apply | 
 2024/07/10 06:34:49 Terraform apply |   with module.cbr_rules.ibm_cbr_rule.cbr_rule,
 2024/07/10 06:34:49 Terraform apply |   on .terraform/modules/cbr_rules/modules/cbr-rule-module/main.tf line 7, in resource "ibm_cbr_rule" "cbr_rule":
 2024/07/10 06:34:49 Terraform apply |    7: resource "ibm_cbr_rule" "cbr_rule" {
 2024/07/10 06:34:49 Terraform apply | 

error not related to this PR. Retrying ..

Aashiq-J commented 2 months ago

/run pipeline

Aashiq-J commented 1 month ago

/run pipeline

Aashiq-J commented 1 month ago

/run pipeline

ocofaigh commented 1 month ago

/run pipeline

ocofaigh commented 1 month ago

/run pipeline

ocofaigh commented 1 month ago

@Aashiq-J 3 times in a row it failed with that known trivy issue. We added a potential workaround in https://github.com/terraform-ibm-modules/common-dev-assets/pull/1012 - can you update this PR to the latest common-dev-assets to see if it passes?

Aashiq-J commented 1 month ago

/run pipeline

Aashiq-J commented 1 month ago
 2024/07/16 15:03:16 Terraform destroy | ---
 2024/07/16 15:03:16 Terraform destroy | id: terraform-37ed59b7
 2024/07/16 15:03:16 Terraform destroy | summary: "[ERROR] Error deleting COS Bucket
 2024/07/16 15:03:16 Terraform destroy | (crn:v1:bluemix:public:cloud-object-storage:global:a/abac0df06b644a9cabc6e44f55b3880e:a79297a9-3724-461b-b927-64ac3ea9e924:bucket:base-ocp-fscloud-j6imwj-vpc-flowlogs:meta:rl:eu-gb:public):
 2024/07/16 15:03:16 Terraform destroy |   AccessDenied: Access Denied\n\tstatus code: 403, request id: 2e9fedad-764d-4fc3-80c3-14f85679a2da,
 2024/07/16 15:03:16 Terraform destroy |   host id: "
 2024/07/16 15:03:16 Terraform destroy | severity: error
 2024/07/16 15:03:16 Terraform destroy | resource: ibm_cos_bucket
 2024/07/16 15:03:16 Terraform destroy | operation: delete
 2024/07/16 15:03:16 Terraform destroy | component:
 2024/07/16 15:03:16 Terraform destroy |   name: github.com/IBM-Cloud/terraform-provider-ibm
 2024/07/16 15:03:16 Terraform destroy |   version: 1.67.1
 2024/07/16 15:03:16 Terraform destroy | ---

Error not related this change. Retrying..

Aashiq-J commented 1 month ago

/run pipeline

Aashiq-J commented 1 month ago

/run pipeline

ocofaigh commented 1 month ago

@Aashiq-J sorry just merged a PR in this repo, so you will need to rebase, resolve conflict and re-run pipeline please

Aashiq-J commented 1 month ago

/run pipeline

Aashiq-J commented 1 month ago

/run pipeline

terraform-ibm-modules-ops commented 1 month ago

:tada: This issue has been resolved in version 3.28.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: