Ask Your Question

set node role to opendaylight failed by fuel cli

asked 2016-06-07 08:45:24 -0800

wu.zhihui gravatar image

updated 2016-06-07 08:50:40 -0800

Version: opnfv-2016-06-06_22-41-56.iso

Refer to , there was a failure on step of setting node role to opendaylight+controller.

Failed command: fuel node set --node-id 1 --role controller,opendaylight --env 1
Command returned response: 500 Server Error: Internal Server Error for url:
/1/assignment/ (Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/", line 170, in checked_data
  valid_data = method(data, **kwargs)
 File "/usr/lib/python2.7/site-packages/nailgun/api/v1/validators/", line 100, in   
File "/usr/lib/python2.7/site-packages/nailgun/api/v1/validators/", line 124, in validate_roles
  'version': settings.VERSION,
 File "/usr/lib/python2.7/site-packages/nailgun/api/v1/validators/", line 151, in     
 models, roles_metadata[role]['restrictions']
 File "/usr/lib/python2.7/site-packages/nailgun/utils/", line 200, in check_restrictions
 File "/usr/lib/python2.7/site-packages/nailgun/utils/", line 199, in <lambda>
strict=item.get('strict', strict)).evaluate(),
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 27, in evaluate
return self.compiled_expression()
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 36, in __call__
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 32, in evaluate
self.value = self.subexpression()
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 99, in <lambda>
result = lambda: arg1() == arg2()
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 83, in __call__
File "/usr/lib/python2.7/site-packages/nailgun/expression/", line 78, in evaluate
' to false to allow undefined values.'.format(self.path))
 TypeError: Value of settings:opendaylight.metadata.enabled is undefined. Set options.strict to false to allow    
 undefined values.)

but it was ok when I set node role to opendaylight and controller on fuel dashboard. Any ideas about this problem?

Here is settings.yaml and settings.yamlorig. Please download and delete the file extension ".bmp". settings1.yaml.bmp settings1.yamlorig.bmp

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-07 17:11:11 -0800

mskalski gravatar image

It looks like a bug in Fuel and it is not specific only for opendaylight plugin. I created a bug on launchpad:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2016-06-07 08:45:24 -0800

Seen: 159 times

Last updated: Jun 07 '16