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 1224676 - ppc64le: virt-resize/virt-build/virt-sysprep/virt-customize fail to execute and return the error "Segmentation fault (core dumped)"
Summary: ppc64le: virt-resize/virt-build/virt-sysprep/virt-customize fail to execute a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: ppc64le
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1270745 (view as bug list)
Depends On: 1225995
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-25 10:07 UTC by Hu Zhang
Modified: 2015-11-19 07:01 UTC (History)
5 users (show)

Fixed In Version: libguestfs-1.28.1-1.37.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 07:01:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2183 0 normal SHIPPED_LIVE libguestfs bug fix and enhancement update 2015-11-19 08:18:42 UTC

Description Hu Zhang 2015-05-25 10:07:27 UTC
Description of problem:
virt-resize/virt-build/virt-sysprep/virt-customize fail to execute and return the error "Segmentation fault (core dumped)". It works well on ppc64be machine.

Version-Release number of selected component (if applicable):
libguestfs-1.28.1-1.35.ael7b.ppc64le
libguestfs-tools-c-1.28.1-1.35.ael7b.ppc64le
kernel-3.10.0-244.ael7b.ppc64le

How reproducible:
Always

Steps to Reproduce:
1. On a ppc64le machine.
# virt-resize RHEL-Server-6.7-64-hvm.raw test1.img -v -x
command line: virt-resize RHEL-Server-6.7-64-hvm.raw test1.img -v -x
Examining RHEL-Server-6.7-64-hvm.raw ...
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
Segmentation fault (core dumped)

2. On a ppc64le machine.
# virt-customize -a RHEL-Server-6.7-64-hvm.raw --hostname rhel -x -v
[   0.0] Examining the guest ...
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: set_selinux false
libguestfs: trace: set_selinux = 0
Segmentation fault (core dumped)

For virt-build and virt-sysprep, it returns the same error info.

Actual results:
Described as above.

Expected results:
virt-resize/virt-build/virt-sysprep/virt-customize should work well with no error return.                  


Additional info:

Comment 2 Richard W.M. Jones 2015-05-28 20:26:54 UTC
This appears to be the same root cause as bug 1224675, which
would mean this bug should depend on 1225995.  However I
will wait until I have all acks on 1225995 and can rebuild
the OCaml compiler + libguestfs.

Comment 3 Richard W.M. Jones 2015-05-29 09:45:32 UTC
I've now confirmed this has the same root cause as bug 1224675
and bug 1225995.

Comment 5 Hu Zhang 2015-09-14 05:33:34 UTC
Verified with the packages:
libguestfs-1.28.1-1.54.el7.ppc64le
libguestfs-tools-c-1.28.1-1.54.el7.ppc64le

Verify step:
1. On a ppc64le machine.
# virt-resize RHEL-Server-6.7-64-hvm.raw test1.img -v -x
...
Resize operation completed with no errors.  Before deleting the old disk, 
carefully check that the resized disk boots and works correctly.

2. On a ppc64le machine.
# virt-customize -a RHEL-Server-6.7-64-hvm.raw --hostname rhel -x -v
# guestfish -a RHEL-Server-6.7-64-hvm.raw -i cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rhel

Commands work as expected. So verified.

Comment 6 Wayne Sun 2015-10-12 11:14:17 UTC
*** Bug 1270745 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2015-11-19 07:01:21 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://rhn.redhat.com/errata/RHBA-2015-2183.html


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