You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Bojan Mihelac (JIRA)" <ji...@apache.org> on 2012/06/08 14:46:23 UTC

[dev] [jira] [Created] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Bojan Mihelac created LIBCLOUD-209:
--------------------------------------

             Summary: Zerigo DNS driver fails to list records if any of them is URL type
                 Key: LIBCLOUD-209
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
             Project: Libcloud
          Issue Type: Bug
    Affects Versions: 0.10.1
            Reporter: Bojan Mihelac
             Fix For: 0.10.1


Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Closed] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus closed LIBCLOUD-209.
---------------------------------

    
> Zerigo DNS driver fails to list records if any of them is URL type
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-209
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Bojan Mihelac
>            Assignee: Tomaz Muraus
>              Labels: dns, patch, zerigo
>             Fix For: 0.11.0
>
>         Attachments: LIBCLOUD-209-zerigo-dns-url-type-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.
> This is response returned from Zerigo API:
> '<host>\n    <created-at type="datetime">2012-06-08T11:33:15Z</created-at>\n    <updated-at type="datetime">2012-06-08T11:33:15Z</updated-at>\n    <notes nil="true" />\n    <zone-id type="integer">618718712</zone-id>\n    <ttl type="integer">259200</ttl>\n    <state>active</state>\n    <hostname>*</hostname>\n    <data>http://www.example.com/</data>\n    <id type="integer">1224113769</id>\n    <fqdn>*.web-trgovina.com.hr</fqdn>\n    <priority nil="true" />\n    <host-type>URL</host-type>\n  </host>\n  '
> And error:
> zone.list_records()
> AttributeError: type object 'RecordType' has no attribute 'URL'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[dev] [jira] [Updated] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Posted by "Bojan Mihelac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bojan Mihelac updated LIBCLOUD-209:
-----------------------------------

    Description: 
Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.

This is response returned from Zerigo API:

'<host>\n    <created-at type="datetime">2012-06-08T11:33:15Z</created-at>\n    <updated-at type="datetime">2012-06-08T11:33:15Z</updated-at>\n    <notes nil="true" />\n    <zone-id type="integer">618718712</zone-id>\n    <ttl type="integer">259200</ttl>\n    <state>active</state>\n    <hostname>*</hostname>\n    <data>http://www.example.com/</data>\n    <id type="integer">1224113769</id>\n    <fqdn>*.web-trgovina.com.hr</fqdn>\n    <priority nil="true" />\n    <host-type>URL</host-type>\n  </host>\n  '

And error:

zone.list_records()

AttributeError: type object 'RecordType' has no attribute 'URL'



  was:Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.

    
> Zerigo DNS driver fails to list records if any of them is URL type
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-209
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Bojan Mihelac
>              Labels: dns, patch, zerigo
>             Fix For: 0.10.1
>
>         Attachments: LIBCLOUD-209-zerigo-dns-url-type-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.
> This is response returned from Zerigo API:
> '<host>\n    <created-at type="datetime">2012-06-08T11:33:15Z</created-at>\n    <updated-at type="datetime">2012-06-08T11:33:15Z</updated-at>\n    <notes nil="true" />\n    <zone-id type="integer">618718712</zone-id>\n    <ttl type="integer">259200</ttl>\n    <state>active</state>\n    <hostname>*</hostname>\n    <data>http://www.example.com/</data>\n    <id type="integer">1224113769</id>\n    <fqdn>*.web-trgovina.com.hr</fqdn>\n    <priority nil="true" />\n    <host-type>URL</host-type>\n  </host>\n  '
> And error:
> zone.list_records()
> AttributeError: type object 'RecordType' has no attribute 'URL'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus updated LIBCLOUD-209:
----------------------------------

    Fix Version/s:     (was: 0.10.1)
                   0.11.0
    
> Zerigo DNS driver fails to list records if any of them is URL type
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-209
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Bojan Mihelac
>            Assignee: Tomaz Muraus
>              Labels: dns, patch, zerigo
>             Fix For: 0.11.0
>
>         Attachments: LIBCLOUD-209-zerigo-dns-url-type-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.
> This is response returned from Zerigo API:
> '<host>\n    <created-at type="datetime">2012-06-08T11:33:15Z</created-at>\n    <updated-at type="datetime">2012-06-08T11:33:15Z</updated-at>\n    <notes nil="true" />\n    <zone-id type="integer">618718712</zone-id>\n    <ttl type="integer">259200</ttl>\n    <state>active</state>\n    <hostname>*</hostname>\n    <data>http://www.example.com/</data>\n    <id type="integer">1224113769</id>\n    <fqdn>*.web-trgovina.com.hr</fqdn>\n    <priority nil="true" />\n    <host-type>URL</host-type>\n  </host>\n  '
> And error:
> zone.list_records()
> AttributeError: type object 'RecordType' has no attribute 'URL'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[dev] [jira] [Updated] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Posted by "Bojan Mihelac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bojan Mihelac updated LIBCLOUD-209:
-----------------------------------

    Attachment: LIBCLOUD-209-zerigo-dns-url-type-fix.patch

patch
                
> Zerigo DNS driver fails to list records if any of them is URL type
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-209
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Bojan Mihelac
>              Labels: dns, patch, zerigo
>             Fix For: 0.10.1
>
>         Attachments: LIBCLOUD-209-zerigo-dns-url-type-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Resolved] (LIBCLOUD-209) Zerigo DNS driver fails to list records if any of them is URL type

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus resolved LIBCLOUD-209.
-----------------------------------

    Resolution: Fixed
      Assignee: Tomaz Muraus

Committed into trunk, thanks.
                
> Zerigo DNS driver fails to list records if any of them is URL type
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-209
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-209
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Bojan Mihelac
>            Assignee: Tomaz Muraus
>              Labels: dns, patch, zerigo
>             Fix For: 0.10.1
>
>         Attachments: LIBCLOUD-209-zerigo-dns-url-type-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Zerigo allows records of type "Redirect" to be added. It returns them as "host-type=URL". Libcloud diver does not recognize and throws an "AttributeError: type object 'RecordType' has no attribute 'URL'" exception, making list_records unusable.
> This is response returned from Zerigo API:
> '<host>\n    <created-at type="datetime">2012-06-08T11:33:15Z</created-at>\n    <updated-at type="datetime">2012-06-08T11:33:15Z</updated-at>\n    <notes nil="true" />\n    <zone-id type="integer">618718712</zone-id>\n    <ttl type="integer">259200</ttl>\n    <state>active</state>\n    <hostname>*</hostname>\n    <data>http://www.example.com/</data>\n    <id type="integer">1224113769</id>\n    <fqdn>*.web-trgovina.com.hr</fqdn>\n    <priority nil="true" />\n    <host-type>URL</host-type>\n  </host>\n  '
> And error:
> zone.list_records()
> AttributeError: type object 'RecordType' has no attribute 'URL'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira