Skip to content

Conversation

@vrutkovs
Copy link

@vrutkovs vrutkovs commented Feb 14, 2020

MCO is placing a script on every node to setup non-virtual-ip via NM (see https://github.com/openshift/machine-config-operator/blob/fcos/templates/worker/00-worker/openstack/files/openstack-non-virtual-ip.yaml)

This script runs on host and requires Python on host. Instead this script should be in baremetalcfg-runtime container. MCO should use a podman wrapper with --net=host to run it in container, as some hosts (e.g. Fedora CoreOS) may not have python installed.

Eventually this script should be rewritten in golang.

Reference: openshift/machine-config-operator#1430

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 14, 2020
@celebdor
Copy link
Contributor

/assign celebdor

@metal3ci
Copy link

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1516/

@vrutkovs
Copy link
Author

This script is not yet being used anywhere, so its safe to merge

@vrutkovs
Copy link
Author

Tested this on OKD - workers join the cluster as expected.

/cc @celebdor

PTAL.

@mandre
Copy link
Member

mandre commented Feb 21, 2020

This script was recently modified by commits openshift/machine-config-operator@cdd53fc and openshift/machine-config-operator@d93d1e9.

As of yesterday with openshift/machine-config-operator#1483, OpenStack also uses this newer non-virtual-ip script. The same PR introduced another python script (sorry) that should be added to baremetal-runtimecfg the same way.

@vrutkovs vrutkovs force-pushed the non-virtual-ip-script branch from d73a337 to 62589c5 Compare February 21, 2020 09:21
@metal3ci
Copy link

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1526/

@vrutkovs
Copy link
Author

/retest

@mandre
Copy link
Member

mandre commented Feb 21, 2020

/lgtm

The scripts now functionally match the BM and OpenStack ones in master MCO. There are some whitespace diffs that will make pep8 complain, but I do not think we care here, do we?

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 21, 2020
@vrutkovs
Copy link
Author

/retest

@metal3ci
Copy link

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1527/

@vrutkovs
Copy link
Author

/retest

Prow issues

@celebdor
Copy link
Contributor

/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: celebdor, mandre, vrutkovs

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 Feb 21, 2020
@vrutkovs
Copy link
Author

/cherry-pick release-4.4

@openshift-cherrypick-robot

@vrutkovs: once the present PR merges, I will cherry-pick it on top of release-4.4 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.4

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.

@openshift-merge-robot openshift-merge-robot merged commit e9f1d1b into openshift:master Feb 21, 2020
@openshift-cherrypick-robot

@vrutkovs: new pull request created: #48

Details

In response to this:

/cherry-pick release-4.4

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. CI check this PR with CI lgtm Indicates that a PR is ready to be merged. 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.

8 participants