Comment 0 for bug 1576658

Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote :

Detailed bug description:
Wile trying to update node info (hostname, name) through the python-fuelclient 'fuel2 node update' command returns 'numa_nodes is not found in the supplied data', e.g.

[root@fuel ~]# fuel2 node update --hostname test-host 1 --debug
numa_nodes is not found in the supplied data.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/fuelclient/commands/node.py", line 144, in take_action
    self.columns, updated_node)
  File "/usr/lib/python2.7/site-packages/fuelclient/common/data_utils.py", line 34, in get_display_data_single
    'data.'.format(e.args[0]))
BadDataException: numa_nodes is not found in the supplied data.
Traceback (most recent call last):
  File "/usr/bin/fuel2", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/fuelclient/main.py", line 88, in main
    return fuelclient_app.run(argv)
  File "/usr/lib/python2.7/site-packages/fuelclient/main.py", line 79, in run
    return super(FuelClient, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 255, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/fuelclient/commands/node.py", line 144, in take_action
    self.columns, updated_node)
  File "/usr/lib/python2.7/site-packages/fuelclient/common/data_utils.py", line 34, in get_display_data_single
    'data.'.format(e.args[0]))
fuelclient.cli.error.BadDataException: numa_nodes is not found in the supplied data.

Notice, that the node info is updated successfully http://paste.openstack.org/show/495760/

Steps to reproduce:
1. Deploy Fuel (e.g. 1 master + 5 nodes).
2. Create env and add several nodes to it.
3. Try to change node info for some specific node:
    fuel2 node update --hostname test-host 1
    fuel2 node update --name test-name 1

Expected results:
Node detailed description for specified in 'fuel2 node update' command http://paste.openstack.org/show/495760/

Actual result:
numa_nodes is not found in the supplied data.

Reproducibility:
Always

Description of the environment:
cat /etc/fuel_build_id:
 88
cat /etc/fuel_build_number:
 88
cat /etc/fuel_release:
 10.0
cat /etc/fuel_openstack_version:
 newton-10.0