Skip to content

Revert "openstack: Allow to run MCO changes independently of the installer patches" - #1040

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
Fedosin:enable_template_rendering
Aug 9, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
Fedosin:enable_template_rendering

Conversation

@Fedosin

@Fedosin Fedosin commented Aug 6, 2019 •

Copy link
Copy Markdown
Contributor

This reverts commit 759702e.

openshift/installer#1959 is merged, so we can enable template rendering again.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 6, 2019
@Fedosin

Fedosin commented Aug 6, 2019

Copy link
Copy Markdown
Contributor Author

/hold

@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 6, 2019
@kikisdeliveryservice

kikisdeliveryservice commented Aug 6, 2019 •

Copy link
Copy Markdown
Contributor

@Fedosin that commit (commit 759702e) says it should be reverted once openshift/installer#1959 merges and that installer PR says it needs (commit 759702e). Was that message a mistake?

@Fedosin

Fedosin commented Aug 7, 2019

Copy link
Copy Markdown
Contributor Author

@kikisdeliveryservice as I understand there is a cyclic dependence between #740 and openshift/installer#1959. So we can't merge neither without breaking the ci. As a fix @mandre suggested to temporary disable template rendering for OpenStack as a part of #740 (759702e), then merge openshift/installer#1959 and finally revert 759702e to enable rendering again.

@mandre

mandre commented Aug 7, 2019 •

Copy link
Copy Markdown
Member

Correct, 759702e is only useful to keep e2e-openstack green until openshift/installer#1959 merges and can be safely reverted after that.

@Fedosin
Fedosin force-pushed the enable_template_rendering branch from fe7edab to f73fc74 Compare August 7, 2019 14:10
@Fedosin Fedosin changed the title Revert "openstack: Allow to run MCO changes independently of the installer patches" Temporarily disable template rendering for all openstack files except "afterburn-hostname.yaml" Aug 7, 2019
@Fedosin

Fedosin commented Aug 7, 2019

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-op

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor

ahhh gotcha! thanks for the explanations @Fedosin & @mandre

Comment thread pkg/controller/template/render.go Resolved
@Fedosin
Fedosin force-pushed the enable_template_rendering branch from f73fc74 to a06a5a6 Compare August 7, 2019 18:08
@kikisdeliveryservice

Copy link
Copy Markdown
Contributor

/test unit

@Fedosin
Fedosin force-pushed the enable_template_rendering branch from a06a5a6 to b5925b4 Compare August 7, 2019 21:09
Comment thread pkg/controller/template/render.go Outdated

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.

The problem is that if it merges, can't have green CI on openshift/installer#1959 as this won't render the templates.

In the patch you reverted, I checked for config.ControllerConfigSpec.Infra.Status.PlatformStatus.OpenStack that is set in openshift/installer#1959.

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.

Something like if config.ControllerConfigSpec.Infra.Status.PlatformStatus.OpenStack == nil && strings.Contains(info.Name(), "openstack") && !strings.Contains(info.Name(), "afterburn-hostname.yaml") { should do it.

…aller patches"

This reverts commit 759702e.

installer/1959 is merged, so we can enable template rendering again.
@Fedosin
Fedosin force-pushed the enable_template_rendering branch from b5925b4 to 38663d3 Compare August 8, 2019 16:59
@Fedosin Fedosin changed the title Temporarily disable template rendering for all openstack files except "afterburn-hostname.yaml" Revert "openstack: Allow to run MCO changes independently of the installer patches" Aug 8, 2019
@Fedosin

Fedosin commented Aug 8, 2019

Copy link
Copy Markdown
Contributor 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 Aug 8, 2019
@kikisdeliveryservice

Copy link
Copy Markdown
Contributor

/test e2e-aws-op

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor

@Fedosin so @mandre said that this PR might be unneeded now?

See here: #1050 (comment)

@kikisdeliveryservice

kikisdeliveryservice commented Aug 8, 2019 •

Copy link
Copy Markdown
Contributor

AHH ok I see, this is now just doing the reverted mentioned in 1050.

ok so openshift/installer#1959 has been fully approved but is technically not merged yet, so going to just hold this until it's fully merged so we dont break anything over there (ci is weird and sometimes slow). I'll check in on it today and lift the hold / approve and get this in once that installer PR is purple.

/hold

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor

/hold

@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 8, 2019
@Fedosin

Fedosin commented Aug 8, 2019

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-upgrade

@Fedosin

Fedosin commented Aug 9, 2019

Copy link
Copy Markdown
Contributor 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 Aug 9, 2019
@mandre

mandre commented Aug 9, 2019

Copy link
Copy Markdown
Member

/test e2e-openstack

@runcom

runcom commented Aug 9, 2019

Copy link
Copy Markdown
Member

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 9, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Fedosin, runcom

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 9, 2019
@openshift-merge-robot
openshift-merge-robot merged commit 0497bb5 into openshift:master Aug 9, 2019
ptalgulk01 pushed a commit to ptalgulk01/machine-config-operator that referenced this pull request May 15, 2026
Revert "openstack: Allow to run MCO changes independently of the installer patches"
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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants