stack-create fails when OS::Trove::Instance is used

Bug #1400305 reported by Tatiana Kholkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Tatiana Kholkina

Bug Description

I create a stack which contains OS::Trove::Instance resource. Stack status is CREATE_FAILED but trove list shows that instance is in ACTIVE state. The same happens when I use stack-delete. Stack status is DELETE_FAILED but in trove instance is deleted successfully.

Heat engine shows following error:

2014-12-08 05:23:21.342 TRACE heat.engine.resource File "/opt/stack/heat/heat/engine/resources/os_database.py", line 353, in check_create_complete
2014-12-08 05:23:21.342 TRACE heat.engine.resource self._refresh_instance(instance) # get updated attributes
2014-12-08 05:23:21.342 TRACE heat.engine.resource File "/opt/stack/heat/heat/engine/resources/os_database.py", line 337, in _refresh_instance
2014-12-08 05:23:21.342 TRACE heat.engine.resource instance.get()
2014-12-08 05:23:21.342 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/troveclient/openstack/common/apiclient/base.py", line 462, in __getattr__
2014-12-08 05:23:21.342 TRACE heat.engine.resource return self.__getattr__( k )
2014-12-08 05:23:21.342 TRACE heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/troveclient/openstack/common/apiclient/base.py", line 464, in __getattr__
2014-12-08 05:23:21.342 TRACE heat.engine.resource raise AttributeError( k )
2014-12-08 05:23:21.342 TRACE heat.engine.resource AttributeError: get

Changed in heat:
assignee: nobody → Tetiana Lashchova (tlashchova)
Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit 448cb7b69ebb3ed966ee84a9d30654a2f8387c73
Author: Tetiana Lashchova <email address hidden>
Date: Tue Dec 9 14:59:11 2014 +0200

    Correct '_refresh_instance' method in OSDBInstance

    Change-Id: I338e92d349bdf8fff13de81865bccb76016dae88
    Closes-Bug: #1400305

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → kilo-1
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.