Description of problem: python-tripleoclient needs to support uploading whole disk images Until the change landed on ocata, python-tripleoclient was only supporting uploading flat images. This is the default behaviour of TripleO, but supporting whole disk images is needed and being requested by several customers. This is specially important in terms of security, because several partitions/volumes need to be created on the hosts. Adding that support for python-tripleoclient to consume whole disk images, solves this problem, allowing the customers to create the partitions/volumes they need, for their security needs. Version-Release number of selected component (if applicable): python-tripleoclient 5.6.0 How reproducible: Description on how it works -> http://teknoarticles.blogspot.com.es/2016/12/start-using-whole-disk-images-with.html Actual patch that needs to be backported -> http://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?h=5.6.0&id=c212fbd065649b00ef07dfab625412dbcc811b68 Actual results: python-tripleoclient does not support uploading whole disk imaes Expected results: python-tripleoclient will have the --whole-disk flag available, when using that it will upload whole disk images (just the qcow2 image without vmlinuz and initrd ones) Additional info:
Upstream change was merged for stable/newton
From my side, I just did the backport to newton. The patch can be applied directly on python-tripleclient, as there are no other dependencies.
This has bene tested and verified against OSP 10 and utilized the whole-disk-image.py from blogpost [1] [1] http://teknoarticles.blogspot.com.es/2016/12/start-using-whole-disk-images-with.html
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-2017:1585