Bug 911315

Summary: Specifying 'Access Point' under YaST Wireless Expert Settings and Network Settings Global Option Network Setup Method 'Wicked Service' yields 'changeDevice() failed'
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User 5EXamoye1_ <forgotten_5EXamoye1_>
Component: NetworkAssignee: wicked maintainers <wicked-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: pwieczorkiewicz, whdu
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 5EXamoye1_ 2014-12-28 22:43:33 UTC
Configuring Edimax Wifi USB Stick for home network fails after upgrade to OpenSUSE 13.2. Newly specifying WLAN setting under YaST made me locate the critical network option in YaST: Specification of field 'Access Point' under YaST Wireless Expert Settings in combination with Network Settings > Global Options > Network Setup Method 'Wicked Service' yields an error 'changeDevice() failed'.

Hardware is
> linux:/etc/sysconfig/network # lsusb
> Bus 001 Device 002: ID 7392:7711 Edimax Technology Co., Ltd EW-7711UTn
> nLite Wireless Adapter [Ralink RT2870]

Device is automatically recognized at boot up and an network error is displayed. The file '/var/log/messages' shows:
> 2014-12-28T22:49:48.074468+01:00 linux wickedd[7146]: ni_wpa_network_set
> failed: fi.epitest.hostap.WPASupplicant.InvalidOptions (Did not receive
> correct message arguments.)
> 2014-12-28T22:49:48.075229+01:00 linux wicked[8032]: device wlp0s2f1u1
> failed: call to org.opensuse.Network.Wireless.changeDevice() failed:
> General failure
> 2014-12-28T22:49:48.079051+01:00 linux wicked[8032]: wlp0s2f1u1
>       device-ready
2014-12-28T22:49:48.079374+01:00 linux wicked[8032]: wlp0s2f1u1
>       device-not-running

while the user gets the following message manually restarting network service:
> linux:/etc/sysconfig/network # systemctl restart wickedd       
> linux:/etc/sysconfig/network # wicked ifup all  
> wicked: device wlp0s2f1u1 failed: call to 
> org.opensuse.Network.Wireless.changeDevice() failed: General failure
> lo              up
> wlp0s2f1u1      device-not-running

The error disappears transitioning from config ifcfg-wlp0s2f1u1.old to ifcfg-wlp0s2f1u1:
> linux:/etc/sysconfig/network # diff ifcfg-wlp0s2f1u1 ifcfg-wlp0s2f1u1.old
> 12c12
> < WIRELESS_AP=''
> ---
> > WIRELESS_AP='9C:C7:A6:39:62:4B'

System is
> linux:/etc/sysconfig/network # uname -a
> Linux linux-to84 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44
> UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux
> linux:/etc/sysconfig/network # cat /etc/issue
> Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l).
Comment 1 Pawel Wieczorkiewicz 2015-01-13 14:43:32 UTC
Solution available (at review) at github:
https://github.com/openSUSE/wicked/pull/480
Comment 2 Pawel Wieczorkiewicz 2015-01-21 09:23:33 UTC
Fix already accepted upstream. Will be present with wicked 0.6.15.
Comment 3 Pawel Wieczorkiewicz 2015-01-21 09:50:15 UTC
When build is finished, snapshot containing the fix will be available at http://download.opensuse.org/repositories/network:/wicked:/master/
Comment 4 Bernhard Wiedemann 2015-01-23 14:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (911315) was mentioned in
https://build.opensuse.org/request/show/282549 Factory / wicked
https://build.opensuse.org/request/show/282550 13.2 / wicked
Comment 7 Swamp Workflow Management 2015-02-02 13:05:43 UTC
openSUSE-RU-2015:0196-1: An update that has four recommended fixes can now be installed.

Category: recommended (low)
Bug References: 901517,904061,910323,911315
CVE References: 
Sources used:
openSUSE 13.2 (src):    wicked-0.6.15-8.1
Comment 8 Swamp Workflow Management 2015-02-19 13:08:01 UTC
SUSE-RU-2015:0326-1: An update that has 17 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 895600,900951,901337,901402,901517,904061,904380,904432,904776,904903,905421,905750,906217,907683,908554,910323,911315
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12 (src):    wicked-0.6.15-8.1
SUSE Linux Enterprise Desktop 12 (src):    wicked-0.6.15-8.1
SUSE Linux Enterprise Build System Kit 12 (src):    wicked-0.6.15-8.1