Bug 856376

Summary: Unable to Configure NIS
Product: [openSUSE] openSUSE Tumbleweed Reporter: Richard Brown <RBrownCCB>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: mfilka
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Richard Brown 2013-12-19 17:24:02 UTC
Every time I try to configure NIS in openSUSE Factory I get the following error in YaST

Internal error. Please report a bug report with logs.
Details: undefined method `IsManaged' for #<Yast::NetworkServiceClass:0x00000002fbd888>

Below is the full output from y2log for the attempted launch of the NIS Client module in YaST

> 2013-12-19 18:19:25 <3> ubrokeit.suse.de(6948) [Ruby] yast/wfm.rb:197 Client call failed with 'undefined method `IsManaged' for #<Yast::NetworkServiceClass:0x00000002fbd888>' and backtrace ["/usr/share/YaST2/include/nis/ui.rb:331:in `MainDialog'", "/usr/share/YaST2/include/nis/ui.rb:82:in `block in initialize_nis_ui'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/builtins.rb:535:in `call'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/builtins.rb:535:in `eval'", "/usr/share/YaST2/modules/Sequencer.rb:268:in `WS_run'", "/usr/share/YaST2/modules/Sequencer.rb:340:in `Run'", "/usr/share/YaST2/include/nis/ui.rb:1243:in `NormalSequence'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/share/YaST2/modules/CommandLine.rb:1625:in `Run'", "/usr/share/YaST2/clients/nis.rb:166:in `main'", "/usr/share/YaST2/clients/nis.rb:272:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/wfm.rb:184:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/yast/wfm.rb:184:in `run_client'"]
>2013-12-19 18:19:25 <3> ubrokeit.suse.de(6948) [Ruby] yast/wfm.rb:202 Internal error. Please report a bug report with logs.
Details: undefined method `IsManaged' for #<Yast::NetworkServiceClass:0x00000002fbd888>
>2013-12-19 18:19:25 <1> ubrokeit.suse.de(6948) [ui] YPushButton.cc(setFunctionKey):188 Guessing button role YOKButton for YPushButton "OK" at 0x7fcac83106f0 from function key F10
>2013-12-19 18:19:37 <1> ubrokeit.suse.de(6948) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base'
>2013-12-19 18:19:37 <1> ubrokeit.suse.de(6948) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'false'
>2013-12-19 18:19:37 <1> ubrokeit.suse.de(6948) [Y2Ruby] binary/YRuby.cc(~YRuby):107 Shutting down ruby interpreter.
>2013-12-19 18:19:37 <1> ubrokeit.suse.de(6948) [Y2Perl] YPerl.cc(destroy):164 Shutting down embedded Perl interpreter.
Comment 1 Vladimir Moravec 2013-12-20 14:44:17 UTC
Hi, would you pls attach the yast logs, see here: http://en.opensuse.org/openSUSE:Bugreport_YaST . Thanks.
Comment 2 Jiří Suchomel 2014-01-06 09:19:40 UTC
Michal, what's the replacement for 

NetworkService.IsManaged ?
Comment 3 Michal Filka 2014-01-06 22:51:54 UTC
NetworkService.is_network_manager
Comment 4 Jiří Suchomel 2014-01-13 15:20:27 UTC
fixed in git