Skip to content

Bug 1734539: Openstack: Option to set multiple external DNS IP Addresses#2132

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
iamemilio:custom-dns
Oct 25, 2019
Merged

Bug 1734539: Openstack: Option to set multiple external DNS IP Addresses#2132
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
iamemilio:custom-dns

Conversation

@iamemilio
Copy link
Copy Markdown

@iamemilio iamemilio commented Jul 31, 2019

Adds an option in the installer that allows users to add the ip addresses of dns servers. These IP's will be added to the nodes subnet.

Bug Fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1734539

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 31, 2019
@iamemilio iamemilio changed the title Optionally set multiple external DNS IP Addresses [openstack] Optionally set multiple external DNS IP Addresses Jul 31, 2019
@iamemilio iamemilio changed the title [openstack] Optionally set multiple external DNS IP Addresses Optionally set multiple external DNS IP Addresses Jul 31, 2019
@iamemilio iamemilio changed the title Optionally set multiple external DNS IP Addresses [WIP] Optionally set multiple external DNS IP Addresses Jul 31, 2019
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 31, 2019
@iamemilio iamemilio force-pushed the custom-dns branch 2 times, most recently from f79d659 to 59cd73a Compare July 31, 2019 20:21
@iamemilio
Copy link
Copy Markdown
Author

/test e2e-aws

@iamemilio iamemilio changed the title [WIP] Optionally set multiple external DNS IP Addresses Optionally set multiple external DNS IP Addresses Jul 31, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 31, 2019
@iamemilio iamemilio changed the title Optionally set multiple external DNS IP Addresses Openstack: Option to set multiple external DNS IP Addresses Jul 31, 2019
@iamemilio
Copy link
Copy Markdown
Author

/test e2e-aws-scaleup-rhel7

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Shouldn't external_dns be the preferred resolver if it is set?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

var.external_dns should be moved outside of the array.

@iamemilio iamemilio force-pushed the custom-dns branch 2 times, most recently from c5191e4 to 815cd25 Compare August 1, 2019 14:19
@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 1, 2019
@iamemilio
Copy link
Copy Markdown
Author

iamemilio commented Aug 1, 2019

Dependant on #1959

@tomassedovic
Copy link
Copy Markdown
Contributor

/hold

The OpenStack CI is non-voting so I'm putting a hold on this so we don't accidentally merge it before #1959.

The change itself looks good to me.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 1, 2019
@tomassedovic
Copy link
Copy Markdown
Contributor

/retest

1 similar comment
@mandre
Copy link
Copy Markdown
Member

mandre commented Aug 6, 2019

/retest

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 8, 2019
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 9, 2019
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2019
@iamemilio iamemilio force-pushed the custom-dns branch 2 times, most recently from db424be to 7ee6972 Compare October 25, 2019 13:26
Comment thread pkg/types/openstack/platform.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: This comment as well as the comments for the rest of the fields except DefaultMachinePlatform is not following the best practice. It should be a complete sentence--rather than having the field name on its own line--and end with a period. Following this convention allows automatic generation of documentation using doc command.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I can open a seperate PR to address this, if thats ok

Comment thread pkg/tfvars/openstack/openstack.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: this function signature is getting ridiculously long. this is not a problem with your pr and you don't need to fix it. it is probably like this in many packages other than openstack but I just wanted to take this opportunity to point that out.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

agreed, It actually is more a problem with our platform than others. I'm going to make an action item to align more with how aws calls this function

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it can also be helpful to have a valid test case.

@patrickdillon
Copy link
Copy Markdown
Contributor

code looks good to me.

@patrickdillon
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2019
@abhinavdahiya
Copy link
Copy Markdown
Contributor

abhinavdahiya commented Oct 25, 2019

/approve

would like to see @patrickdillon 2 comments addressed.
correct godoc field comment
valid unit test case for external dnses

but if you think those can be done as follow-up feel free to lift the hold.

/hold

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 25, 2019
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2019
@iamemilio
Copy link
Copy Markdown
Author

I will address the comments that do not follow best practice in another pull request. All components related to this feature have been updated to match best practices.

will cancel hold after unit tests pass

@iamemilio
Copy link
Copy Markdown
Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 25, 2019
@tomassedovic
Copy link
Copy Markdown
Contributor

/lgtm

@iamemilio please make the requested changes in a follow-up patch.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, iamemilio, mandre, patrickdillon, tomassedovic

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-merge-robot openshift-merge-robot merged commit f72704a into openshift:master Oct 25, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@iamemilio: All pull requests linked via external trackers have merged. Bugzilla bug 1734539 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1734539: Openstack: Option to set multiple external DNS IP Addresses

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.

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@iamemilio: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-disruptive 266bc21b191b9c3a996f5d625cce08e1228734b5 link /test e2e-aws-disruptive
ci/prow/e2e-aws-scaleup-rhel7 3d7107a link /test e2e-aws-scaleup-rhel7

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@diegobranno
Copy link
Copy Markdown

Hi guys,
I have the same problem with RedHat Openshift 4.3.0 on RedHat Openstack 13.
Is it possible to apply what you have described for external DNS? If yes, how should I apply it?
Thanks.
Diego.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. platform/openstack size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.