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

fcos nodes fail to start crio service #51

Closed
gtema opened this issue Jan 29, 2020 · 5 comments
Closed

fcos nodes fail to start crio service #51

gtema opened this issue Jan 29, 2020 · 5 comments

Comments

@gtema
Copy link

gtema commented Jan 29, 2020

Version

4.3.0-0.okd-2020-01-24-215611 on FedoraCoreOS31

What happened?

Master nodes fail (FCOS image) to start crio service, due to missing /usr/share/containers/oci/hooks.d dir

Jan 24 15:43:31 osinfra-cqr7z-master-2 crio[3282]: time="2020-01-24 15:43:31.186522987Z" level=fatal msg="runtime config: invalid hooks_dir: stat /usr/share/containers/oci/hooks.d: no such file or directory: stat /usr/share/containers/oci/hooks.d: no such file or directory"

What you expected to happen?

/usr/share/containers/oci/hooks.d directory exists in the image or configuration is adapted to remove it

How to reproduce it (as minimally and precisely as possible)?

install-config.yaml

apiVersion: v1
baseDomain: fake.com
compute:
- name: worker
  replicas: 0
controlPlane:
  name: master
  replicas: 3
metadata:
  name: osinfra
networking:
  clusterNetworks:
  - cidr: 10.254.0.0/16
    hostPrefix: 24
  networkType: OpenShiftSDN
  serviceNetwork:
  - 172.30.0.0/16
  machineNetwork:
  - cidr: 192.168.190.0/24
platform:
  none: {}
pullSecret: '{"auths":{"fake":{"auth": "bar"}}}'
sshKey: my_key

Follow https://github.com/openshift/installer/blob/fcos/docs/user/openstack/install_upi.md instructions with fcos-31 image up to (including) starting master nodes. Login to any master node after it refetched image.
System reports, that crio.service failed to start

Anything else we need to know?

After manual editing of the /etc/crio/crio.conf and restarting crio service bootstraping continues.

The same problem exists in worker nodes as well.

After all this leads to the degradation of the machine-configs operator state

@gtema
Copy link
Author

gtema commented Jan 29, 2020

moved from openshift/installer#2978

@vrutkovs
Copy link
Member

Duplicate of #42

@vrutkovs vrutkovs marked this as a duplicate of #42 Jan 29, 2020
@gtema
Copy link
Author

gtema commented Jan 29, 2020

why is it a duplicate?

@vrutkovs
Copy link
Member

The cause of this is that MCD is not applying necessary crio config before starting it, see openshift/machine-config-operator#1311

@gtema
Copy link
Author

gtema commented Jan 29, 2020

ok, thks.

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