Skip to content

Instantly share code, notes, and snippets.

@kitplummer

kitplummer/error

Created Jan 23, 2015
Embed
What would you like to do?
----------
ID: mycnamerecord
Function: boto_route53.present
Name: machine.blah.com.
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1533, in call
**cdata['kwargs'])
File "/usr/lib/python2.6/site-packages/salt/states/boto_route53.py", line 142, in present
profile)
File "/usr/lib/python2.6/site-packages/salt/modules/boto_route53.py", line 131, in add_record
status = _zone.add_a(name, value, ttl, identifier)
File "/usr/lib/python2.6/site-packages/boto/route53/zone.py", line 185, in add_a
comment=comment)
File "/usr/lib/python2.6/site-packages/boto/route53/zone.py", line 120, in add_record
return Status(self.route53connection, self._commit(changes))
File "/usr/lib/python2.6/site-packages/boto/route53/zone.py", line 59, in _commit
response = changes.commit()
File "/usr/lib/python2.6/site-packages/boto/route53/record.py", line 168, in commit
return self.connection.change_rrsets(self.hosted_zone_id, self.to_xml())
File "/usr/lib/python2.6/site-packages/boto/route53/connection.py", line 475, in change_rrsets
body)
DNSServerError: DNSServerError: 400 Bad Request
<?xml version="1.0"?>
<ErrorResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><Error><Type>Sender</Type><Code>InvalidChangeBatch</Code><Message>Invalid Resource Record: FATAL problem: ARRDATAIllegalIPv4Address encountered at None</Message></Error><RequestId>09115ffe-a342-11e4-8810-67a4da8df229</RequestId></ErrorResponse>
Started: 20:54:33.938838
Duration: 1173.915 ms
Changes:
python-pip:
pkg.installed
boto:
pip.installed:
- require:
- pkg: python-pip
mycnamerecord:
boto_route53.present:
- name: machine.blah.com.
- value: {{ grains.get('elastic_ip') }}
- zone: blah.com.
- ttl: 60
- record_type: A
- region: us-west-2
- keyid:
- key: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment