[Bug 1627931] Re: SHA256 checksum for ovf in xenial-server-cloudimg-amd64.ova has incorrect path
Robert C Jennings
1627931 at bugs.launchpad.net
Tue Mar 21 21:06:05 UTC 2017
** Description changed:
+ [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
+
+ [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.
- Failed to import appliance C:/Users/Jesse/Downloads/xenial-server-cloudimg-amd64.ova.
-
- Digest mismatch (VERR_NOT_EQUAL): 'ubuntu-
+ 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}
-
+ 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
- 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.
+ After changing ".ovf.ovf" to ".ovf" and saving the file inside the .ova,
+ importing the .ova works.
** Description changed:
[Impact]
- * Users will be unable to import OVA disk images with tools that check
+ * 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
+ $ 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
+ * 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.
--
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
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