MOS 9: Unable to assign roles to fuel slave nodes

Bug #1629492 reported by Savithru Lokanath
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Plugins Bugs

Bug Description

I'm using Fuel to provision Mirantis OpenStack (Mitaka) with Contrail. Using MOS 9 & Contrail fuel plugin 5.0.0

In the fuel UI, when I try to assign roles to discovered slaves I see this error.

ERROR: A server error has occurred. Please contact your system administrator.

In the logs tab (Fuel Master > Web Backend > ERROR), I see this:

2016-10-01 00:01:19 ERROR [7f4b5704f880] (base) Unexpected exception occured
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 285, in content_json
    resp = func(cls, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/node.py", line 117, in PUT
    self.collection.single.update(node, nd)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/node.py", line 756, in update
    cls.add_into_cluster(instance, instance.cluster_id)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/node.py", line 1023, in add_into_cluster
    cls.set_default_attributes(instance)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/node.py", line 1269, in set_default_attributes
    NodeAttributes.set_default_hugepages(instance)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/node.py", line 1425, in set_default_hugepages
    supported_hugepages = node.meta['numa_topology']['supported_hugepages']
KeyError: 'numa_topology'
[pid: 15773|app: 0|req: 32794/39772] 172.23.195.225 () {52 vars in 934 bytes} [Sat Oct 1 00:01:19 2016] PUT /api/nodes => generated 39 bytes in 145 msecs (HTTP/1.1 500) 5 headers in 223 bytes (2 switches on core 0)

Revision history for this message
Savithru Lokanath (slokanath) wrote :
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Hey Savithru,

could you, please, attach a diagnostic snapshot for this environment? It would be really helpful.

Changed in fuel:
status: New → Incomplete
importance: Undecided → High
assignee: nobody → Fuel Plugins Bugs (fuel-plugins-bugs)
milestone: none → 9.2
tags: added: area-plugins
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :

Closing as the requested data was not provided within a month.Feel free to reopen the bug if it appears again

Changed in fuel:
status: Incomplete → Invalid
Revision history for this message
Savithru Lokanath (slokanath) wrote :

Snapshot was sent to Illia Polliul on Oct 14.2016 as it's too big to upload here. Problem persists & re-opening the bug.

Changed in fuel:
status: Invalid → New
Revision history for this message
Savithru Lokanath (slokanath) wrote :

I don't see this error anymore on MOS 9.1

Revision history for this message
Illia Polliul (ipolliul) wrote :

Closing as Invalid, since it doesn't reproduce on 9.1 and 9.2

Changed in fuel:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.