New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibm.power_aix.mount mounts remote NFS successfully, but doesn´t umount it. #417
Comments
Addendum: It works on a machine where the NFS is permanently mounted and in the /etc/filesystems: Umount NFS 'nfs-swdepot'... After running the playbook /mnt is gone here, while the other servers who only mount it via Ansible temporarily report: aix72test01t ok | msg: Filesystem/Mount point '/mnt' is not mounted while it is still there: [aix72test01t:/home/USER]# mount|grep /mnt I´m confused, is this a check further up in the code? |
Addendum, this works as expected, so it seems it´s nothing specific about my AIX servers but a change in the ibm.power_aix.mount Module:
|
Hello @nitismis ! Can I provide any additional information :) ? Thanks, With kind regards, Steve |
@StevePOI ... I will prioritize this defect in our next sprint (starting Monday). You can provide the verbose out of the playbook. Thanks |
Thanks for including it in the next sprint! Is this verbose enough (-vvvv, we always see those kerberos messages):
|
Describe the bug
I use ibm.power_aix.mount as roles in my playbooks, one task to mount a certain NFS (for EMGR, INSTALLP Module etc...):
ibm.power_aix.mount:
node: '{{ NFSMOUNT }}'
mount_over_dir: /mnt
mount_dir: /swdepot
And afterwards I umount it again:
ibm.power_aix.mount:
state: umount
mount_over_dir: /mnt
Today I noticed that the umount part is not working anymore, it gives this "OK" message, so everything is green:
ok | msg: Filesystem/Mount point '/mnt' is not mounted
(Line https://github.com/IBM/ansible-power-aix/blob/dev-collection/plugins/modules/mount.py#L433 )
This behaviour must be relatively recent, it used to work in the last months of 2023 and I´m using this since 2021.
So I´m left with many mounted /mnt on my systems after each job run, please advise :) .
To Reproduce
Use the ibm.power_aix.mount Module to umount a remote NFS v3.
Expected behavior
According to https://github.com/IBM/ansible-power-aix/blob/dev-collection/plugins/modules/mount.py#L456 it should be:
And /mnt should be gone.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: