virtualization script should validate cloud images it downloads

Bug #1696763 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Won't Fix
Wishlist
Jeff Lane 
maas-cert-server
In Progress
Medium
Jeff Lane 

Bug Description

There are two different scripts that need to be adjusted for this.

First, maniacs-setup from maas-cert-server makes a local mirror of cloud images on the MAAS server to speed deployment.

maniacs-setup should also download the md5sums or sha256sums file from cloud-images.u.c at the time it downloads the cloud images.

It should then sum the downloaded images and validate that they match.

Next, the virtualization script in plainbox-provider-checkbox is also capable of pulling down images from the MAAS server or cloud-images.

This one is more tricky. it should do the following:

IF cloud image comes from cloud-images.u.c, it should also grab the md5sums from there and validate the download.

IF cloud image comes from non-u.c. site, it shoudl ATTEMPT to get the md5sums, and if that succeeds, then validate, if not, throw a warning and carry on hoping the image is good.

IF the image is supplied locally, assume it's valid and carry on without validating the md5sum.

Related branches

Jeff Lane  (bladernr)
Changed in maas-cert-server:
status: New → Confirmed
importance: Undecided → High
Jeff Lane  (bladernr)
Changed in plainbox-provider-checkbox:
assignee: nobody → Jeff Lane (bladernr)
Changed in maas-cert-server:
assignee: nobody → Jeff Lane (bladernr)
Changed in plainbox-provider-checkbox:
status: Confirmed → In Progress
Changed in maas-cert-server:
status: Confirmed → In Progress
tags: added: hwcert-server scripts
Jeff Lane  (bladernr)
Changed in plainbox-provider-certification-server:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jeff Lane (bladernr)
Changed in plainbox-provider-checkbox:
importance: High → Wishlist
milestone: future → none
Changed in plainbox-provider-certification-server:
importance: High → Wishlist
status: In Progress → Confirmed
Changed in plainbox-provider-checkbox:
status: In Progress → Confirmed
no longer affects: plainbox-provider-certification-server
Changed in plainbox-provider-checkbox:
status: Confirmed → Won't Fix
Jeff Lane  (bladernr)
Changed in maas-cert-server:
status: In Progress → Confirmed
assignee: Jeff Lane (bladernr) → nobody
Jeff Lane  (bladernr)
Changed in maas-cert-server:
status: Confirmed → In Progress
importance: High → Medium
assignee: nobody → Jeff Lane (bladernr)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.