kairos icon indicating copy to clipboard operation
kairos copied to clipboard

Upgrade on alpine arm errors

Open mauromorales opened this issue 5 months ago • 0 comments

kairos-agent upgrade --source \
> oci:quay.io/kairos/alpine:3.19-standard-arm64-rpi4-v2.4.3-k3sv1.28.3-k3s1
WARNING: jsonschema: '' does not validate with file:///home/kairos/schema.json#/required: missing properties: 'users'
INFO[2024-01-10T20:08:27Z] kairos-agent version v2.6.2                  
WARN[2024-01-10T20:08:27Z] failed reading installation state: open /run/initramfs/cos-state/state.yaml: no such file or directory 
E0110 20:08:27.117404    2909 mount_linux.go:232] Mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t auto -o rw /dev/sda2 /run/cos/state
Output: mount: /run/cos/state: mount(2) system call failed: No error information.
       dmesg(1) may have more information after failed mount system call.

ERRO[2024-01-10T20:08:27Z] Failed mounting device /dev/sda2 with label COS_STATE 
ERRO[2024-01-10T20:08:27Z] failed mounting %s partition: %vsda2mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t auto -o rw /dev/sda2 /run/cos/state
Output: mount: /run/cos/state: mount(2) system call failed: No error information.
       dmesg(1) may have more information after failed mount system call. 
1 error occurred:
        * mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t auto -o rw /dev/sda2 /run/cos/state
Output: mount: /run/cos/state: mount(2) system call failed: No error information.
       dmesg(1) may have more information after failed mount system call.

This is what the state directory looks like:

/home/kairos # ls -las /run/initramfs/cos-state/
total 36
 4 drwxr-xr-x 7 root root  4096 Jan 10 18:28 .
 0 drwxr-xr-x 3 root root    60 Jan  1  1970 ..
 4 drwxr-xr-x 2 root root  4096 Jan 10 18:28 cOS
 4 drwxr-xr-x 3 root root  4096 Jan 10 18:28 etc
 4 drwxr-xr-x 6 root root  4096 Jan 10 18:28 grub2
16 drwx------ 2 root root 16384 Jan 10 18:28 lost+found
 4 drwxr-xr-x 2 root root  4096 Jan 10 18:28 var

mauromorales avatar Jan 10 '24 20:01 mauromorales