← Back to team overview

freeipa team mailing list archive

[Bug 1800631] Re: ipa-server-upgrade fail

 

I had a very similar problem (with bionic). I was able to upgrade to
FreeIPA 4.3.1 by installing version 3.36.1 of the package libnss3, from
the cosmic repositories. There is a bug in the version 3.35 distributed
with bionic (see https://bugzilla.redhat.com/show_bug.cgi?id=1568271)
which prevents upgrades (and not only... installing a replica IPA server
was also failing for me).


** Bug watch added: Red Hat Bugzilla #1568271
   https://bugzilla.redhat.com/show_bug.cgi?id=1568271

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

Title:
  ipa-server-upgrade fail

Status in freeipa package in Ubuntu:
  New

Bug description:
  when upgrade package from an old version to the last freeipa-server
  package 4.3.1, it fails on freeipa-server-upgrade command with this
  error:

  2018-10-30T09:54:10Z INFO [Add default CA ACL]
  2018-10-30T09:54:10Z DEBUG Loading StateFile from '/var/lib/ipa/sysupgrade/sysupgrade.state'
  2018-10-30T09:54:10Z INFO Default CA ACL already added
  2018-10-30T09:54:10Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
  2018-10-30T09:54:10Z DEBUG   File "/usr/lib/python2.7/dist-packages/ipapython/admintool.py", line 171, in execute
      return_value = self.run()
    File "/usr/lib/python2.7/dist-packages/ipaserver/install/ipa_server_upgrade.py", line 48, in run
      server.upgrade()
    File "/usr/lib/python2.7/dist-packages/ipaserver/install/server/upgrade.py", line 1713, in upgrade
      upgrade_configuration()
    File "/usr/lib/python2.7/dist-packages/ipaserver/install/server/upgrade.py", line 1655, in upgrade_configuration
      set_sssd_domain_option('ipa_server_mode', 'True')
    File "/usr/lib/python2.7/dist-packages/ipaserver/install/server/upgrade.py", line 1268, in set_sssd_domain_option
      domain.set_option(option, value)
    File "/usr/lib/python2.7/dist-packages/SSSDConfig/__init__.py", line 1143, in set_option
      (self.name, option))

  2018-10-30T09:54:10Z DEBUG The ipa-server-upgrade command failed, exception: NoOptionError: Section [mydomainmasked.tld] has no option [ipa_server_mode]
  2018-10-30T09:54:10Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details:
  NoOptionError: Section [mydomainmasked.tld] has no option [ipa_server_mode]

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


References