Skip to content
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 1840782: Update conditions under which metal3 pod would be deployed #560

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

sadasu
Copy link
Contributor

@sadasu sadasu commented Apr 17, 2020

Changes to accommodate Baremetal UPI deployments or assisted baremetal deployments where the platform type would be Baremetal without a need to deploy the metal3 pod.

@sadasu
Copy link
Contributor Author

sadasu commented Apr 17, 2020

@hardys and @yevgeny-shnaidman could this be a way to handle the other baremetal mode that you were discussing here https://github.com/openshift/enhancements/pull/212/files#r409393934

@yevgeny-shnaidman
Copy link

yevgeny-shnaidman commented Apr 17, 2020 via email

@yevgeny-shnaidman
Copy link

yevgeny-shnaidman commented Apr 21, 2020 via email

@sadasu
Copy link
Contributor Author

sadasu commented Apr 21, 2020

Yes, it might. One suggestion: if it is not too late, maybe you can move the call to isBaremetalProvisioningConfigAvailable from syncAll to maoConfigFromInfrastructure, to where the value of usingBareMetal is set. It can be something like: usingBareMetal := (provider == osconfigv1.BareMetalPlatformType && isBaremetalProvisioningConfigAvailable()) then you don't need to change syncAll and syncBaremetalControllers functions at all.

@yevgeny-shnaidman I would like to keep the check for the presence of the provisioning CR within the sync logic because it is possible that we are unable to read the CR due to some transient connectivity issues. We want to keep retrying to read that. With the current implementation we will not be flooding the logs with info messages when the provisioning CR is not really present.

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-aws-scaleup-rhel7

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-aws-upgrade

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-aws-operator

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-azure-operator

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

Would like to point out that this fix is not temporary. This same logic would be carried forward to the new operator when it is ready.

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-aws-operator

@sadasu
Copy link
Contributor Author

sadasu commented Apr 22, 2020

/test e2e-azure-operator

@yevgeny-shnaidman
Copy link

yevgeny-shnaidman commented Apr 22, 2020 via email

@sadasu sadasu changed the title Update conditions under which metal3 pod would be deployed WIP: Update conditions under which metal3 pod would be deployed Apr 28, 2020
@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 Apr 28, 2020
@sadasu
Copy link
Contributor Author

sadasu commented Apr 28, 2020

/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 Apr 28, 2020
@sadasu sadasu force-pushed the baremetal-modes branch from 52732f8 to e11509b Compare May 11, 2020 17:12
@sadasu sadasu changed the title WIP: Update conditions under which metal3 pod would be deployed Update conditions under which metal3 pod would be deployed May 11, 2020
@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 May 11, 2020
@sadasu
Copy link
Contributor Author

sadasu commented May 11, 2020

/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 May 11, 2020
@romfreiman
Copy link

@sadasu any eta on this commit?

@sadasu
Copy link
Contributor Author

sadasu commented May 11, 2020

@enxebre and @JoelSpeed could you please take a look?

@sadasu
Copy link
Contributor Author

sadasu commented May 11, 2020

/test e2e-aws-scaleup-rhel7

@sadasu
Copy link
Contributor Author

sadasu commented May 11, 2020

/test e2e-azure-operator

@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/retest

@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/test e2e-azure

@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/test e2e-gcp

@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/test e2e-azure

Copy link
Contributor

@michaelgugino michaelgugino left a comment

Choose a reason for hiding this comment

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

Just a couple of suggestions for a follow up patch later.

@michaelgugino
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 25, 2020
@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/retest

3 similar comments
@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/retest

@sadasu
Copy link
Contributor Author

sadasu commented Aug 25, 2020

/retest

@sadasu
Copy link
Contributor Author

sadasu commented Aug 26, 2020

/retest

@sadasu
Copy link
Contributor Author

sadasu commented Aug 26, 2020

/test e2e-azure

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elmiko

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

The pull request process is described here

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 26, 2020
@openshift-bot
Copy link
Contributor

/retest

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

8 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 27, 2020

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

Test name Commit Details Rerun command
ci/prow/e2e-aws-scaleup-rhel7 f79e01c link /test e2e-aws-scaleup-rhel7
ci/prow/e2e-azure a10acb9 link /test e2e-azure

Full PR test history. Your PR dashboard.

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.

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit 23447c1 into openshift:master Aug 27, 2020
@openshift-ci-robot
Copy link
Contributor

@sadasu: All pull requests linked via external trackers have merged:

Bugzilla bug 1840782 has been moved to the MODIFIED state.

In response to this:

Bug 1840782: Update conditions under which metal3 pod would be deployed

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.

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/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.