<div dir="ltr">Hi Sean;<div>It works just fine without the check.  This is a hack, not my preferred solution.  It would be nice if Cinder properly doublechecked the checksum.  But this does work nicely.   </div><div><br></div><div>The symptom you will get from Horizon is an almost useless error message telling you to come back later.  Us Java folks believe in proper error propagation.  Guess PyDevs don't.  heh.  (I do Py too btw).</div><div><br></div><div>I am not running any particular distro.  I installed Liberty myself and developed a small tool to help with custom OPenstack installs.   I would like to place it in the Operators git.  Had tried that before with difficulty so I posted to Github.    See  <a href="https://github.com/chrishull/github-openstack">https://github.com/chrishull/github-openstack</a></div><div><br></div><div>Anyway, here's my fix with notes....</div><div><br></div><div>-Chris</div><div><br></div><div>-------</div><div><br></div><div><br></div><div><div>2017-10-19 14:02:18.334 2787 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/glanceclient/common/utils.py", line 434, in integrity_iter</div><div><br></div><div>2017-10-19 14:02:18.334 2787 ERROR oslo_messaging.rpc.dispatcher     (md5sum, checksum))</div><div><br></div><div><br></div><div>def integrity_iter(iter, checksum):</div><div>    """Check image data integrity.</div><div><br></div><div>    :raises: IOError</div><div>    """</div><div>    md5sum = hashlib.md5()</div><div>    for chunk in iter:</div><div>        yield chunk</div><div>        if isinstance(chunk, six.string_types):</div><div>            chunk = six.b(chunk)</div><div>        md5sum.update(chunk)</div><div>    md5sum = md5sum.hexdigest()</div><div>    # if md5sum != checksum:   <--- line 434</div><div>    #    raise IOError(errno.EPIPE,</div><div>    #                  'Corrupt image download. Checksum was %s expected %s' %</div><div>    #                  (md5sum, checksum))</div><div>    # Checksum is known to be good and working.  glance to cinder seems to have an issue</div><div>    # Code commented out by chris hull on 19 Oct 2017  CTH</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>- Christopher T. Hull<br></div><div>My contract at NASA has ended and I am seeking new opportunities.</div><div>For updated resume and other info, please click this link.</div><div><a href="http://faq.chrishull.com" target="_blank">http://faq.chrishull.com</a></div><div>Sunnyvale CA. 94085<br>(415) 385 4865<br></div><div><a href="mailto:chrishull42@gmail.com" target="_blank">chrishull42@gmail.com</a><br></div><a href="http://chrishull.com" target="_blank">http://chrishull.com</a><br><br></div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 20, 2017 at 5:57 AM, Sean McGinnis <span dir="ltr"><<a href="mailto:sean.mcginnis@gmx.com" target="_blank">sean.mcginnis@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 19, 2017 at 06:55:38PM -0700, Christopher Hull wrote:<br>
> The qcow2 checksums are correct.  They run via nova.<br>
><br>
> I seem to recall that the cinder checksum calculation when reading in an<br>
> image is faulty.  I'm simply going to remove the offending code.<br>
> -Chris<br>
><br>
<br>
</span>I have not heard this before. If you remove that check and verify everything is<br>
working without it, it would be useful to post those results here.<br>
<br>
I didn't see an open bug for this. If you could file a bug and include any log<br>
files and details, that would be appreciated:<br>
<br>
<a href="https://bugs.launchpad.net/cinder" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>cinder</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Sean<br>
</font></span></blockquote></div><br></div>