Migration fails under Python 3:
# pki-server-upgrade --silent Traceback (most recent call last): File "/sbin/pki-server-upgrade", line 196, in <module> main(sys.argv) File "/sbin/pki-server-upgrade", line 189, in main upgrader.upgrade() File "/usr/lib/python3.4/site-packages/pki/upgrade.py", line 662, in upgrade versions = self.versions() File "/usr/lib/python3.4/site-packages/pki/upgrade.py", line 490, in versions current_version = self.get_current_version() File "/usr/lib/python3.4/site-packages/pki/server/upgrade.py", line 292, in get_current_version for subsystem in self.subsystems(instance): File "/usr/lib/python3.4/site-packages/pki/server/upgrade.py", line 248, in subsystems subsystem_list.sort() TypeError: unorderable types: PKISubsystem() < PKISubsystem()
I have to add eq and lt to some classes, e.g. PKISubsystem and PKIInstance.
attachment pki-cheimes-0051-Implement-total-ordering-for-PKISubsystem-and-PKIIns.patch
Pushed to master d5360c915761773e93333b6894df4bd8ac8a2f13
Checked into DOGTAG_10_2_6_BRANCH:
Checked into DOGTAG_10_2_BRANCH:
Resolved in:
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1328522 (Red Hat Enterprise Linux 7)
d5360c915761773e93333b6894df4bd8ac8a2f13 has introduced a regression in pki-server-upgrade, https://bugzilla.redhat.com/show_bug.cgi?id=1328522
The regression was fixed in 9e78f981e923c879033c26eebad0cb803d66b8d9.
Metadata Update from @cheimes: - Issue assigned to cheimes - Issue set to the milestone: 10.3.1
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2336
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Log in to comment on this ticket.