Skip to content

Conversation

@kierramarie
Copy link
Member

Description

changes:

  • changes all version.tf to updated version
  • updated module main to work with new version
  • updated to provider.tf new syntax

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.

@kierramarie
Copy link
Member Author

/run pipeline

Copy link
Contributor

@shemau shemau left a comment

Choose a reason for hiding this comment

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

There is a small merge conflict since #115 changed the README.md anchor line from 1.76.1 to 1.80.2.

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

kierramarie commented Jul 21, 2025

Errors:

TestFullyConfigurableUpgradeSolution
│ Error: Request failed with status code: 500, ServerErrorResponse: {"incidentID":"e260f73a-66d4-a358-ab66-2c4ddd567fd7","code":"Ed196","description":"Could not connect to a backend service. Try again later.","type":""}
│ 
│   with module.ocp_base.ibm_container_vpc_cluster.cluster[0],
│   on .terraform/modules/ocp_base/main.tf line 135, in resource "ibm_container_vpc_cluster" "cluster":
│  135: resource "ibm_container_vpc_cluster" "cluster" {
│ 
│ ---
│ id: terraform-40a3a1fe
│ summary: 'Request failed with status code: 500, ServerErrorResponse:
│ {"incidentID":"e260f73a-66d4-a358-ab66-2c4ddd567fd7","code":"Ed196","description":"Could
│   not connect to a backend service. Try again later.","type":""}'
│ severity: error
│ resource: ibm_container_vpc_cluster
│ operation: create
│ component:
│   name: github.com/IBM-Cloud/terraform-provider-ibm
│   version: 1.80.3
│ ---
│ 
╵}
│   with ibm_container_cluster.cluster[0],
│   on main.tf line 77, in resource "ibm_container_cluster" "cluster":
│   77: resource "ibm_container_cluster" "cluster" {
│ 
│ ---
│ id: terraform-464898ed
Error: [0m summary: '[ERROR] Error retrieving workers of default worker pool for
│ cluster: Request
│   failed with status code: 404, ServerErrorResponse: {"incidentID":"54323e70-bc3a-4abc-b278-07881430b0c8","code":"G0008","description":"The
│   specified cluster could not be found by name. Provide the cluster ID instead.","type":"General","recoveryCLI":"To
│   list all clusters you have access to, run ''ibmcloud ks cluster ls''."}'
│ severity: error
│ resource: ibm_container_cluster
│ operation: create
│ component:
│   name: github.com/IBM-Cloud/terraform-provider-ibm
│   version: 1.80.2
│ ---
│ 
╵}
=== NAME  TestRunAgentClassicKubernetes
│ Error: Helm release error
│ 
│   with module.logs_agent.helm_release.logs_agent,
│   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
│   38: resource "helm_release" "logs_agent" {
│ 
│ context deadline exceeded
╵}
=== NAME  TestRunAgentVpcKubernetes

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

Errors:

TestFullyConfigurableUpgradeSolution 2025-07-23T16:33:57Z logger.go:67: │ Error: Request failed with status code: 500, ServerErrorResponse: {"incidentID":"4dd2eeb5-825c-af83-8377-355462dc98b9","code":"Ed196","description":"Could not connect to a backend service. Try again later.","type":""}
│ Error: Helm release error
│ 
│   with module.logs_agent.helm_release.logs_agent,
│   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
│   38: resource "helm_release" "logs_agent" {
│ 
│ context deadline exceeded
╵}
=== NAME  TestRunAgentClassicKubernetes
Error: Helm release error
│ 
│   with module.logs_agent.helm_release.logs_agent,
│   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
│   38: resource "helm_release" "logs_agent" {
│ 
│ context deadline exceeded
╵}
=== NAME  TestRunAgentVpcKubernetes

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@shemau
Copy link
Contributor

shemau commented Aug 4, 2025

/run pipeline

@shemau
Copy link
Contributor

shemau commented Aug 4, 2025

I have seen this type of issue before, it is always a provider issue.

TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ Error: Provider produced inconsistent result after apply
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ 
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ When applying changes to
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ module.iam_service_id.ibm_iam_service_api_key.service_id_apikey[0],
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ provider "provider[\"registry.terraform.io/ibm-cloud/ibm\"]" produced an
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ unexpected new value: Root object was present, but now absent.
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ 
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ This is a bug in the provider, which should be reported in the provider's
TestRunAgentVpcKubernetes 2025-08-04T14:25:47Z logger.go:67: │ own issue tracker.

@shemau
Copy link
Contributor

shemau commented Aug 5, 2025

/run pipeline

1 similar comment
@shemau
Copy link
Contributor

shemau commented Aug 5, 2025

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

Errors:

│ Error: Invalid value for variable
│ 
│   on main.tf line 85, in module "ocp_base":
│   85:   worker_pools                        = local.worker_pools
│     ├────────────────
│     │ local.ocp_version_num is "4.18"
│     │ local.os_rhcos is "RHCOS"
│     │ local.os_rhel is "REDHAT_8_64"
│     │ local.os_rhel9 is "RHEL_9_64"
│     │ var.worker_pools is list of object with 1 element
│ 
│ Invalid operating system for the given OCP version. Ensure the OS is
│ compatible with the OCP version. Supported compatible OCP version and OS
│ are v4.14: (REDHAT_8_64); v4.15: (REDHAT_8_64, RHCOS) ; v4.16 and v4.17:
│ (REDHAT_8_64, RHCOS, RHEL_9_64); v4.18: (RHCOS, RHEL_9_64)
│ 
│ This was checked by the validation rule at
│ .terraform/modules/ocp_base/variables.tf:110,3-13.
╵}
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ Warning: Helm release created with warnings
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   with module.logs_agent.helm_release.logs_agent,
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   38: resource "helm_release" "logs_agent" {
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ Helm release "logs-agent" was created but has a failed status. Use the
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ `helm` command to investigate the error, correct it, then run Terraform
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ again.
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: ╵
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: ╷
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ Error: Helm release error
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   with module.logs_agent.helm_release.logs_agent,
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │   38: resource "helm_release" "logs_agent" {
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-11T14:35:34Z logger.go:67: │ context deadline exceeded

Both errors occurred multiple times.

@Aashiq-J
Copy link
Member

/run pipeline

@kierramarie
Copy link
Member Author

Error:

TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ Warning: Helm release created with warnings
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   with module.logs_agent.helm_release.logs_agent,
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   38: resource "helm_release" "logs_agent" {
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ Helm release "logs-agent" was created but has a failed status. Use the
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ `helm` command to investigate the error, correct it, then run Terraform
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ again.
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: ╵
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: ╷
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ Error: Helm release error
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   with module.logs_agent.helm_release.logs_agent,
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   on ../../main.tf line 38, in resource "helm_release" "logs_agent":
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │   38: resource "helm_release" "logs_agent" {
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ 
TestRunAgentClassicKubernetes 2025-08-14T07:14:49Z logger.go:67: │ context deadline exceeded

Same error, will investigate locally.

@kierramarie
Copy link
Member Author

Ran on schematics and didn't get any errors. Trying again.

@kierramarie kierramarie changed the title chore: bump terraform helm version v3 and fix errors feat: bump terraform helm version v3 and fix errors Aug 28, 2025
@kierramarie
Copy link
Member Author

/run pipeline

@kierramarie
Copy link
Member Author

/run pipeline

@Aashiq-J
Copy link
Member

Aashiq-J commented Sep 5, 2025

Changes added to this PR: #159

@Aashiq-J Aashiq-J closed this Sep 5, 2025
@Aashiq-J Aashiq-J deleted the ks-helmv3 branch September 5, 2025 10:12
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.

4 participants