← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1737774] [NEW] parameter not set in ds-identify causes failure in nocloud or uvt-kvm with iso on non-cdrom as seed

 

*** This bug is a duplicate of bug 1737704 ***
    https://bugs.launchpad.net/bugs/1737704

Public bug reported:

The fix for bug 1731868 left a interim change in ds-identify referencing
an undeclared variable.

That code path would be hit if you attached an ISO filesystem to a device other than a cdrom.
For example:

qemu-system-x86_64 -enable-kvm \
  -device virtio-net-pci,netdev=net00 \
  -netdev type=user,id=net00 \
  -drive file=disk.img,id=disk00,if=none,format=qcow2,index=0 \
  -device virtio-blk,drive=disk00,serial=disk.img \
  -drive file=my-seed.img,id=disk01,if=none,format=raw,index=1 \
  -device virtio-blk,drive=disk01,serial=my-seed.img \
  -m 768 -nographic

It would work fine if you attached the iso filesystem as a cdrom.
(-cdrom my-seed.img)

** Affects: cloud-init
     Importance: High
     Assignee: Scott Moser (smoser)
         Status: In Progress

** Affects: cloud-init (Ubuntu)
     Importance: High
     Assignee: Scott Moser (smoser)
         Status: In Progress

** Changed in: cloud-init
       Status: New => Confirmed

** Changed in: cloud-init
   Importance: Undecided => High

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cloud-init (Ubuntu)
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

** Changed in: cloud-init (Ubuntu)
   Importance: Medium => High

** Changed in: cloud-init
       Status: Confirmed => In Progress

** Changed in: cloud-init (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: cloud-init
     Assignee: (unassigned) => Scott Moser (smoser)

** Changed in: cloud-init (Ubuntu)
     Assignee: (unassigned) => Scott Moser (smoser)

** This bug has been marked a duplicate of bug 1737704
   Cloud-init seems not run on today's bionic images (20171211)

-- 
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/1737774

Title:
  parameter not set in ds-identify causes failure in nocloud or uvt-kvm
  with iso on non-cdrom as seed

Status in cloud-init:
  In Progress
Status in cloud-init package in Ubuntu:
  In Progress

Bug description:
  The fix for bug 1731868 left a interim change in ds-identify
  referencing an undeclared variable.

  That code path would be hit if you attached an ISO filesystem to a device other than a cdrom.
  For example:

  qemu-system-x86_64 -enable-kvm \
    -device virtio-net-pci,netdev=net00 \
    -netdev type=user,id=net00 \
    -drive file=disk.img,id=disk00,if=none,format=qcow2,index=0 \
    -device virtio-blk,drive=disk00,serial=disk.img \
    -drive file=my-seed.img,id=disk01,if=none,format=raw,index=1 \
    -device virtio-blk,drive=disk01,serial=my-seed.img \
    -m 768 -nographic

  It would work fine if you attached the iso filesystem as a cdrom.
  (-cdrom my-seed.img)

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