Skip to content

Conversation

@jhixson74
Copy link
Member

@jhixson74 jhixson74 commented Jun 25, 2021

vnet: create permanent network resources
bootstrap: create bootstrap resources
cluster: create permanent cluster resources

This is needed for Terraform v0.14.6 and later since Terraform deletions now
destroy all resource dependencies.

https://issues.redhat.com/browse/CORS-1695

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 25, 2021
@openshift-ci openshift-ci bot requested review from e-tienne and m1kola June 25, 2021 02:23
@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from af78e33 to 5b4dad8 Compare June 25, 2021 02:24
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74
Copy link
Member Author

/retest
/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from 5b4dad8 to ce4573b Compare June 28, 2021 18:10
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch 3 times, most recently from 31a1df3 to 024e6a9 Compare June 30, 2021 22:45
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from 024e6a9 to 1c65892 Compare July 1, 2021 04:44
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from 1c65892 to bad669c Compare July 1, 2021 22:36
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from bad669c to e19e7cb Compare July 8, 2021 16:45
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from e19e7cb to 27c1134 Compare July 8, 2021 17:22
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 changed the title WIP: Split Azure Terraform Split Azure Terraform into stages Jul 8, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 8, 2021
@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from 27c1134 to 8db1fa4 Compare July 14, 2021 05:12
@jhixson74 jhixson74 changed the title Split Azure Terraform into stages WIP: Split Azure Terraform into stages Jul 14, 2021
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 14, 2021
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch 2 times, most recently from 2b8e6e8 to a49bfcc Compare July 14, 2021 07:48
@jhixson74
Copy link
Member Author

/test e2e-azure

@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from a49bfcc to 498dfe6 Compare July 14, 2021 14:27
@patrickdillon patrickdillon mentioned this pull request Jul 19, 2021
2 tasks
@patrickdillon
Copy link
Contributor

We should get rid of all "Warning: Value for undeclared variable" messages by including them in the variable inputs for the modules. A quick search of CI logs turned up some, but there could be more:

time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"public_lb_id\" but a value"
time="2021-07-14T16:23:46Z" level=debug msg="was found in file"
time="2021-07-14T16:23:46Z" level=debug msg="\"/tmp/openshift-install-bootstrap-197377047/vnet.tfvars.json\". To use this"
time="2021-07-14T16:23:46Z" level=debug msg="value, add a \"variable\" block to the configuration."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Using a variables file to set an undeclared variable is deprecated and will"
time="2021-07-14T16:23:46Z" level=debug msg="become an error in a future release. If you wish to provide certain \"global\""
time="2021-07-14T16:23:46Z" level=debug msg="settings to all configurations in your organization, use TF_VAR_..."
time="2021-07-14T16:23:46Z" level=debug msg="environment variables to set these instead."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Warning: Value for undeclared variable"
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"public_lb_pip_v4_fqdn\" but"
time="2021-07-14T16:23:46Z" level=debug msg="a value was found in file"
time="2021-07-14T16:23:46Z" level=debug msg="\"/tmp/openshift-install-bootstrap-197377047/vnet.tfvars.json\". To use this"
time="2021-07-14T16:23:46Z" level=debug msg="value, add a \"variable\" block to the configuration."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Using a variables file to set an undeclared variable is deprecated and will"
time="2021-07-14T16:23:46Z" level=debug msg="become an error in a future release. If you wish to provide certain \"global\""
time="2021-07-14T16:23:46Z" level=debug msg="settings to all configurations in your organization, use TF_VAR_..."
time="2021-07-14T16:23:46Z" level=debug msg="environment variables to set these instead."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Warning: Value for undeclared variable"
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"internal_lb_ip_v4_address\"

vnet: create permanent network resources
bootstrap: create bootstrap resources
cluster: create permanent cluster resources

This is needed for Terraform v0.14.6 and later since Terraform deletions now
destroy all resource dependencies.

https://issues.redhat.com/browse/CORS-1695
@jhixson74 jhixson74 force-pushed the master_terraform_split_azure branch from 498dfe6 to f80acc2 Compare July 20, 2021 17:06
Copy link
Member Author

@jhixson74 jhixson74 left a comment

Choose a reason for hiding this comment

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

We should get rid of all "Warning: Value for undeclared variable" messages by including them in the variable inputs for the modules. A quick search of CI logs turned up some, but there could be more:

time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"public_lb_id\" but a value"
time="2021-07-14T16:23:46Z" level=debug msg="was found in file"
time="2021-07-14T16:23:46Z" level=debug msg="\"/tmp/openshift-install-bootstrap-197377047/vnet.tfvars.json\". To use this"
time="2021-07-14T16:23:46Z" level=debug msg="value, add a \"variable\" block to the configuration."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Using a variables file to set an undeclared variable is deprecated and will"
time="2021-07-14T16:23:46Z" level=debug msg="become an error in a future release. If you wish to provide certain \"global\""
time="2021-07-14T16:23:46Z" level=debug msg="settings to all configurations in your organization, use TF_VAR_..."
time="2021-07-14T16:23:46Z" level=debug msg="environment variables to set these instead."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Warning: Value for undeclared variable"
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"public_lb_pip_v4_fqdn\" but"
time="2021-07-14T16:23:46Z" level=debug msg="a value was found in file"
time="2021-07-14T16:23:46Z" level=debug msg="\"/tmp/openshift-install-bootstrap-197377047/vnet.tfvars.json\". To use this"
time="2021-07-14T16:23:46Z" level=debug msg="value, add a \"variable\" block to the configuration."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Using a variables file to set an undeclared variable is deprecated and will"
time="2021-07-14T16:23:46Z" level=debug msg="become an error in a future release. If you wish to provide certain \"global\""
time="2021-07-14T16:23:46Z" level=debug msg="settings to all configurations in your organization, use TF_VAR_..."
time="2021-07-14T16:23:46Z" level=debug msg="environment variables to set these instead."
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="Warning: Value for undeclared variable"
time="2021-07-14T16:23:46Z" level=debug
time="2021-07-14T16:23:46Z" level=debug msg="The root module does not declare a variable named \"internal_lb_ip_v4_address\"

Removing cluster/vnet probably fixes this.

@jhixson74
Copy link
Member Author

/test e2e-azure

1 similar comment
@patrickdillon
Copy link
Contributor

/test e2e-azure

@patrickdillon
Copy link
Contributor

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 22, 2021
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

7 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@patrickdillon
Copy link
Contributor

/skip

@patrickdillon
Copy link
Contributor

/retest-required

2 similar comments
@patrickdillon
Copy link
Contributor

/retest-required

@patrickdillon
Copy link
Contributor

/retest-required

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 22, 2021

@jhixson74: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-openstack-kuryr f80acc2 link /test e2e-openstack-kuryr
ci/prow/e2e-libvirt f80acc2 link /test e2e-libvirt
ci/prow/e2e-crc f80acc2 link /test e2e-crc
ci/prow/e2e-metal-ipi-ovn-ipv6 f80acc2 link /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-aws-workers-rhel7 f80acc2 link /test e2e-aws-workers-rhel7

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@patrickdillon
Copy link
Contributor

/retest-required

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 6f0d506 into openshift:master Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants