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

Update inspection configuration to enable fast-track #83

Merged
merged 2 commits into from Jul 9, 2020

Conversation

hardys
Copy link

@hardys hardys commented Jun 30, 2020

Add ipa-api-url to inspector.ipxe and extra params in ironic.conf.
Without it ironic will never learn that the ramdisk has been booted
for inspection, requiring a reboot despite fast-track enabled.

NOTE: we need to configure everything in two places because there are
two inspection paths: discovery-style (via inspector.ipxe) and managed
(the same way as cleaning and deployment work).

Backport of metal3-io#163 and metal3-io#173

@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 Jun 30, 2020
@hardys
Copy link
Author

hardys commented Jun 30, 2020

/hold WIP to see CI results

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jun 30, 2020
inspector.ipxe Outdated Show resolved Hide resolved
Add ipa-api-url to inspector.ipxe and extra params in ironic.conf.
Without it ironic will never learn that the ramdisk has been booted
for inspection, requiring a reboot despite fast-track enabled.

NOTE: we need to configure everything in two places because there are
two inspection paths: discovery-style (via inspector.ipxe) and managed
(the same way as cleaning and deployment work).

 Conflicts:
	inspector.ipxe

Backport of metal3-io#163
@hardys
Copy link
Author

hardys commented Jul 7, 2020

/retitle Update inspection configuration to enable fast-track

@hardys
Copy link
Author

hardys commented Jul 7, 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 Jul 7, 2020
@openshift-ci-robot openshift-ci-robot changed the title WIP Add ipa-api-url to inspector.ipxe Update inspection configuration to enable fast-track Jul 7, 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 Jul 7, 2020
@hardys
Copy link
Author

hardys commented Jul 7, 2020

@dtantsur please can you review - there was a conflict on inspector.ipxe to check but otherwise a clean backport

@hardys hardys requested a review from dtantsur July 7, 2020 16:52
Copy link
Member

@dtantsur dtantsur left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 7, 2020
@openshift-bot
Copy link

/retest

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

10 similar comments
@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

3 similar comments
@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@dtantsur
Copy link
Member

dtantsur commented Jul 8, 2020

Could you add this commit to the PR? metal3-io#173 It fixes a problem here.

@dtantsur
Copy link
Member

dtantsur commented Jul 8, 2020

/lgtm cancel

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2020
We should only set power_off to false when fast_track is true.

Also do not pass ipa-api-url if fast-track is disabled, otherwise
IPA will think it's enabled and try lookup/heartbeat.

Cherry-picked-from: metal3-io#173
@hardys
Copy link
Author

hardys commented Jul 8, 2020

Could you add this commit to the PR? metal3-io#173 It fixes a problem here.

Done, thanks!

@hardys hardys requested a review from dtantsur July 8, 2020 14:50
Copy link
Member

@dtantsur dtantsur left a comment

Choose a reason for hiding this comment

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

/lgtm

Thanks!

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur, hardys

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-bot
Copy link

/retest

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

6 similar comments
@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit d547a5a into openshift:master Jul 9, 2020
andfasano pushed a commit to andfasano/ironic-image that referenced this pull request Nov 18, 2020
Revert "Add set -e to all the entrypoint scripts"
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.

None yet

5 participants