<div dir="ltr"><div><div><div><div>Hello all;<br><br></div>I'm an experienced developer and I work at Cisco. Chances are I've covered the basics here,but just in case, check me.<br></div>I've followed the Kilo install instructions to the letter so far as I can tell. I have not installed Swift, but I think everything else, and my installation almost works. I'm having a little trouble with Glance.<br><br></div>It seems that when I attempt to create a large image (that may or not may be the issue), the checksum that Glance records in it's DB is incorrect. Cirros image runs just fine. CentOS cloud works. But when I offload and create an image from a big CentOS install (say 100gb), nova says the checksum is wrong when I try to boot it.<br><br></div><div>Install was on a fresh CentOS7 on new system I built, i7 32GB 7TB. Plenty of speed and space. And this system is dedicated to Openstack.<br><br><a href="http://docs.openstack.org/kilo/install-guide/install/yum/content/index.html">http://docs.openstack.org/kilo/install-guide/install/yum/content/index.html</a><br><br><br></div><div><br></div>Here's a little test I ran.<br><div><div><div><div><div><br>=======<br></div><div>Attempt to deploy image<br><br><br>nova boot --flavor m1.medium --image v4c-centos-volume1-img1 --nic net-id=61a08e7c-8d4b-42c3-b963-eddcf98113a2 \<br> --security-group default --key-name demo-key v4c-centos-volume1-instance1<br><br><br>2016-01-02 16:37:27.764 4490 ERROR nova.compute.manager [req-87feb5bf-0e29-432b-8f6c-aeac1fba4753 196b1dc42db94eb7bf210c2281b68e67 3690e3975f6546d793b530dffa8f1a8d - - -] [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] Instance failed to spawn<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] Traceback (most recent call last):<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2461, in _build_resources<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] yield resources<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2333, in _build_and_run_instance<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] block_device_info=block_device_info)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2378, in spawn<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] admin_pass=admin_password)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2776, in _create_image<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] instance, size, fallback_from_host)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5894, in _try_fetch_image_cache<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] size=size)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 231, in cache<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] *args, **kwargs)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 480, in create_image<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] prepare_template(target=base, max_size=size, *args, **kwargs)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 445, in inner<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] return f(*args, **kwargs)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 221, in fetch_func_sync<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] fetch_func(target=target, *args, **kwargs)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/utils.py", line 501, in fetch_image<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] max_size=max_size)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 87, in fetch_to_raw<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] max_size=max_size)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 77, in fetch<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] IMAGE_API.download(context, image_href, dest_path=path)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 182, in download<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] dst_path=dest_path)<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 363, in download<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] for chunk in image_chunks:<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] File "/usr/lib/python2.7/site-packages/glanceclient/common/utils.py", line 401, in integrity_iter<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] (md5sum, checksum))<br>2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance: 9e7d930d-4ee7-4556-905c-d4d54406c677] IOError: [Errno 32] Corrupt image download. Checksum was 5c9d88c413ae3c562d07f85d84e70452 expected 7fbc000798c3daa7ec168f48604fe353<br><br><br></div><div>Thank you very much for your help. Looking forward to getting this system fully op and operational.<br><br></div><div>-Chris<br></div><div>Cisco Systems <a href="mailto:chrihull@cisco.com">chrihull@cisco.com</a> <br></div><div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div>- Christopher T. Hull<br></div><div>333 Orchard Ave, 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><div><br></div></div></div></div></div></div></div>
</div></div></div></div></div></div>