← Back to team overview

freeipa team mailing list archive

[Bug 1657134] Re: ipa-replica-install fails: "an internal error has occurred" on Remote master - DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freeipa.server was not provided by any .service files

 

** Attachment added: "sudo /usr/sbin/ipa-replica-conncheck --master=192.168.251.51"
   https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1657134/+attachment/4805348/+files/replica-master-conncheck.txt

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/1657134

Title:
  ipa-replica-install fails: "an internal error has occurred" on Remote
  master - DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The
  name org.freeipa.server was not provided by any .service files

Status in freeipa package in Ubuntu:
  New

Bug description:
  Using freeipa 4.3.1-0ubuntu1 on Ubuntu 16.04 servers.

  I have setup a FreeIPA master server with the following commands:

      apt install freeipa-server
      
      ipa-server-install --setup-dns --mkhomedir --auto-forwarders \
        --no-reverse --hostname=ewserv-auth01-prod.unix.ewadmin.ch \
        --ip-address=192.168.251.51 \
        --ds-password='dspassword' --admin-password='adminpassword' \
        --realm=UNIX.EWADMIN.CH --domain=unix.ewadmin.ch \
        --unattended

  On a different server, I'm now trying to setup a replica. The
  connection tests are good, see replica-master-conncheck.txt and
  master-replica-conncheck.txt.

  But ipa-replica-install fails (see ipa-replica-install.log.txt):

      $ sudo ipa-replica-install -P admin -w adminpassword --domain=unix.ewadmin.ch --server=ewserv-auth01-prod.unix.ewadmin.ch --realm=UNIX.EWADMIN.CH --hostname=ewserv-auth02-prod.unix.ewadmin.ch
      …
      Client configuration complete.

      Run connection check to master
      Removing client side components
      Unenrolling client from IPA server
      …
      ipa.ipapython.install.cli.install_tool(Replica): ERROR    Connection check failed!
      Please fix your network settings according to error messages above.
      If the check results are not valid it can be skipped with --skip-conncheck parameter.
      ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information

  In /var/log/ipareplica-install.log (attached as well), I find:

      […]
         Kerberos Kpasswd: UDP (464): SKIPPED

      Connection from replica to master is OK. 
      Start listening on required ports for remote master check                                                
      Get credentials to log in to remote master
      Check RPC connection to remote master
      Execute check on remote master

      2017-01-17T14:48:00Z DEBUG stderr=Remote master check failed with following error message(s):
      an internal error has occurred

      2017-01-17T14:48:00Z DEBUG Starting external process
      2017-01-17T14:48:00Z DEBUG args=/usr/sbin/ipa-client-install --unattended --uninstall
      2017-01-17T14:48:06Z DEBUG Process finished, return code=0
      […]

  In /var/log/apache2/error.log, I find an error:

      [Tue Jan 17 16:06:05.825724 2017] [wsgi:error] [pid 21773:tid 139626190206720] ipa: INFO: [jsonserver_kerb] admin@xxxxxxxxxxxxxxx: ping(version=u'2.164'): SUCCESS
      ERROR:dbus.proxies:Introspect error on org.freeipa.server:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freeipa.server was not provided by any .service files
      [Tue Jan 17 16:06:05.941909 2017] [wsgi:error] [pid 21772:tid 139626190206720] ipa: ERROR: non-public: DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freeipa.server was not provided by any .service files
      [Tue Jan 17 16:06:05.942141 2017] [wsgi:error] [pid 21772:tid 139626190206720] Traceback (most recent call last):
      [Tue Jan 17 16:06:05.942325 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/ipaserver/rpcserver.py", line 350, in wsgi_execute
      [Tue Jan 17 16:06:05.942543 2017] [wsgi:error] [pid 21772:tid 139626190206720]     result = self.Command[name](*args, **options)
      [Tue Jan 17 16:06:05.942946 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/ipalib/frontend.py", line 446, in __call__
      [Tue Jan 17 16:06:05.944110 2017] [wsgi:error] [pid 21772:tid 139626190206720]     ret = self.run(*args, **options)
      [Tue Jan 17 16:06:05.944272 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/ipalib/frontend.py", line 763, in run
      [Tue Jan 17 16:06:05.944459 2017] [wsgi:error] [pid 21772:tid 139626190206720]     return self.execute(*args, **options)
      [Tue Jan 17 16:06:05.944638 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/ipalib/plugins/server.py", line 247, in execute
      [Tue Jan 17 16:06:05.944825 2017] [wsgi:error] [pid 21772:tid 139626190206720]     ret, stdout, stderr = server.conncheck(keys[-1])
      [Tue Jan 17 16:06:05.945075 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
      [Tue Jan 17 16:06:05.945245 2017] [wsgi:error] [pid 21772:tid 139626190206720]     return self._proxy_method(*args, **keywords)
      [Tue Jan 17 16:06:05.945394 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
      [Tue Jan 17 16:06:05.945567 2017] [wsgi:error] [pid 21772:tid 139626190206720]     **keywords)
      [Tue Jan 17 16:06:05.945734 2017] [wsgi:error] [pid 21772:tid 139626190206720]   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
      [Tue Jan 17 16:06:05.945914 2017] [wsgi:error] [pid 21772:tid 139626190206720]     message, timeout)
      [Tue Jan 17 16:06:05.946074 2017] [wsgi:error] [pid 21772:tid 139626190206720] DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freeipa.server was not provided by any .service files
      [Tue Jan 17 16:06:05.946989 2017] [wsgi:error] [pid 21772:tid 139626190206720] ipa: INFO: [jsonserver_kerb] admin@xxxxxxxxxxxxxxx: server_conncheck(u'ewserv-auth01-prod.unix.ewadmin.ch', u'ewserv-auth02-prod.unix.ewadmin.ch', version=u'2.162'): DBusException
      [Tue Jan 17 16:06:10.595846 2017] [wsgi:error] [pid 21773:tid 139626190206720] ipa: INFO: [xmlserver] host/ewserv-auth02-prod.unix.ewadmin.ch@xxxxxxxxxxxxxxx: host_disable(u'ewserv-auth02-prod.unix.ewadmin.ch', version=u'2.51'): SUCCESS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1657134/+subscriptions


References