-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Bug 2043731: Add IP outputs for IBM terraform instances #5538
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
Bug 2043731: Add IP outputs for IBM terraform instances #5538
Conversation
jstuever
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jstuever The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
data/data/ibmcloud/master/outputs.tf
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be named control_plane_ips to be picked up by default by the bootstrap gather.
| output "ip_addresses" { | |
| output "control_plane_ips" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, will update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
data/data/ibmcloud/master/outputs.tf
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend that you use the full splat operator rather than the legacy one.
| value = ibm_is_instance.master_node.*.primary_network_interface.0.primary_ipv4_address | |
| value = ibm_is_instance.master_node[*].primary_network_interface[0].primary_ipv4_address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, will update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Add the IP addresses for IBM bootstrap and master nodes to allow collecting of logs from those nodes.
2a2b60b to
0561351
Compare
|
/lgtm |
|
@cjschaef: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
Tested a |
|
/hold cancel |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@cjschaef: This pull request references Bugzilla bug 2043731, which is invalid:
Comment DetailsIn response to this:
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. |
|
/bugzilla refresh |
|
@kirankt: This pull request references Bugzilla bug 2043731, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request. DetailsIn response to this:
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. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@cjschaef: All pull requests linked via external trackers have merged: Bugzilla bug 2043731 has been moved to the MODIFIED state. DetailsIn response to this:
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. |
|
Hi @cjschaef, FYI, please note that we are seeing the following related warning messages in our build logs: AFAIK, those new variables shouldn't be also be declared within Best Regards. |
|
@pamoedom I'm not sure TBH, as I thought I ran into errors when trying to declare them, or perhaps I need to declare them a certain way for |
|
@pamoedom I'll double check terraform formatting on the warning above ( Also, I don't see the other platforms specify the But I'm not knowledgeable enough with Terraform to know whether this warning is an issue or not yet. |
|
I would not bother spending too much time on the errors as they are inconsequential at the moment. The installer pins the terraform version, so there is no concern that it will start to fail for a given OpenShift version due to terraform no longer supporting supplying a value for an undeclared variable. Many of the other platforms have similar warnings. We will likely clean this all up in 4.11. With that said, if you want to resolve the warnings, you would need to declare "bootstrap_ip" in data/data/ibmcloud/master/variables.tf and both "bootstrap_ip" and "control_plane_ips" in data/data/ibmcloud/bootstrap/variables.tf. For the latter file, the variables would need to have a default declared since the values will only be preset during the destroy phase. |
Add the IP addresses for IBM bootstrap and master nodes to allow
collecting of logs from those nodes.