Skip to content

[FCOS] Update vSphere UPI#2671

Merged
openshift-merge-robot merged 6 commits intoopenshift:fcosfrom
vrutkovs:fcos-vmware-path
Jan 19, 2020
Merged

[FCOS] Update vSphere UPI#2671
openshift-merge-robot merged 6 commits intoopenshift:fcosfrom
vrutkovs:fcos-vmware-path

Conversation

@vrutkovs
Copy link
Copy Markdown
Contributor

@vrutkovs vrutkovs commented Nov 14, 2019

Update OVA path in rhcos.json to official Fedora CoreOS.

This uses a forked version of ignition terraform provider to support spec3, updates UPI dockerfile to use it and uses NM keyfiles to replace no longer supported ifcfgs.

This PR also avoids an extra reboot to set static IP - only NM is being restarted instead

TODO:

Fixes okd-project/okd#14

@openshift-ci-robot openshift-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 14, 2019
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 14, 2019
Comment thread data/data/rhcos.json Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Will all of the platforms builds be available at this URI? We use this location for IPI baremetal to download/cache the openstack qcow2 image so it'd be good to confirm it that's likely to work :)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

https://builds.coreos.fedoraproject.org/prod/streams/testing/builds/30.20191014.0/x86_64/rhcos-43.80.20191002.1-openstack.x86_64.qcow2 403s so I guess the answer is no - will we rename all the filenames to fcos to align with this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, eventually. So far only Azure and GCP artifacts are not available.

I'm splitting updates into several PRs so that these could be tested and tracked separately

Copy link
Copy Markdown
Contributor Author

@vrutkovs vrutkovs Nov 14, 2019

Choose a reason for hiding this comment

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

These are xz compressed - https://builds.coreos.fedoraproject.org/prod/streams/testing/builds/30.20191014.0/x86_64/fedora-coreos-30.20191014.0-openstack.x86_64.qcow2.xz, so for openstack/libvirt/baremetal a different PR is required, which implements xz uncompress

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ack #2657 merged which adds gz decompression and a way to plug in xz compression with a new decompress function.

We'll also need to update https://github.com/openshift/ironic-rhcos-downloader to support xz compression.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ah nice I see you have the installer xz support in-progress via #2678 - I'll push a pr adding xz support to ironic-rhcos-downloader (which is also in the process of being renamed btw)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, lets focus on vSphere in this PR. Other platforms support would be fixed in followup PRs.

Baremetal needs quite a few fixes:

  • switch CI to replace 'ironic-*' images with metal3 images (so that we won't release OSP code in OKD)
  • Use generic name in ironic-rhcos-downloader name (I don't think there is consensus on this yet)
  • fix links in the installer and setup baremetal OKD CI

@vrutkovs
Copy link
Copy Markdown
Contributor Author

/cc @smarterclayton @LorbusChris

It seems vsphere support can be added right away

@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 15, 2019
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

@vrutkovs vrutkovs force-pushed the fcos-vmware-path branch 2 times, most recently from 79f42b5 to 1463540 Compare November 18, 2019 13:26
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

@vrutkovs vrutkovs force-pushed the fcos-vmware-path branch 2 times, most recently from 1e88a02 to cac2160 Compare November 19, 2019 10:19
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 19, 2019
@vrutkovs vrutkovs force-pushed the fcos-vmware-path branch 2 times, most recently from 9e913e8 to e9efa89 Compare November 19, 2019 15:02
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 19, 2019
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 17, 2020
@LorbusChris
Copy link
Copy Markdown
Contributor

/retest

@LorbusChris
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2020
@LorbusChris
Copy link
Copy Markdown
Contributor

/retest

@vrutkovs
Copy link
Copy Markdown
Contributor Author

vrutkovs commented Jan 19, 2020

ovnkube-master gets stuck due to two interfaces:

++ getent ahostsv4 control-plane-2
++ awk '{print $1}'
+ host='139.178.87.133
172.17.0.1'

UPD CI picked up an older cluster-network-operator for some reason

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2020
@vrutkovs
Copy link
Copy Markdown
Contributor Author

vrutkovs commented Jan 19, 2020

time="2020-01-19T16:04:40Z" level=fatal msg="failed to obtain local IP from hostname "compute-0": Failed to lookup IP address for node compute-0: lookup compute-0 on 1.1.1.1:53: no such host"

Seems OVN won't accept fake node names. It uses hostname (as identified by k8s), but it cannot resolve it using upstream DNS

@vrutkovs vrutkovs force-pushed the fcos-vmware-path branch 2 times, most recently from e89b7a7 to fa30a14 Compare January 19, 2020 20:45
OVN attempts to resolve node name to find out its IP, so it cannot be
phoney. OVN, unfortunately, doesn't use search domains, so in order
to join the node CI terraform scripts use node IP as a name
@LorbusChris
Copy link
Copy Markdown
Contributor

/lgtm

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

Prometheus when installed on the cluster should have important platform topology metrics test is failing.

/hold cancel

Lets see if this is a flake (afaik even OCP's AWS UPI install is affected)

@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 Jan 19, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

Test name Commit Details Rerun command
ci/prow/e2e-vsphere 92030e8 link /test e2e-vsphere

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@vrutkovs
Copy link
Copy Markdown
Contributor Author

Right, that affects AWS UPI too - https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.4/497

/override ci/prow/e2e-vsphere

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@vrutkovs: Overrode contexts on behalf of vrutkovs: ci/prow/e2e-vsphere

Details

In response to this:

Right, that affects AWS UPI too - https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.4/497

/override ci/prow/e2e-vsphere

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 be80749 into openshift:fcos Jan 19, 2020
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants