Bug 2305061 - No way to build custom block device layouts with 17.1 overcloud images
Summary: No way to build custom block device layouts with 17.1 overcloud images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: diskimage-builder
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z4
: 17.1
Assignee: Steve Baker
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2308366
TreeView+ depends on / blocked
 
Reported: 2024-08-15 04:03 UTC by Steve Baker
Modified: 2024-11-21 09:42 UTC (History)
5 users (show)

Fixed In Version: diskimage-builder-3.31.1-17.1.20240815000757.0576fad.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:42:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 927552 0 None master: MERGED diskimage-builder: Refactor selinux-fixfiles-restore into its own element (I85f4d7fd2ab8a7278f4c76b133104f638a055e74) 2024-09-12 17:25:38 UTC
OpenStack gerrit 927559 0 None master: MERGED diskimage-builder: Add DIB_SKIP_GRUB_PACKAGE_INSTALL for bootloader (I0beab9e93838845a0ee533c7e6c7a4980cadd9b3) 2024-09-12 17:25:42 UTC
OpenStack gerrit 927561 0 None master: MERGED diskimage-builder: New elements replace-partition(-redhat) (I7399c4bf6a4d6acfef43f871df0a40e2961ed44e) 2024-09-12 17:25:46 UTC
OpenStack gerrit 927702 0 None master: MERGED diskimage-builder: Add DIB_SKIP_BASE_PACKAGE_INSTALL to base element (Ic6da340627bd55d4d34b1669ebf3a494131f72a6) 2024-09-12 17:25:49 UTC
OpenStack gerrit 927703 0 None master: MERGED diskimage-builder: Add block device rollback for lvm volumes and groups (Ib93dfc43f5b3ef90fcec38538e828f135e514f8b) 2024-09-12 17:25:53 UTC
Red Hat Issue Tracker OSP-32670 0 None None None 2024-08-26 20:01:53 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:42:20 UTC

Description Steve Baker 2024-08-15 04:03:31 UTC
16.2 documented creating custom overcloud whole-disk images where the customer could build their own block device layout:

https://docs.redhat.com/it/documentation/red_hat_openstack_platform/16.2/html/director_installation_and_usage/assembly_creating-whole-disk-images#assembly_creating-whole-disk-images

This was not documented for 17.x on the assumption that the default whole-disk image will meet all customers needs. This has not been the case, multiple customers have requested custom block device layouts.

The old approach will no longer work because we now provide the yum repo files from outside the build, so a new approach needs to be documented, which may require some development

Comment 3 Steve Baker 2024-09-01 22:09:40 UTC
I'm moving this back to ON_DEV so that the changes can be reworked on upstream diskimage-builder. This is because this change will be part of the fix for bz 2308366. 2308366 will track adding 4k block device support to diskimage-builder, and this change will track rebuilding an existing overcloud image with block device changes. Increasing the priority and severity to match bz 2308366.

Comment 19 Steve Baker 2024-10-21 21:04:22 UTC
Removing the block-device-yaml script as a requirement of this change being complete. It can be attached to the knowledge base article instead.

Comment 20 Steve Baker 2024-10-30 03:58:18 UTC
All required changes are in diskimage-builder-3.31.1-17.1.20240905210750.0576fad.el9ost which is in compose RHOS-17.1-RHEL-9-20241014.n.1

Comment 27 errata-xmlrpc 2024-11-21 09:42:16 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 (RHOSP 17.1.4 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/RHBA-2024:9974


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