rancher / elemental-docs

Documentation for everything around Rancher Elemental
http://elemental.docs.rancher.com
Apache License 2.0
5 stars 20 forks source link

replaced sle-micro with sle-micro-iso #353

Closed SimonHaas closed 1 month ago

SimonHaas commented 2 months ago

Hi, when following your https://elemental.docs.rancher.com/quickstart-cli the seedimage always failed to build:

kubectl describe pod fire-img -n fleet-default

  Normal   Pulled     6s    kubelet            Container image "registry.suse.com/suse/sle-micro/5.5:2.0.2" already present on machine
  Normal   Created    6s    kubelet            Created container baseiso
  Warning  Failed     6s    kubelet            Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "busybox": executable file not found in $PATH: unknown

I finally figured it out by following your visual quickstart and comparing the created CRD instances. Creating a seedimage in the UI the baseimage was

registry.suse.com/suse/sle-micro-iso/5.5:2.0.2

compared to your quickstart-cli

registry.suse.com/suse/sle-micro/5.5:2.0.2

netlify[bot] commented 2 months ago

Deploy Preview for elemental-docs-staging ready!

Name Link
Latest commit 0dd66c0b98243836fb46524891f269049f674e49
Latest deploy log https://app.netlify.com/sites/elemental-docs-staging/deploys/6697c34f31ae150008f70717
Deploy Preview https://deploy-preview-353--elemental-docs-staging.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

anmazzotti commented 2 months ago

@SimonHaas thank you! Good catch.

However, this fix should only apply to the seedimage snippets. The managedosversion ones are correct, as for those we need a container image type (rather than an iso type). May you please revert the change on those? Thank you.