Skip to content

Instantly share code, notes, and snippets.

@antonym
Created February 10, 2020 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonym/c62bcaae55437934901f6c2d6aa1e175 to your computer and use it in GitHub Desktop.
Save antonym/c62bcaae55437934901f6c2d6aa1e175 to your computer and use it in GitHub Desktop.
| raid_interface | idrac-wsman
| target_raid_config | {'logical_disks': [{'controller': 'RAID.Slot.6-1', 'physical_disks': ['Disk.Bay.0:Enclosure.Internal.0-1:RAID.Slot.6-1', 'Disk.Bay.1:Enclosure.Internal.0-1:RAID.Slot.6-1'], 'size_gb': 'MAX', 'raid_level': '1', 'volume_name': 'RAID', 'is_root_volume': True}]}
Clean Steps
[{
"interface": "raid",
"step": "delete_configuration"
},
{
"interface": "raid",
"step": "create_configuration"
}]
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.476 1245 DEBUG ironic_lib.utils [-] Command stderr is: "" execute /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_lib/utils.py:104#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.480 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop0" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop1" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop2" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop3" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop4" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop5" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop6" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] TYPE did not match. Wanted: 'disk' but found: 'KNAME="loop7" MODEL="" SIZE="" ROTA="1" TYPE="loop"' list_all_block_devices /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:350#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.481 1245 DEBUG root [-] Still waiting for the root device to appear, attempt 10 of 10 wait_for_disks /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/hardware.py:629#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.482 1245 WARNING root [-] The root device was not detected in 27 seconds#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.482 1245 DEBUG root [-] Returning clean steps: defaultdict(<class 'list'>, {'GenericHardwareManager': [{'step': 'erase_devices', 'priority': 10, 'interface': 'deploy', 'reboot_requested': False, 'abortable': True}, {'step': 'erase_devices_metadata', 'priority': 99, 'interface': 'deploy', 'reboot_requested': False, 'abortable': True}, {'step': 'delete_configuration', 'priority': 0, 'interface': 'raid', 'reboot_requested': False, 'abortable': True}, {'step': 'create_configuration', 'priority': 0, 'interface': 'raid', 'reboot_requested': False, 'abortable': True}]}) get_clean_steps /opt/ironic-python-agent/lib/python3.6/site-packages/ironic_python_agent/extensions/clean.py:46#033[00m
Feb 10 19:12:42 ubuntu ironic-python-agent[1245]: 2020-02-10 19:12:42.483 1245 INFO root [-] Error formatting log line msg='Command *(name)s completed: *(result)s' err=TypeError('first argument must be callable or None',)#033[00m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment