Bug 885818

Summary: cannot connect to shared network via bluetooth
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: bluezAssignee: Bastien Nocera <bnocera>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: dcbw, jklimes
Target Milestone: beta   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 886071 (view as bug list) Environment:
Last Closed: 2014-06-13 12:35:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 886071    

Description Vladimir Benes 2012-12-10 17:29:11 UTC
Description of problem:
My phone is PAN device. There is an icon in nm-applet but when I click it I get error immediately that connection failed. See attached log from messages.

Version-Release number of selected component (if applicable):
gnome-bluetooth-3.6.1-1.el7.x86_64
bluez-4.101-5.el7.x86_64
NetworkManager-0.9.7.0-7.git20121004.el7.x86_64
kernel-3.6.0-0.29.el7.x86_64
dbus-1.6.8-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.add PAN device via bluetooth wizard and select "Use you mobile phone as a network device (PAN/NAP)
2.connect to network via GNOME Shell's nm-applet
  
Actual results:
"Connection Failed: Activation of Network Connection Failed" Error

Expected results:
successful connection

Additional info:

Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) starting connection 'Xperia ray Network'
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> (5C:B5:24:8F:C1:D4): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 1 of 5 (Device Prepare) scheduled...
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 1 of 5 (Device Prepare) started...
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 2 of 5 (Device Configure) scheduled...
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 1 of 5 (Device Prepare) complete.
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 2 of 5 (Device Configure) starting...
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> (5C:B5:24:8F:C1:D4): device state change: prepare -> config (reason 'none') [40 50 0]
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> Activation (5C:B5:24:8F:C1:D4) Stage 2 of 5 (Device Configure) complete.
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <warn> Error connecting with bluez: Method "Connect" with signature "s" on interface "org.bluez.Network" doesn't exist
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> (5C:B5:24:8F:C1:D4): device state change: config -> failed (reason 'bluetooth-failed') [50 120 44]
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <warn> Activation (5C:B5:24:8F:C1:D4) failed for connection 'Xperia ray Network'
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> (5C:B5:24:8F:C1:D4): device state change: failed -> disconnected (reason 'none') [120 30 0]
Dec 10 19:17:18 dhcp131-78 NetworkManager[1083]: <info> (5C:B5:24:8F:C1:D4): deactivating device (reason 'none') [0]
Dec 10 19:17:18 dhcp131-78 dbus-daemon[1028]: dbus[1028]: [system] Rejected send message, 7 matched rules; type="error", sender=":1.7" (uid=0 pid=1119 comm="/usr/sbin/bluetoothd -n ") interface="(unset)" member="(unset)" error name="org.bluez.Error.NotConnected" requested_reply="0" destination=":1.5" (uid=0 pid=1083 comm="/usr/sbin/NetworkManager --no-daemon ")
Dec 10 19:17:18 dhcp131-78 dbus[1028]: [system] Rejected send message, 7 matched rules; type="error", sender=":1.7" (uid=0 pid=1119 comm="/usr/sbin/bluetoothd -n ") interface="(unset)" member="(unset)" error name="org.bluez.Error.NotConnected" requested_reply="0" destination=":1.5" (uid=0 pid=1083 comm="/usr/sbin/NetworkManager --no-daemon ")

Comment 1 Jirka Klimes 2013-01-08 14:22:06 UTC
This looks like an issue of bluez. It removed 'Connect' method, but then introduced it again. New bluez build should be made.

Removing commit:
http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=9c62de94e5044038bcaae6cd6c0ec783fbee607a

Reverting commit:
http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=0624791ea6e917d6c9ecb8e7e6e5a1327199448d

See also:
https://bbs.archlinux.org/viewtopic.php?id=150485

Comment 2 Dan Williams 2013-01-08 17:58:49 UTC
bluez-4.101 is busted here.  We need some patches, eg from:

https://launchpad.net/ubuntu/quantal/+source/bluez/4.101-0ubuntu4/+files/bluez_4.101-0ubuntu4.debian.tar.gz

the git-XXXX ones are relevant for this specific issue.

Comment 3 Bastien Nocera 2013-01-10 14:21:04 UTC
Fixed in bluez-4.101-6.fc18

Comment 4 Vladimir Benes 2013-01-18 08:08:18 UTC
works well now, I can connect to a gsm network via phone and bluetooth.
-> VERIFIED

Comment 5 Ludek Smid 2014-06-13 12:35:31 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.