Bug 1079035 - DBusCallError: Failed to call Get method on /org/freedesktop/locale1 with ('org.freedesktop.locale1', 'VConsoleKeymap') arguments: Timeout was reached
Summary: DBusCallError: Failed to call Get method on /org/freedesktop/locale1 with ('o...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6da247cc7824752dfa87f6dbe12...
Depends On: 1079251
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-20 19:38 UTC by David Shea
Modified: 2014-03-31 11:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1079251 (view as bug list)
Environment:
Last Closed: 2014-03-31 11:35:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (3.06 MB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: anaconda.log (12.97 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: docker-test.ks (216 bytes, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: environ (1.89 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: journalctl (2.95 MB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: lsblk_output (2.21 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: nmcli_dev_list (1.80 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: os_info (381 bytes, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: program.log (8.61 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: storage.log (6.98 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: ifcfg.log (11.70 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
File: packaging.log (38.57 KB, text/plain)
2014-03-20 19:38 UTC, David Shea
no flags Details
output of 'ausearch -m user_avc' (3.93 KB, text/plain)
2014-03-21 09:45 UTC, Vratislav Podzimek
no flags Details

Description David Shea 2014-03-20 19:38:18 UTC
Description of problem:
Ran text-mode anaconda --dirinstall in an ssh session to a rawhide machine.

Version-Release number of selected component:
anaconda-core-21.28-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.28-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync
    raise DBusCallError(msg)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 134, in dbus_get_property_safe_sync
    connection)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 707, in keymap
    self._connection)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 813, in convert_keymap
    orig_keymap = self.keymap
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 159, in populate_missing_items
    c_lay_var = localed.convert_keymap(keyboard.vc_keymap)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 177, in write_keyboard_config
    populate_missing_items(keyboard)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute
    keyboard.write_keyboard_config(self, ROOT_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration
    ksdata.keyboard.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
DBusCallError: Failed to call Get method on /org/freedesktop/locale1 with ('org.freedesktop.locale1', 'VConsoleKeymap') arguments: Timeout was reached

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --dirinstall --kickstart=docker-test.ks
cmdline_file:   BOOT_IMAGE=/vmlinuz-3.14.0-0.rc6.git4.1.fc21.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/root vconsole.keymap=us rhgb quiet LANG=en_US.UTF-8
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-0.rc6.git4.1.fc21.x86_64
other involved packages: python-libs-2.7.6-4.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 David Shea 2014-03-20 19:38:26 UTC
Created attachment 877003 [details]
File: anaconda-tb

Comment 2 David Shea 2014-03-20 19:38:28 UTC
Created attachment 877004 [details]
File: anaconda.log

Comment 3 David Shea 2014-03-20 19:38:30 UTC
Created attachment 877005 [details]
File: docker-test.ks

Comment 4 David Shea 2014-03-20 19:38:31 UTC
Created attachment 877006 [details]
File: environ

Comment 5 David Shea 2014-03-20 19:38:38 UTC
Created attachment 877007 [details]
File: journalctl

Comment 6 David Shea 2014-03-20 19:38:40 UTC
Created attachment 877008 [details]
File: lsblk_output

Comment 7 David Shea 2014-03-20 19:38:41 UTC
Created attachment 877009 [details]
File: nmcli_dev_list

Comment 8 David Shea 2014-03-20 19:38:42 UTC
Created attachment 877010 [details]
File: os_info

Comment 9 David Shea 2014-03-20 19:38:44 UTC
Created attachment 877011 [details]
File: program.log

Comment 10 David Shea 2014-03-20 19:38:46 UTC
Created attachment 877012 [details]
File: storage.log

Comment 11 David Shea 2014-03-20 19:38:47 UTC
Created attachment 877013 [details]
File: ifcfg.log

Comment 12 David Shea 2014-03-20 19:38:49 UTC
Created attachment 877014 [details]
File: packaging.log

Comment 13 David Shea 2014-03-20 19:40:20 UTC
Maybe just the exceptions need to be changed? Either handling DBusCallError in keyboard.py or having dbus_get_property_safe_sync convert errors to DBusPropertyError?

Comment 14 David Shea 2014-03-20 20:09:52 UTC
Same thing at the SetVConsoleKeyboard call

anaconda 21.28-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync
    raise DBusCallError(msg)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 796, in set_keymap
    "SetVConsoleKeyboard", args, self._connection)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 830, in set_and_convert_keymap
    self.set_keymap(keymap, convert=True)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 814, in convert_keymap
    ret = self.set_and_convert_keymap(keymap)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 159, in populate_missing_items
    c_lay_var = localed.convert_keymap(keyboard.vc_keymap)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 177, in write_keyboard_config
    populate_missing_items(keyboard)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute
    keyboard.write_keyboard_config(self, ROOT_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration
    ksdata.keyboard.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
DBusCallError: Failed to call SetVConsoleKeyboard method on /org/freedesktop/locale1 with ('us', '', true, false) arguments: Timeout was reached

Comment 15 David Shea 2014-03-20 20:20:48 UTC
And one more. It worked after I shoved my way past this last one.

anaconda 21.28-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync
    raise DBusCallError(msg)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 876, in set_layouts
    "SetX11Keyboard", args, self._connection)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 207, in write_keyboard_config
    keyboard.switch_options)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute
    keyboard.write_keyboard_config(self, ROOT_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration
    ksdata.keyboard.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
DBusCallError: Failed to call SetX11Keyboard method on /org/freedesktop/locale1 with ('', '', '', '', false, false) arguments: Timeout was reached

Comment 16 Vratislav Podzimek 2014-03-21 07:10:33 UTC
Seems like systemd-localed doesn't work. I'll try to figure out if it is a problem on our side or systemd's side.

Comment 17 Vratislav Podzimek 2014-03-21 09:45:32 UTC
Created attachment 877185 [details]
output of 'ausearch -m user_avc'

Comment 18 Vratislav Podzimek 2014-03-21 10:03:53 UTC
Running 'setenforce 0' before running anaconda fixes the issue. Thus we need to fix the SELinux policy. Bug #1079251 filed for the issue.

Comment 19 Vratislav Podzimek 2014-03-31 11:35:04 UTC
Seems to be working fine now with anaconda-21.29-1 and selinux-policy-targeted-3.13.1-41.


Note You need to log in before you can comment on or make changes to this bug.