Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-11 Thread Flavio Percoco
ou...@jhuapl.edu] Sent: Wednesday, September 09, 2015 9:54 AM To: OpenStack Development Mailing List (not for usage questions) Cc: stuart.mcla...@hp.com Subject: Re: [openstack-dev] [glance] [nova] Verification of

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-11 Thread Nikhil Komawar
to reside >> in Glance >>In a "killed" state. This would be less of an issue >> "killed" >> images still >> consume storage quota until actually deleted. >>Also given MD-5 less secure,

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-11 Thread Flavio Percoco
Malini -Original Message- From: Poulos, Brianna L. [mailto:brianna.pou...@jhuapl.edu] Sent: Wednesday, September 09, 2015 9:54 AM To: OpenStack Development Mailing List (not for usage questions) Cc:

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-11 Thread Nikhil Komawar
quot; state. This would be less of an issue "killed" images >>>> still >>>> consume storage quota until actually deleted. >>>> Also given MD-5 less secure, why not have the default hash be SHA-1 >>>> or 2? >>>> Regards >>&g

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-11 Thread Flavio Percoco
r 2? Regards Malini -Original Message- From: Poulos, Brianna L. [mailto:brianna.pou...@jhuapl.edu] Sent: Wednesday, September 09, 2015 9:54 AM To: OpenStack Development Mailing List (not for usage questions) Cc: stuart.mcla...@hp.com Subject: Re: [openstack-dev] [glance] [nova] Verification o

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-10 Thread Nikhil Komawar
uota until actually deleted. >> Also given MD-5 less secure, why not have the default hash be SHA-1 or 2? >> Regards >> Malini >> >> -Original Message- >> From: Poulos, Brianna L. [mailto:brianna.pou...@jhuapl.edu] >> Sent: Wednesday, September 09, 2015 9:54 AM

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-10 Thread Poulos, Brianna L.
t;From: Poulos, Brianna L. [mailto:brianna.pou...@jhuapl.edu] >Sent: Wednesday, September 09, 2015 9:54 AM >To: OpenStack Development Mailing List (not for usage questions) >Cc: stuart.mcla...@hp.com >Subject: Re: [openstack-dev] [glance] [nova] Verification of glance >images before boot &

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-10 Thread Bhandaru, Malini K
: Re: [openstack-dev] [glance] [nova] Verification of glance images before boot Stuart is right about what will currently happen in Nova when an image is downloaded, which protects against unintentional modifications to the image data. What is currently being worked on is adding the ability to ve

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-09 Thread Chris Friesen
On 09/09/2015 10:53 AM, Poulos, Brianna L. wrote: Stuart is right about what will currently happen in Nova when an image is downloaded, which protects against unintentional modifications to the image data. What is currently being worked on is adding the ability to verify a signature of the check

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-09 Thread Poulos, Brianna L.
Stuart is right about what will currently happen in Nova when an image is downloaded, which protects against unintentional modifications to the image data. What is currently being worked on is adding the ability to verify a signature of the checksum. The flow of this is as follows: 1. The user cr

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-09 Thread Nikhil Komawar
That's correct. The size and the checksum are to be verified outside of Glance, in this case Nova. However, you may want to note that it's not necessary that all Nova virt drivers would use py-glanceclient so you would want to check the download specific code in the virt driver your Nova deploymen

Re: [openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-09 Thread stuart . mclaren
The glance client (running 'inside' the Nova server) will re-calculate the checksum as it downloads the image and then compare it against the expected value. If they don't match an error will be raised. How can I know that the image that a new instance is spawned from - is actually the image th

[openstack-dev] [glance] [nova] Verification of glance images before boot

2015-09-09 Thread Maish Saidel-Keesing
How can I know that the image that a new instance is spawned from - is actually the image that was originally registered in glance - and has not been maliciously tampered with in some way? Is there some kind of verification that is performed against the md5sum of the registered image in glance