Re: [Freeipa-devel] Broken IPA installation caused by new python-dns package
On 13.10.2016 19:49, Petr Vobornik wrote: On 10/12/2016 11:11 AM, Petr Spacek wrote: On 10.10.2016 10:28, Martin Basti wrote: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1857421df6 Please set karma accordingly Traceback: ... 2016-10-10T04:44:05Z DEBUG The ipa-replica-install command failed, exception: TypeError: 'unicode' does not have the buffer interface 2016-10-10T04:44:05Z ERROR 'unicode' does not have the buffer interface I'll investigate if IPA using it wrong or there is new error introduced in pyhton-dns For archaeologists: Fix https://github.com/freeipa/freeipa/pull/150 was merged. We've pushed PR 150 to 4.4 and master. 4.4.2 release fixes f25 and f26 but F24 has 4.3 branch. Is it correct to assume that 4.3 is also affected? If so, then we need either to backport the patch to 4.3 and fix Fedora directly or completely block the python-dns update on f24. 4.3 shouldn't be affected, because the code that has been failing is only in 4.4+ in DNS Locations related feature Martin^2 -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
Re: [Freeipa-devel] Broken IPA installation caused by new python-dns package
On 10/12/2016 11:11 AM, Petr Spacek wrote: > On 10.10.2016 10:28, Martin Basti wrote: >> https://bodhi.fedoraproject.org/updates/FEDORA-2016-1857421df6 >> >> >> Please set karma accordingly >> >> >> Traceback: >> >> ... >> >> 2016-10-10T04:44:05Z DEBUG The ipa-replica-install command failed, exception: >> TypeError: 'unicode' does not have the buffer interface >> 2016-10-10T04:44:05Z ERROR 'unicode' does not have the buffer interface >> >> >> I'll investigate if IPA using it wrong or there is new error introduced in >> pyhton-dns > > For archaeologists: > Fix > https://github.com/freeipa/freeipa/pull/150 > was merged. > We've pushed PR 150 to 4.4 and master. 4.4.2 release fixes f25 and f26 but F24 has 4.3 branch. Is it correct to assume that 4.3 is also affected? If so, then we need either to backport the patch to 4.3 and fix Fedora directly or completely block the python-dns update on f24. -- Petr Vobornik -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
Re: [Freeipa-devel] Broken IPA installation caused by new python-dns package
On 10.10.2016 10:28, Martin Basti wrote: > https://bodhi.fedoraproject.org/updates/FEDORA-2016-1857421df6 > > > Please set karma accordingly > > > Traceback: > > ... > > File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", > line 426, in update_dns_records > self.update_base_records(), > File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", > line 377, in update_base_records > base_zone = self.get_base_records() > File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", > line 328, in get_base_records > include_kerberos_realm=include_kerberos_realm > File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", > line 179, in _add_base_dns_records_for_server > self.__add_kerberos_txt_rec(zone_obj) > File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", > line 165, in __add_kerberos_txt_rec > rdataset.add(rd, ttl=86400) # FIXME: use TTL from config > File "/usr/lib/python2.7/site-packages/dns/rdataset.py", line 129, in add > super(Rdataset, self).add(rd) > File "/usr/lib/python2.7/site-packages/dns/set.py", line 49, in add > if item not in self.items: > File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 217, in __eq__ > return self._cmp(other) == 0 > File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 203, in _cmp > our = self.to_digestable(dns.name.root) > File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 174, in > to_digestable > self.to_wire(f, None, origin) > File "/usr/lib/python2.7/site-packages/dns/rdtypes/txtbase.py", line 75, in > to_wire > file.write(s) > > 2016-10-10T04:44:05Z DEBUG The ipa-replica-install command failed, exception: > TypeError: 'unicode' does not have the buffer interface > 2016-10-10T04:44:05Z ERROR 'unicode' does not have the buffer interface > > > I'll investigate if IPA using it wrong or there is new error introduced in > pyhton-dns For archaeologists: Fix https://github.com/freeipa/freeipa/pull/150 was merged. -- Petr^2 Spacek -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
[Freeipa-devel] Broken IPA installation caused by new python-dns package
https://bodhi.fedoraproject.org/updates/FEDORA-2016-1857421df6 Please set karma accordingly Traceback: ... File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", line 426, in update_dns_records self.update_base_records(), File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", line 377, in update_base_records base_zone = self.get_base_records() File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", line 328, in get_base_records include_kerberos_realm=include_kerberos_realm File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", line 179, in _add_base_dns_records_for_server self.__add_kerberos_txt_rec(zone_obj) File "/usr/lib/python2.7/site-packages/ipaserver/dns_data_management.py", line 165, in __add_kerberos_txt_rec rdataset.add(rd, ttl=86400) # FIXME: use TTL from config File "/usr/lib/python2.7/site-packages/dns/rdataset.py", line 129, in add super(Rdataset, self).add(rd) File "/usr/lib/python2.7/site-packages/dns/set.py", line 49, in add if item not in self.items: File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 217, in __eq__ return self._cmp(other) == 0 File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 203, in _cmp our = self.to_digestable(dns.name.root) File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 174, in to_digestable self.to_wire(f, None, origin) File "/usr/lib/python2.7/site-packages/dns/rdtypes/txtbase.py", line 75, in to_wire file.write(s) 2016-10-10T04:44:05Z DEBUG The ipa-replica-install command failed, exception: TypeError: 'unicode' does not have the buffer interface 2016-10-10T04:44:05Z ERROR 'unicode' does not have the buffer interface I'll investigate if IPA using it wrong or there is new error introduced in pyhton-dns -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code