[Bug 1627931] Re: SHA256 checksum for ovf in xenial-server-cloudimg-amd64.ova has incorrect path

Brian Murray brian at ubuntu.com
Thu Mar 23 20:17:33 UTC 2017


Hello Jesse, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.408.9 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: livecd-rootfs (Ubuntu Xenial)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1627931

Title:
  SHA256 checksum for ovf in xenial-server-cloudimg-amd64.ova has
  incorrect path

Status in cloud-images:
  In Progress
Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Xenial:
  Fix Committed
Status in livecd-rootfs source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]

   * Users will be unable to import OVA disk images with tools that
  check the manifest to verify file checksums

  [Test Case]

  $ apt-get install virtualbox

  $ wget http://cloud-images.ubuntu.com/xenial/current/xenial-server-
  cloudimg-amd64.ova

  ## Requires version newer than 5.0.32_Ubuntur112930  in zesty)
  $ vboxmanage -version
  5.1.18_Ubuntur114002

  $ vboxmanage import  xenial-server-cloudimg-amd64.ova
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
  Progress state: VBOX_E_FILE_ERROR
  VBoxManage: error: Appliance import failed
  VBoxManage: error: Digest mismatch (VERR_NOT_EQUAL): 'ubuntu-xenial-16.04-cloudimg.ovf.ovf' not found in the 2nd manifest
  VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
  VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 886 of file VBoxManageAppliance.cpp

  ## Expecting import success
  "Successfully imported the appliance."

  [Regression Potential]

   * Very low: If a tool is checking the manifest and has been modified
  to strip a duplicate ".ovf" from the name to allow the current image
  to work but also removed handing for valid files it would fail (but we
  know this is not true as there exists in the manifest a file that is
  already specified with the correct filename).

  [Original Description]

  Opening the current "xenial-server-cloudimg-amd64.ova" file from
  cloud-images.ubuntu.com in VirtualBox produces this error:

      Failed to import appliance C:/Users/Jesse/Downloads/xenial-server-
  cloudimg-amd64.ova.

      Digest mismatch (VERR_NOT_EQUAL): 'ubuntu-
  xenial-16.04-cloudimg.ovf.ovf' not found in the 2nd manifest.

      Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
      Component: ApplianceWrap
      Interface: IAppliance {8398f026-4add-4474-5bc3-2f9f2140b23e}

  The ubuntu-xenial-16.04-cloudimg.mf inside the .ova has this contents:

      SHA256(ubuntu-xenial-16.04-cloudimg.vmdk)= 1a9d4ebadf89aa3a12a20f9933b5f88e3b0edcb00fa286c653356bc2ff9d4a29
      SHA256(ubuntu-xenial-16.04-cloudimg.ovf.ovf)= eaca73e5217e0d12f1b5bfbbec039f445c89b807d0c5aba11f842639abb40d35

  After changing ".ovf.ovf" to ".ovf" and saving the file inside the
  .ova, importing the .ova works.

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



More information about the foundations-bugs mailing list