rhel-osp-director: HA deployment with SSL enabled: unable to save glance images.
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
The image isn't saved. Running "glance image-list" shows status "saving" and it doesn't change over time.
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:
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.