Hi, I was able to overcome this issue by manually setting the column type within powerdns database in Postgres. <div><br></div><div>After that, everything works as needed. </div><div><br></div><div>Say, is there any possibility for designate to use LDAP backend?</div>
<div><br></div><div>Cheers, NM<br><br>On Friday, March 7, 2014, Hayes, Graham <<a href="mailto:graham.hayes@hp.com">graham.hayes@hp.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nick,<br>
<br>
This looks like a bug in our PowerDNS backend driver.<br>
<br>
I *think* this is the offending line:<br>
<br>
<a href="https://github.com/stackforge/designate/blob/master/designate/backend/impl_powerdns/__init__.py#L449" target="_blank">https://github.com/stackforge/designate/blob/master/designate/backend/impl_powerdns/__init__.py#L449</a><br>
<br>
We generally use MySQL, which must just cast it to a bool, while Postgres gives out about the type.<br>
<br>
On Fri, 2014-03-07 at 18:00 +0200, Nick Maslov wrote:<br>
Hi,<br>
<br>
<br>
I have installed Designate with Postgres backend. Database initialisation went fine, but when I try to add servers it freaks out like this:<br>
<br>
<br>
2014-03-07 15:57:00.478 3482 TRACE designate.api.middleware Backend: Unknown backend failure: ProgrammingError('(ProgrammingError) column "auth" is of type boolean but expression is of type integer\nLINE 1: ...f8c573e02bc4b\', <a href="http://domains.name" target="_blank">domains.name</a>, \'NS\', \'<a href="http://ns1.example.org" target="_blank">ns1.example.org</a>\', 1, 1 \n<br>
<br>
<br>
<br>
<br>
Full stack trace is here - <a href="http://pastebin.com/Qi0JipGs" target="_blank">http://pastebin.com/Qi0JipGs</a><br>
<br>
<br>
Is anyone knows whats that?<br>
<br>
<br>
Cheers,<br>
NM<br>
<br>
--<br>
Nick Maslov<br>
Sent with Airmail<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="javascript:;" onclick="_e(event, 'cvml', 'openstack@lists.openstack.org')">openstack@lists.openstack.org</a><mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'openstack@lists.openstack.org')">openstack@lists.openstack.org</a>><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="javascript:;" onclick="_e(event, 'cvml', 'openstack@lists.openstack.org')">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div>