Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1886139

Summary: [Deployment] DCN - Nova streams images to ceph if image is not already present in its local ceph
Product: Red Hat OpenStack Reporter: Ollie Walsh <owalsh>
Component: openstack-tripleo-heat-templatesAssignee: Ollie Walsh <owalsh>
Status: CLOSED ERRATA QA Contact: Marian Krcmarik <mkrcmari>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: dasmith, eglynn, gcharot, jhakimra, kchamart, mburns, mkrcmari, nova-maint, nwolf, owalsh, sbauza, sgordon, spower, vromanso
Target Milestone: z3Keywords: FutureFeature, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170165.el8ost puppet-nova-15.6.1-1.20200814103356.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1886084 Environment:
Last Closed: 2020-12-15 18:37:08 UTC Type: ---
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: 1886084, 1886988    
Bug Blocks: 1802774, 1893320    

Description Ollie Walsh 2020-10-07 18:03:24 UTC
Description of problem:

DCN 16.1 we introduced ceph at the edge. The DCN doc mentions that a glance image copy must be present on the site's ceph cluster before an instance can be booted on a given site.

If the user forgets to copy the image to the site before booting the VM, nova will download the image from glance in central site (raw) and upload it to ceph itself.

This is highly inefficient and user is not notified of this process.  

To prevent this https://bugzilla.redhat.com/show_bug.cgi?id=1886084 adds the nova conf option "never_download_image_if_on_rbd".

Tripleo-heat-templates/puppet-nova should expose this nova conf option as a t-h-t parameter. It should be enabled by default (unless explicitly set by the operator) when both glance & nova are rbd backed.

Comment 21 errata-xmlrpc 2020-12-15 18:37:08 UTC
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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement 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-2020:5413