This repository was archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
bootengine: some udev rules are in rootfs but missing in initramfs #2481
Copy link
Copy link
Closed
Labels
area/usabilitycomponent/initrdjiraMakes a copy of an issue onto a Jira card.Makes a copy of an issue onto a Jira card.kind/bugteam/os
Description
Issue Report
Proper way to detect a disk in Azure was added here. Udev rules are creating symlink like /dev/disk/azure/scsi1/lun0. Unfortunately i can not use them from ignition.
Following fails with Timed out waiting for device dev-disk-azure-scsi1-lun0.device
storage:
filesystems:
- name: docker
mount:
device: /dev/disk/azure/scsi1/lun0
format: xfs
wipe_filesystem: true
label: docker
Inside debug console, i see no rules for azure (which is probably expected as initramfs does not suppy them)
:/# ls /usr/lib/udev/rules.d/
10-dm.rules 63-md-raid-arrays.rules 80-drivers.rules
13-dm-disk.rules 64-btrfs.rules 80-net-setup-link.rules
50-udev-default.rules 64-md-raid-assembly.rules 90-vconsole.rules
60-block.rules 71-seat.rules 95-dm-notify.rules
60-cdrom_id.rules 73-seat-late.rules 99-systemd.rules
60-persistent-storage.rules 75-net-description.rules
Same applies to ignition on AWS (nvme disks) i assume.
Would be really great to use ignition "filesystems" as it has many advantages over having systemd units to format and mount filesystems.
Bug
Container Linux Version
$ cat /etc/os-release
cat /etc/os-release
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1745.7.0
VERSION_ID=1745.7.0
BUILD_ID=2018-06-14-0909
PRETTY_NAME="Container Linux by CoreOS 1745.7.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"
Environment
Azure
Expected Behavior
Filesystem created on /dev/disk/azure/lun0
Actual Behavior
Ignition fails to boot with timeout
Reproduction Steps
- Create Azure VM and put ignition with filesystems snippet above
- VM will fail with provisioning timeout
Other Information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/usabilitycomponent/initrdjiraMakes a copy of an issue onto a Jira card.Makes a copy of an issue onto a Jira card.kind/bugteam/os