rhel-osp-director: HA deployment with SSL enabled: unable to save glance images. Environment: instack-undercloud-2.1.2-21.el7ost.noarch python-glance-2015.1.0-6.el7ost.noarch openstack-glance-2015.1.0-6.el7ost.noarch python-glanceclient-0.17.0-2.el7ost.noarch python-glance-store-0.4.0-1.el7ost.noarch Steps to reproduce: 1. Install undercloud and enable SSL. 2. Deploy overcloud with HA. 3. Attempt to create glance image with: glance image-create --name cirros --disk-format qcow2 --container-format bare --is-public 1 --copy-from https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img Result: The image isn't saved. Running "glance image-list" shows status "saving" and it doesn't change over time. Expected result: The image should be saved and ready to use.
I verified this works on another HA setup without SSL.
Created attachment 1054065 [details] logs from controller1
Created attachment 1054066 [details] logs from controller2
Created attachment 1054067 [details] logs from controller3
did you successfully deploy an overcloud? that would mean that glance in the undercloud is working fine, so I'm not sure how this would be related to undercloud SSL at all. to confirm, are you trying to load images into the overcloud glance when you encounter this issue? The attached logs don't show any errors, so that's why I'm wondering if you're trying to load images into the undercloud or overcloud glance. Could it be that the overcloud nodes can't access https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img to download the image?
The overcloud was deployed successfully. I'm trying to load the image to the overcloud - double checked that. In he messages file in the tarbal, there're lots of glance-registry errors. Are they related? I'm able to wget the image, but when I tried to add the image from file: glance image-create --name cirros --disk-format qcow2 --container-format bare --is-public 1 --file cirros-0.3.0-x86_64-disk.img Error finding address for http://10.19.184.180:9292/v1/images: [Errno 32] Broken pipe
the issue here turned out to be that a previous deployment done with ceph had updated the GlanceBackend parameter in tuskar to be rbd. In a subsequent deployment without ceph, that parameter never gets reset in Tuskar, so glance is still configured with default_store=rbd, which was breaking the image saving. there is fix in progress for this issue as part of: https://bugzilla.redhat.com/show_bug.cgi?id=1244913
Verified: Environment: instack-undercloud-2.1.2-22.el7ost.noarch python-rdomanager-oscplugin-0.0.8-43.el7ost.noarch The reported issue doesn't reproduce. The image changes its status to "active".
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2015:1549