You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----------
ID: redacted-mount
Function: mount.mounted
Name: /mnt/storage
Result: None
Comment: Remount would be forced because options (noauto) changed
Started: 11:43:58.422813
Duration: 7.405 ms
Changes:
----------
salt-ssh redacted state.highstate:
----------
ID: redacted-mount
Function: mount.mounted
Name: /mnt/storage
Result: True
Comment: Target was already mounted
Started: 11:50:45.518528
Duration: 13.03 ms
Changes:
----------
umount:
Forced remount because options (noauto) changed
----------
Versions Report
salt --versions-report
master:
Salt Version:
Salt: 3006.1Python Version:
Python: 3.10.11 (main, May 5 2023, 02:37:04) [Clang 14.0.0 (clang-1400.0.29.202)]Dependency Versions:
cffi: 1.14.6cherrypy: unknowndateutil: 2.8.0docker-py: Not Installedgitdb: 4.0.5gitpython: 3.1.30Jinja2: 3.1.2libgit2: Not Installedlooseversion: 1.0.2M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.2msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 22.0pycparser: 2.21pycrypto: Not Installedpycryptodome: 3.9.8pygit2: Not Installedpython-gnupg: 0.4.8PyYAML: 5.4.1PyZMQ: 23.2.0relenv: 0.12.3smmap: 3.0.2timelib: 0.2.4Tornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: darwin 22.6.0 locale: utf-8machine: x86_64release: 22.6.0system: Darwinversion: 13.6.3 x86_64
Minion:
$ uname -a
Linux redacted 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Additional context
I've created this issue because all other related issues I've found are marked as stale and closed 🤷
Like #18630
Possible fix
Extending the fix from https://github.com/saltstack/salt/pull/19369/files with noauto should fix this particular issue.
Verified with a local adaption and applying salt-ssh -t redacted state.highstate test=True.
The text was updated successfully, but these errors were encountered:
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Description
A highstate forces a remount because of changed options even if no remount is necessary.
In our case it's because of the option
noauto
.Setup
We use Salt-SSH to manage our Linode Ubuntu VMs.
Steps to Reproduce the behavior
Apply a highstate when the mount is already done
mount -l | grep redacted
:cat /proc/self/mountinfo | grep redacted
:State to be applied:
Expected behavior
Nothing should happen because no option has changed
Screenshots
salt-ssh redacted state.highstate test=True
:salt-ssh redacted state.highstate
:Versions Report
salt --versions-report
master:
Minion:
Additional context
I've created this issue because all other related issues I've found are marked as stale and closed 🤷
Like #18630
Possible fix
Extending the fix from https://github.com/saltstack/salt/pull/19369/files with
noauto
should fix this particular issue.Verified with a local adaption and applying
salt-ssh -t redacted state.highstate test=True
.The text was updated successfully, but these errors were encountered: