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

c9s: rpm-ostreed fails to start when installing an OKD cluster #1558

Closed
karmab opened this issue Jul 20, 2024 · 4 comments
Closed

c9s: rpm-ostreed fails to start when installing an OKD cluster #1558

karmab opened this issue Jul 20, 2024 · 4 comments

Comments

@karmab
Copy link

karmab commented Jul 20, 2024

rpm-ostreed fails to start (which causes machine config operator to fail too)
Error shows as

A dependency job for rpm-ostreed.service failed. See 'journalctl -xe' for details.
○ rpm-ostreed.service - rpm-ostree System Management Daemon
     Loaded: loaded (/usr/lib/systemd/system/rpm-ostreed.service; static)
    Drop-In: /etc/systemd/system/rpm-ostreed.service.d
             └─10-mco-default-env.conf
             /run/systemd/system/rpm-ostreed.service.d
             └─bug2111817.conf
             /etc/systemd/system/rpm-ostreed.service.d
             └─mco-controlplane-nice.conf
     Active: inactive (dead)
       Docs: man:rpm-ostree(1)

Jul 20 13:03:48 okd-ctlplane-0.karmalabs.corp systemd[1]: Dependency failed for rpm-ostree System Management Daemon.
Jul 20 13:03:48 okd-ctlplane-0.karmalabs.corp systemd[1]: rpm-ostreed.service: Job rpm-ostreed.service/start failed with result 'dependency'.
Jul 20 13:08:59 okd-ctlplane-0.karmalabs.corp systemd[1]: Dependency failed for rpm-ostree System Management Daemon.
Jul 20 13:08:59 okd-ctlplane-0.karmalabs.corp systemd[1]: rpm-ostreed.service: Job rpm-ostreed.service/start failed with result 'dependency'.
Jul 20 13:14:00 okd-ctlplane-0.karmalabs.corp systemd[1]: Dependency failed for rpm-ostree System Management Daemon.
Jul 20 13:14:00 okd-ctlplane-0.karmalabs.corp systemd[1]: rpm-ostreed.service: Job rpm-ostreed.service/start failed with result 'dependency'.
Jul 20 13:19:07 okd-ctlplane-0.karmalabs.corp systemd[1]: Dependency failed for rpm-ostree System Management Daemon.
Jul 20 13:19:07 okd-ctlplane-0.karmalabs.corp systemd[1]: rpm-ostreed.service: Job rpm-ostreed.service/start failed with result 'dependency'.
Jul 20 13:21:59 okd-ctlplane-0.karmalabs.corp systemd[1]: Dependency failed for rpm-ostree System Management Daemon.
Jul 20 13:21:59 okd-ctlplane-0.karmalabs.corp systemd[1]: rpm-ostreed.service: Job rpm-ostreed.service/start failed with result 'dependency'.
error: Loading sysroot: exit status: 1

When trying to manually start the daemon, we get

[root@okd-ctlplane-0 ~]# rpm-ostree start-daemon
error: Couldn't start daemon: Error setting up sysroot: loading sysroot: Unexpected state: /run/ostree-booted found, but no /boot/loader directory
@karmab
Copy link
Author

karmab commented Jul 20, 2024

An other error that might be related is with this service

systemd-fsck@dev-disk-by\x2duuid-edbe9990\x2d28f5\x2d453e\x2db044\x2d1b2b601d785a.service

which fails because

/dev/vda3 has unsupported feature(s): FEATURE_C12

fix for this seems to be to bring a more recent version of e2fsck

@jlebon
Copy link
Member

jlebon commented Jul 22, 2024

That's an artifact of pivoting from Fedora to c9s. It should be fixed by using c9s bootimages once we get past all the SELinux issues. See also coreos/coreos-assembler@1c280e7.

@karmab
Copy link
Author

karmab commented Sep 3, 2024

Is there an estimated date for when this will happen/be fixed?

@jlebon
Copy link
Member

jlebon commented Sep 4, 2024

This should be tracked on the OKD side instead.

@jlebon jlebon closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants