[ironic drac driver]there are some errors when I use drac driver to deploy a node

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ironic drac driver]there are some errors when I use drac driver to deploy a node

王俊

Hi,

         First,I use ‘node-set-target-raid-config’ to set raid configuration,but there is nothing in ‘target_raid_config’

         Second,I try to set node in provide,for a while, It’s failed.the error log is:

>_do_request /usr/lib/python2.7/site-packages/dracclient/wsman.py:73

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager [req-4d8e6e72-6e4d-43fc-9729-ef76954a3a7d - - - - -] Failed to prepare node f4decb8d-a126-4e9f-ba8f-ae29f9f89ee5 for cleaning:

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager Traceback (most recent call last):

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/conductor/manager.py", line 928, in _do_node_clean

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     prepare_result = task.driver.deploy.prepare_cleaning(task)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 61, in wrapped

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     result = f(*args, **kwargs)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/deploy.py", line 54, in prepare_cleaning

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     manage_boot=True)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/deploy_utils.py", line 982, in prepare_inband_cleaning

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     manager_utils.node_power_action(task, states.REBOOT)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", line 146, in wrapper

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     return f(*args, **kwargs)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/conductor/utils.py", line 193, in node_power_action

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     fields.NotificationStatus.ERROR, new_state)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     self.force_reraise()

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     six.reraise(self.type_, self.value, self.tb)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/conductor/utils.py", line 180, in node_power_action

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     task.driver.power.reboot(task)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 61, in wrapped

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     result = f(*args, **kwargs)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", line 146, in wrapper

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     return f(*args, **kwargs)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/power.py", line 181, in reboot

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     _set_power_state(task.node, target_power_state)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/power.py", line 101, in _set_power_state

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     _commit_boot_list_change(node)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/power.py", line 77, in _commit_boot_list_change

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     boot_device['persistent'])

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/management.py", line 98, in set_boot_device

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     current_boot_device = _get_boot_device(node, drac_boot_devices)

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager   File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/drac/management.py", line 66, in _get_boot_device

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager     boot_device = next(key for (key, value) in _BOOT_DEVICES_MAP.items()

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager StopIteration

>2017-08-11 19:55:40.771 11110 ERROR ironic.conductor.manager

 

How to fix it ?

保密:本函仅供收件人使用,如阁下并非抬头标明的收件人,请您即刻删除本函,勿以任何方式使用及传播,并请您能将此误发情形通知发件人,谢谢!


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [hidden email]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Loading...