freeipa/ipaserver/install/plugins
Rob Crittenden 43222cb855 Ignore database errors when trying to extract ipaCert on upgrade
If NSSDatabase() throws a ValueError it means we can't open it
to look for an existing ipaCert to migrate. Chances are there is
no certificate to migrate at this point in Fedora so don't let
it blow up the entire installation/upgrade. Warn the user and let
them figure it out.

We have no real path forward on this and by proceeding it could
lead to more errors (like no RA) but it is extremely unlikely and
would require a user to upgrade from very old Fedora to very
new Fedora in one step.

https://pagure.io/freeipa/issue/8675

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
2021-01-28 09:19:32 +01:00
..
__init__.py Server Upgrade: specify order of plugins in update files 2015-04-14 19:25:47 +02:00
adtrust.py Use api.env.container_sysaccounts 2020-04-28 11:28:29 +02:00
ca_renewal_master.py Terminology improvements: CA renewal 2020-06-23 10:16:29 +02:00
dns.py Change FreeIPA references to IPA and Identity Management 2021-01-21 13:51:45 +01:00
fix_kra_people_entry.py upgrade: fix ipakra people entry 'description' attribute 2019-10-17 08:17:46 +02:00
fix_replica_agreements.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
rename_managed.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
update_ca_topology.py Simplify LDAPUpdater 2020-09-22 09:21:00 -04:00
update_changelog_maxage.py Increase replication changelog trimming to 30 days 2020-08-19 14:02:27 -04:00
update_dna_shared_config.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_fix_duplicate_cacrt_in_ldap.py Duplicate CA CRT: ignore expected cert 2020-09-18 14:20:08 -04:00
update_idranges.py Catch EmptyResult exception in update_idranges 2020-11-06 16:29:41 -05:00
update_ldap_server_list.py Fix E713 test for membership should be 'not in' 2020-05-05 10:42:46 +02:00
update_managed_permissions.py Terminology improvements: use block list 2020-06-23 10:16:29 +02:00
update_nis.py Simplify LDAPUpdater 2020-09-22 09:21:00 -04:00
update_pacs.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_passsync.py Use api.env.container_sysaccounts 2020-04-28 11:28:29 +02:00
update_pwpolicy.py Add ipwpwdpolicy objectclass to all policies on upgrade 2020-11-06 16:29:41 -05:00
update_ra_cert_store.py Ignore database errors when trying to extract ipaCert on upgrade 2021-01-28 09:19:32 +01:00
update_referint.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_services.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_unhashed_password.py Issue 8407 - Support changelog integration into main database 2020-08-04 10:54:57 +03:00
update_uniqueness.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
upload_cacrt.py CA: set ipaconfigstring:compatCA in cn=DOMAIN IPA CA 2019-05-22 17:53:13 +02:00