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.
Previously, performing a quiesced snapshot of a guest virtual machine failed if the guest had a bind mount configured. With this update, the quiesce operation skips bound mount points, and a quiesced snapshot can be successfully performed on the affected guests.
DescriptionAlexandros Panagiotou
2018-01-18 23:05:28 UTC
Created attachment 1383085[details]
reproducer steps provided by customer
Description of problem:
Freezing filesystems on a VM that has bind-mounted filesystems fails with ENXIO.
Version-Release number of selected component (if applicable):
open-vm-tools-10.1.5-3.el7.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Install haproxy and create the bind-mount:
yum install haproxy
mkdir /var/lib/haproxy/dev
touch /var/lib/haproxy/dev/log
mount -o bind /dev/log /var/lib/haproxy/dev/log
2. Configure haproxy to use /dev/log
3. Start haproxy: systemctl start haproxy
4. Run backup
A more detailed description can be found in the attached text file.
Actual results:
Freezing filesystems fails. The following logs are written in vmsvc logs:
...
[Dec 18 14:10:23.743] [ debug] [vmsvc] SyncDriver: failed to open '/var/lib/haproxy/dev/log': 6 (No such device or address)
...
[Dec 18 14:10:23.745] [ warning] [vmbackup] Error freezing filesystems.
...
Expected results:
Freezing filesystems succeeds.
Additional info:
Upstream bug report and pull request (accepted by VMware): https://github.com/vmware/open-vm-tools/pull/218
Comment 2Richard W.M. Jones
2018-01-18 23:12:37 UTC
Fix is super-simple, but it's very late in the RHEL 7.5 cycle.
I'll leave this one up to Jeff to decide. However even if we
don't take it for 7.5 GA, I think it should be in a 7.5 z-stream
release.
(In reply to Richard W.M. Jones from comment #2)
> Fix is super-simple, but it's very late in the RHEL 7.5 cycle.
> I'll leave this one up to Jeff to decide. However even if we
> don't take it for 7.5 GA, I think it should be in a 7.5 z-stream
> release.
Whats the fix? Is it upstream?
Comment 5Richard W.M. Jones
2018-01-22 12:12:57 UTC
Comment 9Alexandros Panagiotou
2018-04-20 18:09:47 UTC
Hello,
From https://github.com/vmware/open-vm-tools/releases, I understand that open-vm-tools 10.2.5 is now released and as far as I can tell it contains the fix - therefore it is now upstream.
Would it make sense to add the "Patch" keyword? Also given #2, does it make sense to keep it waiting for 7.6?
Thanks and Regards,
Alexandros
(In reply to Alexandros Panagiotou from comment #9)
I'm reassigning this to Jeff. The rebase is in his domain. I think the patch has to be in 7.6 before we can backport it to z-stream. Rich will correct me if I'm wrong.
Because the rebase is expected to fix the problem, I've set the status to POST. This is one of several conditions for requesting a backport to 7.5.z, so I've gone ahead and requested that too. It would help if someone could provide a justification for the backport.
@Ravindra
Hi,
I'm going to need an upstream patch commit for this fix in order to insert it into the 7.5.z stream. I will also subsequently provide a build for you to test.
Thanks,
Cathy
verify this bug with RHEL7.6 guest on VMware ESXi6.0
Verify version:
kernel-3.10.0-862.el7.x86_64
open-vm-tools-10.2.5-2.el7.x86_64
Verify steps:
1. Install haproxy and create the bind-mount:
yum install haproxy
mkdir /var/lib/haproxy/dev
touch /var/lib/haproxy/dev/log
mount -o bind /dev/log /var/lib/haproxy/dev/log
2. Configure haproxy to use /dev/log
3. Start haproxy: systemctl start haproxy
4. Take sanpshot with quiesce guest file system
The test result: Verified
The snapshot with quiesce guest file system succeeds and no error log found.
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-2018:3104