Rackspace database resource output is empty/null

Bug #1204601 reported by Vijendar Komalla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Vijendar Komalla

Bug Description

Rackspace database resource output(hostname and href) is empty/null

Changed in heat:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
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/38512

Changed in heat:
status: New → In Progress
Steven Hardy (shardy)
Changed in heat:
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/38512
Committed: http://github.com/openstack/heat/commit/2ffb44e0aaffe876deaabed408c2a823151c8641
Submitter: Jenkins
Branch: master

commit 2ffb44e0aaffe876deaabed408c2a823151c8641
Author: Vijendar Komalla <email address hidden>
Date: Mon Jul 29 17:19:50 2013 -0500

    Rackspace database resource output is null

    current implementation of rackspace database resource
    _resolve_attribute method assumes that clouddatabase object's
    hostname and href are set to correct values and just returns
    them, but that assumption is not correct. With this change,
    hostname/href is retrived if it was not set already.

    Fixes Bug #1204601

    Change-Id: Ifca44237e20210b5ff1fc1b28f1f8408f5672ae4

Changed in heat:
status: In Progress → Fix Committed
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/39344

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/39344
Committed: http://github.com/openstack/heat/commit/d5ca1c7195ff66c54ba83c0b37fe51ae4a2cbcc5
Submitter: Jenkins
Branch: master

commit d5ca1c7195ff66c54ba83c0b37fe51ae4a2cbcc5
Author: Vijendar Komalla <email address hidden>
Date: Tue Jul 30 13:52:17 2013 -0500

    Rackspace database resource output is null

    This change is a small correction to my previous change that was
    already merged(bug #1204601). Below given code snippets show the
    one line code change
    (Please note the change in return statement in below code)

    code before this change:
            for link in dbinstance.links:
                if link['rel'] == 'self':
                    return dbinstance.links[0]['href']

    code with this change:
            for link in dbinstance.links:
                if link['rel'] == 'self':
                    return link['href']

    Fixes Bug #1204601

    Change-Id: Ia81722eb3877e15e1c472e94ed845f3425949b68

Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → 2013.2
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.