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

Bug 1607779

Summary: [RFE] Direct deploy without Swift
Product: Red Hat OpenStack Reporter: Dmitry Tantsur <dtantsur>
Component: openstack-ironicAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED ERRATA QA Contact: mlammon
Severity: unspecified Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: bfournie, jkreger, mburns, racedoro, sasha, srevivo
Target Milestone: Upstream M1Keywords: FutureFeature, Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://specs.openstack.org/openstack/ironic-specs/specs/approved/agent-http-provisioning.html
Whiteboard:
Fixed In Version: openstack-ironic-12.1.2-0.20190615000404.c3cbdb5.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:16:20 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: 1477713    
Bug Blocks:    

Description Dmitry Tantsur 2018-07-24 09:12:26 UTC
We're using Swift to serve images when using the direct deploy. This RFE proposes an alternative way of serving them via the existing ironic-conductor HTTP server. This will avoid dependency on Swift. As a bonus point, we may be able to convert images to RAW format on the conductor, then stream them to IPA, avoiding in-memory conversion.

Comment 1 Julia Kreger 2018-08-22 14:24:04 UTC
In discussion with the development team, we realized raw streaming would be problematic, however we think that could be solved by turning on server side compression, which should be transparently handled by the client and reduce the network overhead. It would increase webserver CPU overhead, but that is likely fine to save the network utilization for larger images with lots of whitespace.

Comment 5 Dmitry Tantsur 2018-10-26 10:54:04 UTC
Let us call it done. There may be improvements, one issue is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1630964, but the core of this feature is done.

Comment 8 mlammon 2019-07-29 16:59:10 UTC
This feature has been verified with two options
1) Raw image
https://bugzilla.redhat.com/show_bug.cgi?id=1630964#c5
2) ImageDownloadSource: http
https://bugzilla.redhat.com/show_bug.cgi?id=1630964#c9

Both cases we used the logs to validate streaming success

In 
/var/log/containers/ironic/deploy
look in journal file log " Image streamed onto device /dev/vda2 in 14.087767124176025 seconds"

Comment 13 errata-xmlrpc 2019-09-21 11:16:20 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, 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-2019:2811