Closed kcchu closed 3 years ago
same here
Can only upgrade from 4.5 to 4.6
Workaround: use previous stable (F32-based) for now
issue replicated using the F32-based AMI.
Version openshift-install-linux-4.6.0-0.okd-2020-12-12-135354
AMI fedora-coreos-32.20201104.3.0
Workaround: use previous stable (F32-based) for now
FYI for anyone else running across this. ISO download link is https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/32.20201104.3.0/x86_64/fedora-coreos-32.20201104.3.0-live.x86_64.iso
For me, this statement in storage.links in the initial ignition file (necessary for all node types) worked around the problem:
{
"group": {},
"path": "/etc/resolv.conf",
"user": {},
"target": "../run/systemd/resolve/resolv.conf"
}
Then a cluster deployment based on FCOS33-20201201 just completed successfully.
The workaround suggested by @kai-uwe-rommel is working fine also in my use case, allowing to deploy OKD. Thanks for the hint.
Version openshift-install-linux-4.6.0-0.okd-2020-12-12-135354
AMI Fedora CoreOS 33.20201209
This solved it for me too
For me, this statement in storage.links in the initial ignition file (necessary for all node types) worked around the problem:
{ "group": {}, "path": "/etc/resolv.conf", "user": {}, "target": "../run/systemd/resolve/resolv.conf" }
Then a cluster deployment based on FCOS33-20201201 just completed successfully.
I have followed https://medium.com/@craig_robinson/openshift-4-4-okd-bare-metal-install-on-vmware-home-lab-6841ce2d37eb to install 4.6 without success( but 4.4 is okay), and i figured out, the problem is the selinux problem to create stub-resolv.conf, I see that your work may help me to have a work around, Can you please suggest that where can i put the storage.link information? thank you!
Well, as I wrote, in your ignition file in the "storage" section under "links"... So either you use (like I do) short stub ignition files where you merge the ones from openshift-install and then you put this into these small files. Or you need to modify the real ignition files (I would avoid this).
Well, as I wrote, in your ignition file in the "storage" section under "links"... So either you use (like I do) short stub ignition files where you merge the ones from openshift-install and then you put this into these small files. Or you need to modify the real ignition files (I would avoid this).
From the openshift-install generated bootstrap.ign, master.ign, etc file, i cannot find the "links" wording Do you mean i can put in storage section from a append-bootstrap.ign file as below and point to generated bootstrap.ign file:
============append-bootstrap.ign=============
{
"ignition": {
"config": {
"merge": [
{
"source": "http://
I personally would suggtest that you move to "indirect" ignition files merged remotely from a http server into very small initial ignition files for all three node types, not just for the bootstrap node. That's what I do.
And then an initial ignition file can look like this (I added more stuff, this is just a sample):
{ "ignition": { "config": { "merge": [ { "source": "http://1.2.3.4/master.ign", "verification": {} } ] }, "security": { "tls": {} }, "timeouts": {}, "version": "3.0.0" }, "passwd": { "users": [ { "name": "sysadmin", "passwordHash": "....", "groups": [ "sudo", "docker" ] } ] }, "storage": { "files": [ { "group": {}, "overwrite": true, "path": "/etc/hostname", "user": {}, "contents": { "source": "data:,master-03.kur-test.ars.de", "verification": {} }, "mode": 420 }, { "group": {}, "overwrite": true, "path": "/etc/hosts", "user": {}, "contents": { "source": "data:text/plain;base64,.....", "verification": {} }, "mode": 420 }, { "group": {}, "overwrite": true, "path": "/etc/NetworkManager/system-connections/ens192.nmconnection", "user": {}, "contents": { "source": "data:text/plain;base64,...", "verification": {} }, "mode": 384 }, { "group": {}, "overwrite": true, "path": "/etc/chrony.conf", "user": {}, "contents": { "source": "data:text/plain;base64,...", "verification": {} }, "mode": 384 }, { "group": {}, "overwrite": true, "path": "/etc/pki/ca-trust/source/anchors/ca-chain.crt", "user": {}, "contents": { "source": "data:text/plain;base64,....", "verification": {} }, "mode": 384 } ], "links": [ { "group": {}, "path": "/etc/localtime", "user": {}, "target": "../usr/share/zoneinfo/UTC" }, { "group": {}, "path": "/etc/resolv.conf", "user": {}, "target": "../run/systemd/resolve/resolv.conf" } ] }, "systemd": {} }
Workaround: use previous stable (F32-based) for now
FYI for anyone else running across this. ISO download link is https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/32.20201104.3.0/x86_64/fedora-coreos-32.20201104.3.0-live.x86_64.iso
Thanks.
Also for other distros, you can get the latest v33 download link from fcos download page, and substitute the version with 32.20201104.3.0
in both builds/VERSION/x86_64/
and fedora-coreos-VERSION-....
in the URL, and it should work. (I've tested openstack qcow2).
Duplicate of https://github.com/openshift/okd/issues/477
This is resolved in the new release.
openshift-install 4.6.0-0.okd-2021-02-14-205305
FCOS 33.20210117.3.2 stable
Describe the bug Bootstrap could not run on fresh UPI installation on stable FCOS 33.20201201.3.0 for this error:
Apparently the OS files were not provisioned correctly. The
/etc/resolv.conf
is symlinked to a nonexistent fileVersion openshift-install-linux-4.6.0-0.okd-2020-12-12-135354
How reproducible
coreos-installer
and the bootstrap.ign generated in step 1journalctl -b -f -u release-image.service -u bootkube.service
Log bundle Bootstrap node not starting on fresh installation