Bug 1194495

Summary: Yast NFS client configuration fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: James Moe <jimoe>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: dgonzalez
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1194342
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast log of failure to save NFS client data

Description James Moe 2022-01-10 21:30:29 UTC
Created attachment 855122 [details]
Yast log of failure to save NFS client data

When I start the edit of a NFS client entry, this appears:

----[ message ]----
This entry uses old ways of specifying the NFS protocol version that
do not longer work as they used to do it (like the usage of 'nfs4' as
file system type or the usage of 'minorversion' in the mount options).

Editing the entry will change how the version is specified, with no
possibility to use old outdated method again.

Proceed and edit?
----[ end ]----
Note: Those "old ways" were created when the entry was saved today. They replace entries like "Defaults".

I select Continue.
I edit/create an entry.
I select OK to save edit
I select OK to end edit session.
Result:
----[ message ]----
Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.

Caller: /usr/share/YaST2/lib/yast2/popup.rb:79:in `show'

Details: wrong number of arguments (given 2, expected 1)
----[ end ]----
Comment 1 David Diaz 2022-01-11 08:41:28 UTC
Hi James,

Looking at attached logs, 

> 2022-01-10 12:46:31 <1> sma-station14l(5995) [Ruby] callbacks/commit.rb(error):67 libstorage-ng reported an error, asking the user whether to continue
> 2022-01-10 12:46:31 <1> sma-station14l(5995) [Ruby] callbacks/commit.rb(error):68 Error details. Message: Unmounting sma-nas-02:/volume1/pub-data at /t. What: command '/bin/umount '/t'' failed:
> 
> stderr:
> umount.nfs4: /t: device is busy
> 
> exit code:
> 16.
> 2022-01-10 12:46:31 <2> sma-station14l(5995) [Ruby] > y2issues/reporter.rb(log_issues):140 


I can assure this was a problem with yast2-storage-ng and Ruby 3. Already reported and fixed. See [1] and [2]


So, a matter to update yast2-storage-ng to the latest versions (4.4.31)

Please, next time try to upload the file generated by running save_y2logs[3] command, as suggested in the popup displaying the error. It contains more information (like packages versions) that help us to understand and debug issues better.

Thank you!

[1] https://github.com/yast/yast-storage-ng/pull/1277
[2] https://bugzilla.suse.com/show_bug.cgi?id=1194342
[3] https://en.opensuse.org/openSUSE:Report_a_YaST_bug