Bug 1434350 - [BACKPORT] Tripleo needs to support whole disk overcloud images (OSP10)
Summary: [BACKPORT] Tripleo needs to support whole disk overcloud images (OSP10)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z3
: 10.0 (Newton)
Assignee: RHOS Maint
QA Contact: mlammon
URL:
Whiteboard:
Depends On: 1381508
Blocks: 1417231 1494417
TreeView+ depends on / blocked
 
Reported: 2017-03-21 10:35 UTC by Yolanda Robla
Modified: 2023-09-07 18:51 UTC (History)
18 users (show)

Fixed In Version: python-tripleoclient-5.4.2-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-28 14:48:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 450651 0 None MERGED Support whole disk images in TripleO 2020-04-22 14:36:46 UTC
Red Hat Product Errata RHBA-2017:1585 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 director Bug Fix Advisory 2017-06-28 18:42:51 UTC

Description Yolanda Robla 2017-03-21 10:35:41 UTC
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:

Comment 4 Yolanda Robla 2017-04-06 16:30:29 UTC
Upstream change was merged for stable/newton

Comment 6 Yolanda Robla 2017-04-11 15:48:43 UTC
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.

Comment 12 mlammon 2017-06-01 14:31:08 UTC
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

Comment 14 errata-xmlrpc 2017-06-28 14:48:28 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/RHBA-2017:1585


Note You need to log in before you can comment on or make changes to this bug.