[murano] NoneType object has not attribute 'state'

Bug #1386699 reported by Denis Egorenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Stan Lagun

Bug Description

{"build_id": "2014-10-27_17-39-17", "ostf_sha": "f47fd1d66a7255213ee075d5c11b8f111f922000", "build_number": "241", "auth_required": true, "api": "1.0", "nailgun_sha": "d131ddacb7b6947fc229eadb4422229af6bb3e4f", "production": "docker", "fuelmain_sha": "174b44326c7d4abadbf94e4932f2d2e2f6f99d55", "astute_sha": "97eea90efe0a1f17b4934919d6e459d270c10372", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-27_17-39-17", "ostf_sha": "f47fd1d66a7255213ee075d5c11b8f111f922000", "build_number": "241", "api": "1.0", "nailgun_sha": "d131ddacb7b6947fc229eadb4422229af6bb3e4f", "production": "docker", "fuelmain_sha": "174b44326c7d4abadbf94e4932f2d2e2f6f99d55", "astute_sha": "97eea90efe0a1f17b4934919d6e459d270c10372", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "07b10414f8e2f3ba1e9e84e415ed34b9669be823"}}}, "fuellib_sha": "07b10414f8e2f3ba1e9e84e415ed34b9669be823"}

Steps to reproduce:
1) Deploy Ubuntu HA;
2) Neutron GRE;
3) Murano;
4) 3 Controllers + 1 compute;
5) Upload Murano image;
6) Run OSTF check - Check that user can deploy Telnet service in Murano environment;

2014-10-28T13:36:32.852478+00:00 err: 2014-10-28 13:36:32.741 24042 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: 'NoneType' object has no attribute 'state'
Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
    incoming.message))

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)

  File "/usr/lib/python2.7/dist-packages/murano/common/server.py", line 105, in process_result
    conf_session.state = sessions.SessionState.DEPLOYED

AttributeError: 'NoneType' object has no attribute 'state'
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/murano/common/engine.py", line 63, in handle_task
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher rpc.api().process_result(result, task['id'])
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/murano/common/rpc.py", line 31, in process_result
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher environment_id=environment_id)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 389, in call
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher return self.prepare().call(ctxt, method, **kwargs)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher retry=self.retry)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher timeout=timeout, retry=retry)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 434, in send
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher retry=retry)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 425, in _send
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher raise result
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher AttributeError: 'NoneType' object has no attribute 'state'
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/murano/common/server.py", line 105, in process_result
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher conf_session.state = sessions.SessionState.DEPLOYED
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher AttributeError: 'NoneType' object has no attribute 'state'
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher
2014-10-28 13:36:32.741 24042 TRACE oslo.messaging.rpc.dispatcher

Tags: murano
Changed in mos:
milestone: none → 6.0
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → MOS Murano (mos-murano)
description: updated
Revision history for this message
Denis Egorenko (degorenko) wrote :

Diagnostic snapshot

Revision history for this message
Denis Egorenko (degorenko) wrote :

Bug reproduced on this application

Stan Lagun (slagun)
Changed in mos:
assignee: MOS Murano (mos-murano) → Stan Lagun (slagun)
Revision history for this message
Stan Lagun (slagun) wrote :

This is the same bug as https://bugs.launchpad.net/murano/+bug/1386068 and the fix is on review and once it is merged it will be copied to stable/juno and then to MOS 6

Changed in mos:
status: Confirmed → Triaged
ruhe (ruhe)
Changed in mos:
importance: Critical → High
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package murano has been built for project openstack/murano
Package version == 2014.2, package release == fuel6.0.mira7.git.35b0867.e21adbf

Changeset: https://review.fuel-infra.org/1062
project: openstack/murano
branch: openstack-ci/fuel-6.0/2014.2
author: Stan Lagun
committer: Stan Lagun
subject: Environment in delete failed state was in progress forever
status: patchset-created

Files placed on repository:
murano-2014.2-fuel6.0.mira7.git.35b0867.e21adbf.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-1062/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package murano has been built for project openstack/murano
Package version == 2014.2, package release == fuel6.0~mira9+git.35b0867.e21adbf

Changeset: https://review.fuel-infra.org/1062
project: openstack/murano
branch: openstack-ci/fuel-6.0/2014.2
author: Stan Lagun
committer: Stan Lagun
subject: Environment in delete failed state was in progress forever
status: patchset-created

Files placed on repository:
murano_2014.2-fuel6.0~mira9+git.35b0867.e21adbf_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-1062/ubuntu

Stan Lagun (slagun)
Changed in mos:
status: Triaged → Fix Committed
Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Stan Lagun <email address hidden>
Review: https://review.fuel-infra.org/8193

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/murano (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Kirill Zaitsev <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8193

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.