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

xFS can not be created due to lack of "sbin/mkfs.xfs" #131

Open
VladyslavTkachenkoDesy opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@VladyslavTkachenkoDesy
Copy link

While using rootio and want to create the FS as xfs, gettting an error message.
storage: disks: - device: /dev/sda partitions: - label: ROOT number: 1 size: 4096 wipe_table: true filesystems: - mount: create: options: - '-L' - ROOT - '-f' device: /dev/sda1 format: xfs point: "/"

Expected Behaviour

Partition as xfs must be created with no error.

Current Behaviour

Getting error:
2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.193668,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":{"actionName":"format","caller":"worker/container_manager.go:96","containerID":"190673fc0eeb186ff5016b4bb8377683c32ba2ece0def1f9fd6065584d3a90ab","level":"info","logger":"github.com/tinkerbell/tink","msg":"starting container","taskName":"partition-configuration","ts":1720701903.1876214,"workerID":"00:16:3e:ff:33:83","workflowID":"install-disp-vm7"},"procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3270297,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"190673fc0eeb","facility":"daemon","host":"10.42.0.211","msg":"Successfully parsed the MetaData, Found [1] Disks\r\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3271115,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"190673fc0eeb","facility":"daemon","host":"10.42.0.211","msg":"ROOTIO - Disk Manager\r\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.327148,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"190673fc0eeb","facility":"daemon","host":"10.42.0.211","msg":"------------------------\r\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.32728,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"190673fc0eeb","facility":"daemon","host":"10.42.0.211","msg":"Parsing MetaData\r\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.327505,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"190673fc0eeb","facility":"daemon","host":"10.42.0.211","msg":"\u001b[31mERRO\u001b[0m[0000] command [] Filesystem [fork/exec /sbin/mkfs.xfs: no such file or directory] \r\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3325045,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":"Successfully parsed the MetaData, Found [1] Disks\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3325477,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":"ROOTIO - Disk Manager\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3325639,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":"------------------------\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.332583,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":"Parsing MetaData\n","procid":"1569","severity":"INFO"}} 2024-07-11T14:45:03+02:00 {"level":"info","ts":1720701903.3328114,"caller":"syslog/receiver.go:160","msg":"msg","msg":{"app-name":"82130aff0b25","facility":"daemon","host":"10.42.0.211","msg":"\u001b[31mERRO\u001b[0m[0000] command [] Filesystem [fork/exec /sbin/mkfs.xfs: no such file or directory] \n","procid":"1569","severity":"INFO"}}

Possible Solution

missed inside of container

Steps to Reproduce (for bugs)

1.create hardware.yaml with xfs format
2.run creating
3.
4.

Context

Using tinkerbell to setup new data center for CTAO project. There will be installed new telescopes for observatories and we would like to use tinkerbell to do the OS installation on the servers.

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Linux
  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
    VM
  • Link to your project or a code example to reproduce issue:
    https://github.com/tinkerbell/actions/tree/main/rootio
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

1 participant