heat create complete but the vnf is in error status

Bug #1674921 reported by yong sheng gong
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
yong sheng gong

Bug Description

        while status == 'CREATE_IN_PROGRESS' and stack_retries > 0:
                stack = heatclient.get(vnf_id)
            except Exception:
                LOG.exception(_("VNF Instance cleanup may not have "
                                "happened because Heat API request failed "
                                "while waiting for the stack %(stack)s to be "
                                "deleted"), {'stack': vnf_id})
            status = stack.stack_status
            LOG.debug(_('status: %s'), status)
            stack_retries = stack_retries - 1

the error exception is:

2017-03-22 16:37:22.122 28787 ERROR tacker.vnfm.infra_drivers.openstack.openstack ConnectFailure: Unable to establish connection to http://310.xcodest.me:8004/v1/f3c6d500b267432c858c588800b49653/stacks/a5142d59-dcc6-43b1-b916-36d1f0426e73: ('Connection aborted.', BadStatusLine("''",))

this will cause vnf is in error status, but stack maybe complete.

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

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

Changed in tacker:
assignee: nobody → yong sheng gong (gongysh)
status: New → In Progress
Changed in tacker:
milestone: none → pike-1
importance: Undecided → High
Changed in tacker:
milestone: pike-1 → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/448466
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=411406601db35e6ccde391381564e059257e8090
Submitter: Jenkins
Branch: master

commit 411406601db35e6ccde391381564e059257e8090
Author: yong sheng gong <gong.yongsheng@99cloud.net>
Date: Wed Mar 22 17:29:50 2017 +0800

    Continue waiting to avoid temporary connection error with target VIM

    Change-Id: I5b83012d7988c896138cbbb6f120e421b3137001
    Closes-bug: 1674921

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.8.0

This issue was fixed in the openstack/tacker 0.8.0 release.

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.