It seems like upgrading of freeipa is broken. I've been doing it continuously from ~March. The last GIT pull -> make rpms -> seem like broken. At first I used rpm -Uvh <packages> that threw the following error:
VERSION: 4.2.0.201506231755GITb3c7805, API_VERSION: 2.135
[root@vm-038 freeipa]# rpm -Uvh dist/rpms/*.rpm - SNIP - 2015-06-24T08:42:30Z DEBUG The ipa-server-upgrade command failed, exception: DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedorahosted.certmonger was not provided by any .service files 2015-06-24T08:42:30Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details: DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedorahosted.certmonger was not provided by any .service files
I was rechecking dependencies then and updated nss-* packages. The second try was with yum:
[root@vm-038 freeipa]# yum reinstall dist/rpms/*.rpm Loaded plugins: versionlock Examining dist/rpms/freeipa-admintools-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-admintools-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-client-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-client-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-debuginfo-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-debuginfo-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-python-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-python-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-server-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-server-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-server-trust-ad-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-server-trust-ad-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Examining dist/rpms/freeipa-tests-4.2.0.201506231747GITb3c7805-0.fc21.x86_64.rpm: freeipa-tests-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 Resolving Dependencies --> Running transaction check ---> Package freeipa-admintools.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-client.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-debuginfo.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-python.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-server.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-server-trust-ad.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled ---> Package freeipa-tests.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 will be reinstalled --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Reinstalling: freeipa-admintools x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-admintools-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 45 k freeipa-client x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-client-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 447 k freeipa-debuginfo x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-debuginfo-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 4.4 M freeipa-python x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-python-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 6.8 M freeipa-server x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-server-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 4.7 M freeipa-server-trust-ad x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-server-trust-ad-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 376 k freeipa-tests x86_64 4.2.0.201506231747GITb3c7805-0.fc21 /freeipa-tests-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 4.3 M Transaction Summary =================================================================================================================================================================================================================== Reinstall 7 Packages Total size: 21 M Installed size: 21 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction (shutdown inhibited) Installing : freeipa-python-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 1/7 Installing : freeipa-client-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 2/7 Could not load host key: /etc/ssh/ssh_host_dsa_key Installing : freeipa-admintools-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 3/7 Installing : freeipa-server-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 4/7 Installing : freeipa-server-trust-ad-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 5/7 Installing : freeipa-tests-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 6/7 Installing : freeipa-debuginfo-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 7/7 Unexpected error - see /var/log/ipaupgrade.log for details: DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedorahosted.certmonger was not provided by any .service files Verifying : freeipa-python-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 1/7 Verifying : freeipa-server-trust-ad-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 2/7 Verifying : freeipa-tests-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 3/7 Verifying : freeipa-server-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 4/7 Verifying : freeipa-debuginfo-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 5/7 Verifying : freeipa-client-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 6/7 Verifying : freeipa-admintools-4.2.0.201506231747GITb3c7805-0.fc21.x86_64 7/7 Installed: freeipa-admintools.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-client.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-debuginfo.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-python.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-server.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-server-trust-ad.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 freeipa-tests.x86_64 0:4.2.0.201506231747GITb3c7805-0.fc21 Complete!
attachment ipaupgrade.log.gz
The problem was because of certmonger weren't running. I'm not sure why was so that because I did many upgrades and never stopped certmonger. From this point of view - solved. The other point is there shouldn't be error message, some upgrade scripts should deal with this kind of issue.
master:
Tested on Fedora 21 with current master (freeipa-server-4.2.0.201507071444GIT12b053d-0.fc21.x86_64), it seems to be OK.Thanks!
Metadata Update from @alich: - Issue assigned to dkupka - Issue set to the milestone: FreeIPA 4.2
Login to comment on this ticket.