A regression introduced during installer refactoring causes upgrade to fail with the following error:
File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 172, in execute return_value = self.run() File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_server_upgrade.py", line 47, in run server.upgrade() File "/usr/lib/python2.7/site-packages/ipaserver/install/server/upgrade.py", line 1817, in upgrade upgrade_configuration() File "/usr/lib/python2.7/site-packages/ipaserver/install/server/upgrade.py", line 1592, in upgrade_configuration http.principal = "HTTP/%s@%s" % (http.fqdn, http.realm)
This error is caused by the fact that during refactoring, the principal in Service class is a read-only property constructed from FQDN, realm, and service prefix.
Since fqdn and real are already set during upgrade, the solution is just to remove the offending line.
master:
Metadata Update from @mbabinsk: - Issue assigned to tkrizek - Issue set to the milestone: FreeIPA 4.5
Log in to comment on this ticket.