RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1717853 - Rebase boom-boot to upstream version 1.0
Summary: Rebase boom-boot to upstream version 1.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: boom-boot
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-06 10:56 UTC by Marian Csontos
Modified: 2021-09-06 15:22 UTC (History)
6 users (show)

Fixed In Version: boom-boot-1.0-0.1.20190329git6ff3e08.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 22:28:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3620 0 None None None 2019-11-05 22:28:47 UTC

Description Marian Csontos 2019-06-06 10:56:13 UTC
Request to rebase boom-boot to latest upstream version 1.0 soon to be released.

* The pre-release is already included in Rawhide,
* Red Hat is upstream,
* Lot of work driven by RHEL went to the tool.

Comment 2 Corey Marthaler 2019-09-12 20:16:49 UTC
Regression testing complete. Marking verified.


boom-boot-1.0-0.2.20190610git246b116.el8    BUILT: Mon Jun 10 08:22:40 CDT 2019
kernel-4.18.0-141.el8    BUILT: Fri Aug 30 10:51:22 CDT 2019
lvm2-2.03.05-4.el8    BUILT: Sun Aug 18 11:44:11 CDT 2019
lvm2-libs-2.03.05-4.el8    BUILT: Sun Aug 18 11:44:11 CDT 2019


host-093: pvcreate  /dev/sdd1 /dev/sdb1
host-093: vgcreate   snapper /dev/sdd1 /dev/sdb1

Enabling dmeventd
============================================================
Iteration 1 of 1 started at Thu Sep 12 14:55:31 CDT 2019
============================================================
SCENARIO - [boom_sanity]
Create a snapshot and perform some boom sanity only checks as this wont be an actual bootable snapshot
Installing package boom-boot on host-093...
Package boom-boot installed on node host-093.
Making origin volume
lvcreate -L 300M snapper -n origin
Making snapshot of origin volume
lvcreate -s /dev/snapper/origin -c 128 -n boom_snap -L 100M

Check 0. Verify a new profile can be created
boom profile create --from-host --uname-pattern el8
Check 1. Verify boom not configured for grub yet warning (Bug 1542952)
Boom already configured for grub. Skipping check.

Check 2. Verify fake OS profiles are properly identified (Bug 1540266)
boom create --profile fake_profile --title title --version 3.10-272.el7 --rootlv snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'

Check 3. Verify --rootlv and --root-device varations are both accepted (Bug 1543188)
--rootlv: boom create --title 1 --rootlv /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom list ee2733a
BootID  Version                  Name                     RootDevice            
ee2733a 4.18.0-141.el8.x86_64    Red Hat Enterprise Linux /dev/snapper/boom_snap
boom delete ee2733a

--root-lv: boom create --title 2 --root-lv /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom list 6f6e9b6
BootID  Version                  Name                     RootDevice            
6f6e9b6 4.18.0-141.el8.x86_64    Red Hat Enterprise Linux /dev/snapper/boom_snap
boom delete 6f6e9b6

--rootdevice: boom create --title 3 --rootdevice /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom list 87126f5
BootID  Version                  Name                     RootDevice            
87126f5 4.18.0-141.el8.x86_64    Red Hat Enterprise Linux /dev/snapper/boom_snap
boom delete 87126f5

--root-device: boom create --title 4 --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom list 61b1daa
BootID  Version                  Name                     RootDevice            
61b1daa 4.18.0-141.el8.x86_64    Red Hat Enterprise Linux /dev/snapper/boom_snap
boom delete 61b1daa

Check 4. Verify --root-lv and --root-device verify the lv/device exists (Bug 1543186)
boom create --title no-lv --root-lv snapper/nonlv
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom create --title no-dev --root-device /dev/sdxyz
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom create --title 5 --no-dev --root-lv snapper/nonlv
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
boom delete 129821a

Check 5. Verify proper use of user providing --rootlv /dev/* format (Bug 1544914)
boom create --title 6 --rootlv /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
Created entry with boot_id 54d7116:
  title 6
  machine-id b2997c74acd84f6b9567dc43cc3db741
  version 4.18.0-141.el8.x86_64
  linux /vmlinuz-4.18.0-141.el8.x86_64
  initrd /initramfs-4.18.0-141.el8.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap
boom delete 54d7116

Check 6. Verify proper rd.lvm.lv entry w/ --root-device option (Also listed in Bug 1544914)
boom create --title 7 --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 integration is disabled in '/boot/../etc/default/boom'
Created entry with boot_id 3654870:
  title 7
  machine-id b2997c74acd84f6b9567dc43cc3db741
  version 4.18.0-141.el8.x86_64
  linux /vmlinuz-4.18.0-141.el8.x86_64
  initrd /initramfs-4.18.0-141.el8.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap
boom delete 3654870

First, splitting off snapshot volume before removal
lvconvert -f --splitsnapshot /dev/snapper/boom_snap
Removing volume snapper/boom_snap
Removing origin snapper/origin

Comment 4 errata-xmlrpc 2019-11-05 22:28:46 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:3620


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