Skip to content

Conversation

@andfasano
Copy link
Contributor

@andfasano andfasano commented Sep 13, 2021

This PR adds a new install-config field to store network configuration data (with validation) as described in the enhancement openshift/enhancements#817

@andfasano andfasano changed the title [WIPBaremetal networkconfig [WIP] baremetal: add NetworkConfig field Sep 13, 2021
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 13, 2021
@openshift-ci openshift-ci bot requested review from markmc and rna-afk September 13, 2021 11:00
@andfasano andfasano force-pushed the baremetal-networkconfig branch 3 times, most recently from b514c0a to 32f08a1 Compare September 13, 2021 11:29
Copy link
Contributor

@asalkeld asalkeld left a comment

Choose a reason for hiding this comment

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

looks mostly good to me, but not an installer guru..

@hardys
Copy link

hardys commented Sep 14, 2021

/label platform/baremetal

@openshift-ci openshift-ci bot added the platform/baremetal IPI bare metal hosts platform label Sep 14, 2021
@andfasano andfasano force-pushed the baremetal-networkconfig branch from 32f08a1 to 4d25357 Compare September 15, 2021 16:45
@andfasano
Copy link
Contributor Author

/retest

@andfasano andfasano force-pushed the baremetal-networkconfig branch from 4d25357 to c8b3f5c Compare September 23, 2021 09:00
@andfasano andfasano changed the title [WIP] baremetal: add NetworkConfig field baremetal: add NetworkConfig field Sep 23, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 23, 2021
@andfasano andfasano force-pushed the baremetal-networkconfig branch 2 times, most recently from 6ee4b61 to 7a9d18c Compare September 23, 2021 09:50
@kirankt
Copy link
Contributor

kirankt commented Sep 23, 2021

/retest

Copy link
Contributor

@kirankt kirankt left a comment

Choose a reason for hiding this comment

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

Looks good to me, but lets wait for the enhancement to merge before committing this.
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 23, 2021
@kirankt
Copy link
Contributor

kirankt commented Sep 23, 2021

/approve
Please remove the hold once the enhancement merges

@imain
Copy link
Contributor

imain commented Sep 27, 2021

LGTM

@andfasano
Copy link
Contributor Author

/retest

3 similar comments
@andfasano
Copy link
Contributor Author

/retest

@kirankt
Copy link
Contributor

kirankt commented Oct 4, 2021

/retest

@kirankt
Copy link
Contributor

kirankt commented Oct 11, 2021

/retest

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 17, 2021
@romfreiman
Copy link

@osherdp @eliorerz PTAL what happens to AI test

@eliorerz
Copy link

eliorerz commented Oct 18, 2021

/test e2e-metal-assisted

@andfasano
Copy link
Contributor Author

Do you have a reference to a specific failed mandatory build?

Why failed? :) I dont know, that's why I suggested to verify it prior to pushing

Because this PR did not yet merge, and the rehearsal jobs are used to catch any regression before that point - and it looks like there's an assisted test configured in the installer repo which passed until now, without showing any evidence related to such change.

@andfasano
Copy link
Contributor Author

/retest

@osherdp
Copy link

osherdp commented Oct 18, 2021

@romfreiman @andfasano
@eliorerz is working on fixing assisted job

@zaneb
Copy link
Member

zaneb commented Nov 5, 2021

/retest

1 similar comment
@andfasano
Copy link
Contributor Author

/retest

@andfasano
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 8, 2021
Copy link
Contributor

@kirankt kirankt left a comment

Choose a reason for hiding this comment

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

/approve

@sadasu
Copy link
Contributor

sadasu commented Nov 9, 2021

/retest

@sadasu
Copy link
Contributor

sadasu commented Nov 9, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 9, 2021
Copy link
Contributor

@staebler staebler left a comment

Choose a reason for hiding this comment

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

/approve

Copy link
Contributor

Choose a reason for hiding this comment

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

Please add documentation here for this field so that it shows up in the openshift-install explain output.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw that Host fields have been documented just here. Do you maybe mean adding a description also for all of them?

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure that we want this to be a string rather than a map[string]interface{}? I would expect the user to want to enter in-line yaml rather than a text string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The installer manages it essentially as a blob (it will be stored also in a secret, see PR 5247) and will pass it as it is to the image builder container (with a just a minimal validation).

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 16, 2021
Allow to specify desidered host networking settings yaml
compatible with NMState as a new install-config field.
Validation rule ensures that the string is at least a
valid generic yaml.
@andfasano andfasano force-pushed the baremetal-networkconfig branch from 47e1f2c to e367de3 Compare November 16, 2021 14:39
@openshift-ci openshift-ci bot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 16, 2021
@andfasano
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 22, 2021

@andfasano: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-workers-rhel7 47e1f2cff385d763d6c071d0dff4366a18a8c589 link false /test e2e-aws-workers-rhel7
ci/prow/e2e-aws-workers-rhel8 47e1f2cff385d763d6c071d0dff4366a18a8c589 link false /test e2e-aws-workers-rhel8
ci/prow/okd-e2e-aws-upgrade 47e1f2cff385d763d6c071d0dff4366a18a8c589 link false /test okd-e2e-aws-upgrade
ci/prow/e2e-crc 47e1f2cff385d763d6c071d0dff4366a18a8c589 link false /test e2e-crc

Full PR test history. Your PR dashboard.

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.

Copy link
Contributor

@kirankt kirankt 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 openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 30, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kirankt, staebler

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

/retest-required

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest-required

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

@openshift-merge-robot openshift-merge-robot merged commit f6c45dd into openshift:master Nov 30, 2021
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.