Description of problem: saving image is failing after FFWD upgrade openstack image save 4b8a2abb-f691-47f5-a59e-a66196a15d8d --file /tmp/rhel-guest-image-7.3-36.x86_64.qcow2 Image 4b8a2abb-f691-47f5-a59e-a66196a15d8d has no data. Image 4b8a2abb-f691-47f5-a59e-a66196a15d8d has no data. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Apply FFWD upgrade 2. Track the following bz 1601472 to reproduce Actual results: The following error returned: Image 4b8a2abb-f691-47f5-a59e-a66196a15d8d has no data. Image 4b8a2abb-f691-47f5-a59e-a66196a15d8d has no data. Expected results: Image will be downloaded Additional info: Enter active controller [root@controller-0 ~]# ls -ltr /var/lib/glance/images/ total 1119936 -rw-r-----. 1 glance glance 573403648 Jul 15 19:13 4b8a2abb-f691-47f5-a59e-a66196a15d8d -rw-r-----. 1 glance glance 573403648 Jul 15 19:13 f88c39b3-9e55-4775-8276-6d778d34a74f Enter dockers [root@controller-0 ~]# docker exec -it glance_api /bin/bash ()[glance@controller-0 /]$ ls -ltr /var/lib/glance/images/ total 0
The environment is HA environment OSP puddle version cat /home/stack/core_puddle_version 2018-07-13.1(undercloud) [stack@undercloud-0 ~]$ started 10z5 --> 10z async -> 13
sos report in https://bugzilla.redhat.com/show_bug.cgi?id=1601472
Yeah, it seems like the image directory (/var/lib/glance/images) is not available from the container. We might have to fix this in tripleo-heat-templates. Looking at docker/services/glance-api.yaml it seems like this is already done for NFS/NetApp. @Pranali: do you understand why the volume is not mounted in this case?
I believe this issue has been fixed (see [1] and my comment at [2]). [1] https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/docker/services/glance-api.yaml#L193 [2] https://review.openstack.org/#/c/569970/1/docker/services/glance-api.yaml@205 The fix appears to be on track for inclusion in 13z2, but I'll let Pranali confirm this.
Yes, it's already been fixed during nfs cleanup. @Cyril: Initially it was done only for NFS & NetApp, but as per Alan's comment we have added it with the list of volumes instead of keeping it conditional.
Pranali, please identify the "fixed in version" and move this to MODIFIED. It will also require doc text.
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/RHBA-2018:3587