virtualization script should validate cloud images it downloads
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-
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
- Rod Smith: Needs Fixing
-
Diff: 126 lines (+19/-52)2 files modifieddebian/control (+1/-1)
usr/sbin/maniacs-setup (+18/-51)
Changed in maas-cert-server: | |
status: | New → Confirmed |
importance: | Undecided → High |
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 |
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 |
Changed in maas-cert-server: | |
status: | In Progress → Confirmed |
assignee: | Jeff Lane (bladernr) → nobody |
Changed in maas-cert-server: | |
status: | Confirmed → In Progress |
importance: | High → Medium |
assignee: | nobody → Jeff Lane (bladernr) |