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

2019-01-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: freeipa (Ubuntu)
   Status: New => Confirmed

-- 
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:
  Confirmed

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

___
Mailing list: https://launchpad.net/~freeipa
Post to : freeipa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~freeipa
More help   : https://help.launchpad.net/ListHelp


[Freeipa] [Bug 1773843] Re: cannot upgrade freeipa-server

2019-01-28 Thread gianluca
I think I do not have this problem anymore. There are still problems in
upgrading from pre-releases to 4.7.1 (see #1800631), but probably for
different reasons.

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

Title:
  cannot upgrade freeipa-server

Status in freeipa package in Ubuntu:
  New

Bug description:
  I am trying to upgrade from freeipa 4.7.0~pre1 to 4.7.0~pre2-0~ppa3 of
  the staging repository. The install fails with the following error:
  RemoteRetrieveError: Failed to authenticate to CA REST API

  In the past, I also tried upgrading freeipa 4.7.0~pre1 to
  4.7.0~pre2-0~ppa2 or from 4.7.0~pre2-0~ppa2 to 4.7.0~pre2-0~ppa3. All
  these attempts failed with the same error.

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

___
Mailing list: https://launchpad.net/~freeipa
Post to : freeipa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~freeipa
More help   : https://help.launchpad.net/ListHelp


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

2019-01-28 Thread gianluca
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

___
Mailing list: https://launchpad.net/~freeipa
Post to : freeipa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~freeipa
More help   : https://help.launchpad.net/ListHelp