After HA cluster 5.0 is updated to 5.0.2, platform test "Typical stack actions" fails

Bug #1364026 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
High
Igor Yozhikov
5.0.x
Fix Committed
High
Igor Yozhikov

Bug Description

Steps to reproduce:
1. Deploy cluster 1 with release 2014.1 (5.0): Ubuntu/HA, nova/vlan, 3 controllers, 1 compute, 1 cinder
2. Run OSTF
3. Upload and unpack tarball with fuel-5.1 release (build #491) to /var
4. run upgrade.sh with openstack
5. Navigate to UI and update cluster 1 to release 2014.1.1-5.0.2
6. Run OSTF

Expexted result: OSTF passes all tests

Actual result: Platform test "Typical stack actions..." is failed on the first step "1. Create a stack." with the following error:

====================
heatclient.common.http: DEBUG: curl -i -X GET -H 'X-Auth-Token: f0e5fc6b2a41478797ef8d99252a50f3' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-heatclient' http://172.16.21.2:8004/v1/b899bf2206c242868d54c22795d62d70/stacks?
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.21.4
urllib3.connectionpool: DEBUG: "GET http://172.16.21.2:8004/v1/b899bf2206c242868d54c22795d62d70/stacks HTTP/1.1" 200 14
heatclient.common.http: DEBUG:
HTTP/1.1 200 OK
date: Mon, 01 Sep 2014 12:40:09 GMT
content-length: 14
via: 1.1 192.168.0.4:8004
content-type: application/json; charset=UTF-8
{"stacks": []}
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 186, in verify
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/fuel_health/heatmanager.py", line 84, in _create_stack
    self.set_resource(stack.id, stack)
AttributeError: 'NoneType' object has no attribute 'id'
===================

Tags: ostf update
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Fuel for Openstack (fuel) → Fuel Python Team (fuel-python)
tags: added: ostf
Changed in fuel:
importance: Undecided → High
tags: added: update
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

this either OSTF or Heat problem itself. Assigning to MOS-Heat team

Changed in fuel:
assignee: Igor Kalnitsky (ikalnitsky) → MOS Heat (mos-heat)
Changed in fuel:
assignee: MOS Heat (mos-heat) → Anastasia Kuznetsova (akuznetsova)
Revision history for this message
Artem Roma (aroma-x) wrote :

Ok, I've inspected logs from the snapshot and there is an error of stack creation operation in heat.engine.resource.log on one of controllers (node-3) hence described error is caused by heat code. The only mishit from ostf side is that in logs addition traceback is present but on UI all error messages are correct and logically appropriate.

Also I couldn't reproduce this bug on my machine so maybe it is some temporary floating issue with heat itself and I highly doubt that it is caused by upgrade process. But to be 100% percent sure could you please reproduce this bug and provide access to environment in order to investigate the issue on the spot?

Changed in fuel:
assignee: Anastasia Kuznetsova (akuznetsova) → Artem Roma (aroma-x)
status: Confirmed → In Progress
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Artem Roma, can you explain how your fix help here ? Because I've inspected logs too and as for me problem not in ostf test, but judging by the heat-engine logs the problem is that engine haven't start.

Revision history for this message
Artem Roma (aroma-x) wrote :

Anastasia, sry, my mistake, I meant another bug in Closes-Bug section=)

Changed in fuel:
assignee: Artem Roma (aroma-x) → Anastasia Kuznetsova (akuznetsova)
status: In Progress → Confirmed
Changed in mos:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Anastasia Kuznetsova (akuznetsova)
milestone: none → 5.1
no longer affects: fuel
Changed in mos:
assignee: Anastasia Kuznetsova (akuznetsova) → Sergey Kraynev (skraynev)
Changed in mos:
assignee: Sergey Kraynev (skraynev) → Igor Yozhikov (iyozhikov)
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

fix for heat db connection options - https://review.openstack.org/#/c/118647/1

Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

The fix is committed into 5.0.2. It is not needed in 5.1 because we have upstream puppet manifests synced which do not have the same bug.

Changed in mos:
status: Confirmed → Invalid
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

found that engine.pp upstart procedure doesn't stop heat-engine service.

Revision history for this message
Igor Yozhikov (iyozhikov) wrote :
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.