Thanks to visit codestin.com
Credit goes to github.com

Skip to content

slcli vs dns-sync --ptr fails #1195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
allmightyspiff opened this issue Dec 10, 2019 · 0 comments · Fixed by #1207
Closed

slcli vs dns-sync --ptr fails #1195

allmightyspiff opened this issue Dec 10, 2019 · 0 comments · Fixed by #1207
Assignees

Comments

@allmightyspiff
Copy link
Member

$ slcli -v  vs dns-sync  77932517 --ptr
Calling: SoftLayer_Virtual_Guest::getObject(id=77932517, mask='mask[id,globalIdentifier,fullyQualifiedDomainName,hostname,domain,primaryBackendIpAddress,primaryIpAddress,primaryNetworkComponent[ id, primaryIpAddress, primaryVersion6IpAddressRecord[ipAddress] ]]', filter='None', args=(), limit=None, offset=None))
Calling: SoftLayer_Account::getDomains(id=None, mask='', filter='{'domains': {'name': {'operation': '_= cgallo.com'}}}', args=(), limit=None, offset=None))
Calling: SoftLayer_Dns_Domain::getObject(id=1861630, mask='resourceRecords', filter='None', args=(), limit=None, offset=None))
Attempt to update DNS records for testing.cgallo.com [y/N]: y
Calling: SoftLayer_Virtual_Guest::getReverseDomainRecords(id=77932517, mask='', filter='None', args=(), limit=None, offset=None))
Calling: SoftLayer_Dns_Domain_ResourceRecord::editObject(id=116961023, mask='', filter='None', args=({'data': 'testing.cgallo.com', 'domainId': 1761141, 'expire': None, 'host': '195', 'id': 116961023, 'minimum': None, 'mxPriority': None, 'refresh': None, 'retry': None, 'ttl': 7200, 'type': 'ptr', 'isGatewayAddress': False},), limit=None, offset=None))
SoftLayerAPIError(500): The property 'isGatewayAddress' is not valid for 'SoftLayer_Dns_Domain_ResourceRecord'.

For some reason SoftLayer_Dns_Domain_ResourceRecord datatypes have isGatewayAddress property even though its not on https://sldn.softlayer.com/reference/datatypes/SoftLayer_Dns_Domain_ResourceRecord/ which is causing problems when trying to edit a record.

Also, lets take this time to implement a PTR record creator/editor to slcli dns and duplicate the vs dns-sync to hw dns-sync

@ATGE ATGE self-assigned this Dec 17, 2019
ATGE added a commit to ATGE/softlayer-python that referenced this issue Dec 20, 2019
ATGE added a commit to ATGE/softlayer-python that referenced this issue Dec 20, 2019
ATGE added a commit to ATGE/softlayer-python that referenced this issue Dec 20, 2019
ATGE added a commit to ATGE/softlayer-python that referenced this issue Dec 20, 2019
allmightyspiff added a commit to allmightyspiff/softlayer-python that referenced this issue Jan 2, 2020
…the logic to the managers/dns.py file. Fixed up unit tests to take account of the changes
allmightyspiff added a commit that referenced this issue Jan 14, 2020
@allmightyspiff allmightyspiff mentioned this issue Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants