Hello Scott, or anyone else affected,

Accepted cloud-initramfs-tools into yakkety-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/cloud-initramfs-tools/0.30ubuntu1.2 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cloud-initramfs-tools (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1688606

Title:
  SRU cloud-initramfs-rooturl to archive

Status in maas-images:
  Triaged
Status in cloud-initramfs-tools package in Ubuntu:
  Invalid
Status in cloud-initramfs-tools source package in Trusty:
  Fix Committed
Status in cloud-initramfs-tools source package in Xenial:
  Fix Committed
Status in cloud-initramfs-tools source package in Yakkety:
  Fix Committed

Bug description:
  === Begin SRU Template ===
  [Impact]
  MAAS has an interest in booting entirely ephemerally without iscsi root.
  The package cloud-initramfs-rooturl supports booting with root coming
  from a url.
    root=http://..../squashfs

  This function will be used to pxe boot into a RAM only system with no
  dependency on the network.

  [Test Case]
  See the attached prepare-1688606.sh.  That script automates
  everything here making this much easier to test.

  1. make sure squashfs module is in the initramfs
     squashfs module is not automatically added to initramfs in precise.
     Just ensure that it is there.

     $ [ "$(lsb_release -sc)" = "precise" ] &&
        echo "manual_add_modules squashfs" |
           sudo tee /etc/initramfs-tools/hooks/squashfs

  2. install cloud-initramfs-rooturl
     sudo apt-get update
     sudo apt-get install cloud-initramfs-rooturl

  3. collect the kernel and newly generated initramfs

     sudo cat /boot/vmlinu?-$(uname -r) > kernel
     cp /boot/initrd.img-$(uname -r) initrd

  4. Download a squashfs image or a .tar.xz image

     rel="xenial"
     burl="http://cloud-images.ubuntu.com/daily/server";
     file="$rel-server-cloudimg-amd64-root.tar.xz"
     file="$rel-server-cloudimg-amd64.squashfs"
     wget "$burl/$rel/current/$file" -O "$file"

  5. run a web server
     python -m SimpleHTTPServer 9999 &

  6. create a seed disk for cloud-init.

     $ cat > my-user-data <<EOF
     #cloud-config
     password: passw0rd
     chpasswd: { expire: False }
     ssh_pwauth: True

     $ echo "instance-id: $(uuidgen || echo i-abcdefg)" > my-meta-data
     $ cloud-localds seed.img my-user-data my-meta-data

  7. Boot a vm using the kernel, initrd and url.

     cmdline="root=http://10.0.2.2:9999/$file console=ttyS0 -v "
     cmdline="${cmdline} overlayroot=tmpfs"

     qemu-system-x86_64 -enable-kvm \
        -device virtio-net-pci,netdev=net00 \
        -netdev type=user,id=net00 \
        -drive if=virtio,file=seed.img \
        -m 1G -nographic \
        -kernel kernel -initrd initrd \
        -append "root=$cmdline"

  [Regression Potential]
  Low.  This is adding a package previously not present.

  [Other Info]
  Related bugs:
   * bug 1689557: replace iscsi usage in ephemeral image with rooturl
   * bug 1689642: cloud-initramfs-rooturl should manual_add_modules squashfs 

  === End SRU Template ===

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1688606/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to