Unable to add DNS record alone to Rackspace Cloud DNS resource

Bug #1386886 reported by Jason Dunsmore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Jason Dunsmore

Bug Description

Submitting a template with a Rackspace::Cloud::DNS resource and then updating that template with a new record, but no changes to the domain properties, results in the following traceback:

Traceback (most recent call last):
  File "/opt/stack/heat/heat/engine/resource.py", line 455, in _action_recorder
    yield
  File "/opt/stack/heat/heat/engine/resource.py", line 710, in update
    args=[after, tmpl_diff, prop_diff])
  File "/opt/stack/heat/heat/engine/scheduler.py", line 294, in wrapper
    step = next(subtask)
  File "/opt/stack/heat/heat/engine/resource.py", line 496, in action_handler_task
    handler_data = handler(*args)
  File "/usr/local/lib/heat/rackspace/cloud_dns.py", line 181, in handle_update
    dom.update(**prop_diff)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/clouddns.py", line 161, in update
    ttl=ttl, comment=comment)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/clouddns.py", line 695, in update_domain
    "No settings provided to update_domain().")
MissingDNSSettings: No settings provided to update_domain().

Changed in heat:
assignee: nobody → Jason Dunsmore (jasondunsmore)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/131571

Changed in heat:
status: New → In Progress
Changed in heat:
importance: Undecided → Low
milestone: none → kilo-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/131571
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=b1a697e74f6464d78a9071bbd0c5517eac706a00
Submitter: Jenkins
Branch: master

commit b1a697e74f6464d78a9071bbd0c5517eac706a00
Author: Jason Dunsmore <email address hidden>
Date: Tue Oct 28 16:06:26 2014 -0500

    Check prop_diff contents after modifying it

    It is not possible to add a DNS record alone to the Rackspace Cloud DNS
    resource because the domain.update() method will be called with no
    arguments. Re-check the contents of prop_diff after modifying it to see
    if calling domain.update() is necessary.

    Change-Id: I04e313eab7f2d8971e9f12bfb402259b48757919
    Closes-Bug: #1386886

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.