Univention Bugzilla – Full Text Bug Listing |
Summary: | UCR: Fix python3 API - transition from ipaddr to ipaddress | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UCR | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | brodersen, hahn |
Version: | UCS 5.0 | ||
Target Milestone: | UCS 5.0 | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | API change | |
Max CVSS v3 score: | |||
Bug Depends on: | 51368 | ||
Bug Blocks: |
Description
Florian Best
2020-09-15 15:30:31 CEST
(In reply to Florian Best from Bug #51368 comment #2) > With the new API we need to differentiate the python version in: > > base/univention-base-files/conffiles/etc/network/interfaces.d/10-default: > AttributeError: 'IPv4Interface' object has no attribute 'prefixlen' > > services/univention-squid/conffiles/etc/squid/squid.conf: > AttributeError: 'IPv4Interface' object has no attribute 'prefixlen' > > → addr.network.prefixlen > > services/univention-printserver/conffiles/etc/cups/cupsd.conf.d/01cupsd-base: > AttributeError: 'IPv4Interface' object has no attribute 'masked' > > services/univention-samba4/96univention-samba4.inst: > AttributeError: 'IPv4Interface' object has no attribute 'masked' All users of the UCR API have been adjusted as well as UCR itself: univention-squid (13.0.1-1) 9979e8d62b83 | Bug #52017 squid: ipaddr → ipaddress univention-samba4 (9.0.1-1) 736bbfe68930 | Bug #52017 Samba4: ipaddr → ipaddress univention-printserver (13.0.1-1) a7cde452e261 | Bug #52017 printserver: ipaddr → ipaddress univention-config-registry (15.0.2-0) b3bee6e89955 | Bug #52017: use python ipaddress univention-base-files (9.0.1-1) 8da289f02b37 | Bug #52017 base-files: ipaddr → ipaddress *** Bug 52199 has been marked as a duplicate of this bug. *** Changes are looking good -> OK jenkins looks good -> OK changelog -> OK -> Verified Sorry I had missed two problems :( [5.0-0 f3771c2edc] Bug #52017: fix double netmask e.g. 1.2.3.4/24/24 [5.0-0 4d3bf6c0eb] Bug #52017: fix traceback with ipv6 address UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug". |