Bug 1853024

Summary: disable glance-direct by default for dcn deployments
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: openstack-tripleo-heat-templatesAssignee: John Fulton <johfulto>
Status: CLOSED NOTABUG QA Contact: Mike Abrams <mabrams>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: gcharot, lmarsh, mabrams, mburns
Target Milestone: z2Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-14 12:54:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1802774    

Description John Fulton 2020-07-01 18:32:22 UTC
Our current deployment has glance-direct enabled [1]

However, because our standard procedure doesn't include the shared file system on the controller nodes, we should disable it by default for DCN deployments.

If the image is on a web server the `glance image-create-via-import` command, which automatically converts the QCOW2 image to RAW format, works with the ‘web-download’ method. It will continue to work if glance-direct is disabled.

Since our documentation [2] already states that there's a common filesystem requirement for 'glance-direct', that it's a bug that we enable it.

[1]
[root central-controller0-2 ~]# podman exec glance_api cat
/etc/glance/glance-api.conf | grep -v \# | grep direct
show_image_direct_url=True
enabled_import_methods=[glance-direct,web-download,copy-image]
[root central-controller0-2 ~]#

[2] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/instances_and_images_
guide/ch-image-service#section-import-image 1.2.4.2