AttributeError: 'NoneType' object has no attribute 'release'

Bug #1248970 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Alexandr Notchenko

Bug Description

(logger) Traceback (most recent call last):
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
    return handle_class(cls)
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
    return tocall(*args)
  File "<string>", line 2, in GET
  File "/opt/nailgun/lib/python2.6/site-packages/nailgun/api/handlers/base.py", line 55, in content_json
    data = func(*args, **kwargs)
  File "/opt/nailgun/lib/python2.6/site-packages/nailgun/api/handlers/disks.py", line 112, in GET
    volumes_info = DisksFormatConvertor.get_volumes_info(node)
  File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 285, in get_volumes_info
    for space in get_node_spaces(node):
  File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 88, in get_node_spaces
    role_mapping = node.cluster.release.volumes_metadata[
AttributeError: 'NoneType' object has no attribute 'release'

Tags: nailgun
Revision history for this message
Anastasia Palkina (apalkina) wrote :
description: updated
Evgeniy L (rustyrobot)
Changed in fuel:
assignee: Evgeniy L (rustyrobot) → nobody
milestone: none → 4.1
status: New → Triaged
importance: Undecided → Medium
tags: added: nailgun
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Why is this bug triaged? How can I reproduce it?

Evgeniy L (rustyrobot)
Changed in fuel:
status: Triaged → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexandr Notchenko (anotchenko)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/67438
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=604a9319b7651269a87a01958161052800b30d43
Submitter: Jenkins
Branch: master

commit 604a9319b7651269a87a01958161052800b30d43
Author: Alexandr Notchenko <email address hidden>
Date: Thu Jan 23 11:10:09 2014 +0400

    Environment check is implemented

    If node is not assigned to cluster, volume info
    will not be delivered. Test for fix was also added.

    Closes: bug #1248970
    Change-Id: I350ef366b497c125a8a2b9ea20b402c1bfad1c2a

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Cannot reproduced on latest ISO including #116
"build_id": "2014-02-13_13-09-40",
"mirantis": "no",
"build_number": "116",
"nailgun_sha": "0653f2e052cad099686de0e8259d4b861577599e",
"ostf_sha": "f86abe5544b5ffcf621e0c450bca15737c92361f",
"fuelmain_sha": "a4f314699aa97a274513a5ee182b13d25bf137ed",
"astute_sha": "7eed50fc30cec675fff7787c37fcf6da6dd518ee",
"release": "4.1",
"fuellib_sha": "dc45bb0b8520a91a66fd0493a87b4cf4bd33c32c"

Changed in fuel:
status: Fix Committed → Fix Released
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.