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 1536222 - [ESXi][RHEL7.5]Freezing filesystems on a VM that has bind-mounted filesystems fails with ENXIO
Summary: [ESXi][RHEL7.5]Freezing filesystems on a VM that has bind-mounted filesystems...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: open-vm-tools
Version: 7.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Cathy Avery
QA Contact: ldu
URL:
Whiteboard:
Depends On: 1527233
Blocks: 1582123
TreeView+ depends on / blocked
 
Reported: 2018-01-18 23:05 UTC by Alexandros Panagiotou
Modified: 2021-09-29 01:29 UTC (History)
15 users (show)

Fixed In Version: open-vm-tools-10.2.5-2.el7
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
: 1582123 (view as bug list)
Environment:
Last Closed: 2018-10-30 09:48:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer steps provided by customer (1.58 KB, text/plain)
2018-01-18 23:05 UTC, Alexandros Panagiotou
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3104 0 None None None 2018-10-30 09:49:41 UTC

Description Alexandros 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 2 Richard 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.

Comment 3 Junfeng Wang 2018-01-22 09:34:50 UTC
this issue can be reproduced in our environment

Comment 4 Cathy Avery 2018-01-22 12:09:44 UTC
(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 5 Richard W.M. Jones 2018-01-22 12:12:57 UTC
https://github.com/vmware/open-vm-tools/pull/218

It is NOT upstream as far as I can tell.

Comment 6 Ravindra Kumar 2018-01-22 19:05:13 UTC
Upstream fix is planned for the next minor update of open-vm-tools 10.2.x, which is couple of months away.

Comment 7 Cathy Avery 2018-01-24 14:39:41 UTC
OK then this bug should be targeted for 7.6.

Comment 8 Jeff Nelson 2018-01-24 16:38:33 UTC
Per comments 6 and 7, targeting for 7.6.

Comment 9 Alexandros 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

Comment 10 Cathy Avery 2018-04-20 19:03:47 UTC
(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.

Comment 12 Jeff Nelson 2018-04-20 23:19:08 UTC
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.

Comment 17 Cathy Avery 2018-05-24 13:29:57 UTC
@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

Comment 18 Ravindra Kumar 2018-05-24 23:10:46 UTC
(In reply to Cathy Avery from comment #17)
> I'm going to need an upstream patch commit for this fix in order to insert
> it into the 7.5.z stream.

It is here - https://github.com/vmware/open-vm-tools/commit/6559b7dfd9f6f40c2df76e1b1e785fa3eb1c1da4.

Comment 19 Yaju Cao 2018-06-14 09:30:43 UTC
Change to 'ON_QA' since fix is included in rebase Bug 1527233, of which status is ON_QA.

Comment 20 ldu 2018-08-09 07:51:42 UTC
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.

Comment 22 errata-xmlrpc 2018-10-30 09:48:24 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-2018:3104


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