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

baremetal: configure ironic interfaces for other boot mechanisms #2766

Merged
merged 2 commits into from Dec 11, 2019

Conversation

stbenjam
Copy link
Member

@stbenjam stbenjam commented Dec 6, 2019

In order to support additional mechanisms for provisioning machines
beyond iPXE, such as Virtual Media, we need to be able to configure
various interfaces (boot_interface, power_interface, etc). This data comes from baremetal-operator, as baremetal-operator's BMC code now handles providers that use virtual media. Venoring was updated using the following command:

dep ensure -update github.com/metal3-io/baremetal-operator

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 6, 2019
@dhellmann
Copy link
Contributor

These are ironic "interfaces" right? Not network interfaces? If that's right, we might want different names to avoid confusing the two and to avoid exposing too directly the details of ironic through the interfaces in OpenShift. In fact, if we can aggregate these things into some sort of unified thing so a user only has to give us one value for a host that would be even better.

@stbenjam
Copy link
Member Author

stbenjam commented Dec 6, 2019

These are ironic "interfaces" right? Not network interfaces? If that's right, we might want different names to avoid confusing the two and to avoid exposing too directly the details of ironic through the interfaces in OpenShift. In fact, if we can aggregate these things into some sort of unified thing so a user only has to give us one value for a host that would be even better.

Yes, these are all Ironic interfaces. This PR was just how I thought metal3-io/baremetal-operator#359 would work.

Today, the BMO exposes a "BootInterface" as part of access details which is specific to Ironic, it could be one thing like an Interfaces() function or something. These are all top-level params sent as part of configuring a node in Ironic

@dhellmann
Copy link
Contributor

These are ironic "interfaces" right? Not network interfaces? If that's right, we might want different names to avoid confusing the two and to avoid exposing too directly the details of ironic through the interfaces in OpenShift. In fact, if we can aggregate these things into some sort of unified thing so a user only has to give us one value for a host that would be even better.

Yes, these are all Ironic interfaces. This PR was just how I thought metal3-io/baremetal-operator#359 would work.

Today, the BMO exposes a "BootInterface" as part of access details which is specific to Ironic, it could be one thing like an Interfaces() function or something. These are all top-level params sent as part of configuring a node in Ironic

OK, I think I get what you're doing now. The "top level thing" I was talking about is the BMC type, so that's good. For some reason I thought we were going to be asking the user for all of these values, but if they're going to come from the BMC code in the BMO then I think this is fine.

baremetal-operator's BMC code now handles providers that use virtual
media. Updated using the following command:

    dep ensure -update github.com/metal3-io/baremetal-operator
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 9, 2019
@stbenjam stbenjam changed the title [WIP] baremetal: configure ironic interfaces for other boot mechanisms baremetal: configure ironic interfaces for other boot mechanisms Dec 9, 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 Dec 9, 2019
In order to support additional mechanisms for provisioning machines
beyond iPXE, such as Virtual Media, we need to be able to configure
various interfaces (boot_interface, power_interface, etc).
@stbenjam
Copy link
Member Author

stbenjam commented Dec 9, 2019

/label platform/baremetal

@openshift-ci-robot openshift-ci-robot added the platform/baremetal IPI bare metal hosts platform label Dec 9, 2019
@metal3ci
Copy link

metal3ci commented Dec 9, 2019

Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/1360/

@stbenjam
Copy link
Member Author

stbenjam commented Dec 9, 2019

/assign @abhinavdahiya

@abhinavdahiya
Copy link
Contributor

/approve

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 9, 2019
@hardys
Copy link
Contributor

hardys commented Dec 10, 2019

lgtm - @dhellmann do you have any remaining comments or are we good to merge this now?

@dhellmann
Copy link
Contributor

I'm happy with this version.

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, dhellmann, stbenjam

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
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

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

@stbenjam
Copy link
Member Author

/test e2e-aws

@openshift-bot
Copy link
Contributor

/retest

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

1 similar comment
@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.

15 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-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-merge-robot openshift-merge-robot merged commit cee9c30 into openshift:master Dec 11, 2019
@stbenjam stbenjam deleted the virtual-media branch December 11, 2019 14:44
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. platform/baremetal IPI bare metal hosts platform size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants