[Openstack-operators] I have an installation question and possible bug
Abel Lopez
alopgeek at gmail.com
Mon Jan 25 17:59:55 UTC 2016
First question, what is your glance store?
Also, it sounds like you created the large image from a running instance,
is that correct? If so, was the instance suspended when you initiated the
image-create?
On Monday, January 25, 2016, Christopher Hull <chrishull42 at gmail.com> wrote:
> Hello all;
>
> I'm an experienced developer and I work at Cisco. Chances are I've
> covered the basics here,but just in case, check me.
> 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.
>
> 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.
>
> 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.
>
> http://docs.openstack.org/kilo/install-guide/install/yum/content/index.html
>
>
>
> Here's a little test I ran.
>
> =======
> Attempt to deploy image
>
>
> nova boot --flavor m1.medium --image v4c-centos-volume1-img1 --nic
> net-id=61a08e7c-8d4b-42c3-b963-eddcf98113a2 \
> --security-group default --key-name demo-key
> v4c-centos-volume1-instance1
>
>
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] Traceback (most recent call last):
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] yield resources
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677]
> block_device_info=block_device_info)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] admin_pass=admin_password)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] instance, size,
> fallback_from_host)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] size=size)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] *args, **kwargs)
> 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
> 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)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] return f(*args, **kwargs)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] fetch_func(target=target, *args,
> **kwargs)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] max_size=max_size)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] max_size=max_size)
> 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
> 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)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] dst_path=dest_path)
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] for chunk in image_chunks:
> 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
> 2016-01-02 16:37:27.764 4490 TRACE nova.compute.manager [instance:
> 9e7d930d-4ee7-4556-905c-d4d54406c677] (md5sum, checksum))
> 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
>
>
> Thank you very much for your help. Looking forward to getting this system
> fully op and operational.
>
> -Chris
> Cisco Systems chrihull at cisco.com
> <javascript:_e(%7B%7D,'cvml','chrihull at cisco.com');>
>
>
> - Christopher T. Hull
> 333 Orchard Ave, Sunnyvale CA. 94085
> (415) 385 4865
> chrishull42 at gmail.com
> <javascript:_e(%7B%7D,'cvml','chrishull42 at gmail.com');>
> http://chrishull.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160125/ff32f17d/attachment.html>
More information about the OpenStack-operators
mailing list