← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1969518] [NEW] unable to use /dev/disk/by-path for cc_disk_setup

 

Public bug reported:

fs_setup:
- device: /dev/disk/by-path/pci-0000:18:00.0-nvme-1

or

fs_setup:
- device: /dev/disk/by-path/pci-0000:18:00.0-nvme-1-part1

yields:

cc_disk_setup.py[WARNING]: Partition '0-nvme-1' from dotted device name
'/dev/disk/by-path/pci-0000:18:00.0-nvme-1' overrides 'partition' key

cc_disk_setup.py[WARNING]: Partition '0-nvme-part1' from dotted device
name '/dev/disk/by-path/pci-0000:18:00.0-nvme-1-part1' overrides
'partition' key

the dots in these device paths do not indicate a partition and it seems
there is no way to disable the partition auto detection.

you should be able to use any of the /dev/disk/ paths. by-id by-partuuid
by-path  by-uuid

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1969518

Title:
  unable to use /dev/disk/by-path for cc_disk_setup

Status in cloud-init:
  New

Bug description:
  fs_setup:
  - device: /dev/disk/by-path/pci-0000:18:00.0-nvme-1

  or

  fs_setup:
  - device: /dev/disk/by-path/pci-0000:18:00.0-nvme-1-part1

  yields:

  cc_disk_setup.py[WARNING]: Partition '0-nvme-1' from dotted device
  name '/dev/disk/by-path/pci-0000:18:00.0-nvme-1' overrides 'partition'
  key

  cc_disk_setup.py[WARNING]: Partition '0-nvme-part1' from dotted device
  name '/dev/disk/by-path/pci-0000:18:00.0-nvme-1-part1' overrides
  'partition' key

  the dots in these device paths do not indicate a partition and it
  seems there is no way to disable the partition auto detection.

  you should be able to use any of the /dev/disk/ paths. by-id by-
  partuuid by-path  by-uuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1969518/+subscriptions



Follow ups