Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1605034

Summary: OSP13 Director is unable to edit overcloud-full.qcow2 images
Product: Red Hat Enterprise Linux 7 Reporter: cblake <cblake>
Component: libguestfsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5CC: apevec, dprince, lhh, mburns, pmannidi, ptoscano, rjones
Target Milestone: pre-dev-freezeKeywords: ZStream
Target Release: 7.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-20 19:46:36 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:
Attachments:
Description Flags
libguestfs-test-tool debug none

Description cblake@redhat.com 2018-07-20 03:55:16 UTC
Description of problem:
unable to modify overcloud-full.qcow2 using normal tools

Version-Release number of selected component (if applicable):
OSP13

How reproducible:
Always

Steps to Reproduce:
1. install undercloud as per docs
2. run virt-customize to change overcloud-full.qcow2 root password
3.

Actual results:
(undercloud) [stack@lxvcw1di201 images]$ virt-customize --selinux-relabel -a overcloud-full.qcow2 --root-password password:Password123
[   0.0] Examining the guest ...
virt-customize: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
  export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again.  For further information, read:
  http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.

If reporting bugs, run virt-customize with debugging enabled and include 
the complete output:

  virt-customize -v -x [...]
(undercloud) [stack@lxvcw1di201 images]$

Expected results:
overcloud-full.qcow root password changes

Additional info:
md5 checksum of qcow2 vs original rhosp image matches

Suspect related to this bug
https://bugzilla.redhat.com/show_bug.cgi?id=1597313

The undercloud kernel is:
(undercloud) [stack@lxvcw1di201 overcloud]$ uname -r
3.10.0-862.6.3.el7.x86_64

Comment 1 cblake@redhat.com 2018-07-20 04:03:55 UTC
Created attachment 1464852 [details]
libguestfs-test-tool debug

Comment 2 PURANDHAR SAIRAM MANNIDI 2018-07-20 04:06:42 UTC
Director is running as VM on KVM

Comment 3 Dan Prince 2018-07-20 18:39:52 UTC
Moving this to libguestfs component as nothing here is Director/Undercloud specific I think.

Comment 4 Richard W.M. Jones 2018-07-20 19:46:36 UTC
It's a duplicate of bug 1535973.

For additional info see
https://bugzilla.redhat.com/show_bug.cgi?id=1538033

*** This bug has been marked as a duplicate of bug 1535973 ***

Comment 5 Richard W.M. Jones 2018-07-20 19:48:06 UTC
Also as a workaround you can set:

export LIBGUESTFS_BACKEND_SETTINGS=force_tcg

but this will cause everything to run very slowly.