Skip to content

Instantly share code, notes, and snippets.

@hbokh
Last active February 8, 2020 16:25
Show Gist options
  • Save hbokh/ab4e5bf7ce37c917f0a32f964cf5194d to your computer and use it in GitHub Desktop.
Save hbokh/ab4e5bf7ce37c917f0a32f964cf5194d to your computer and use it in GitHub Desktop.
Debugging Cobbler & Terraform (apply / add a new system)

Cobbler and Terraform

terraform apply - system - fail

2020-02-08T15:16:03 - INFO | authenticate; ['cobbler', True]
2020-02-08T15:16:03 - INFO | REMOTE get_item(system,ubuntu001); user(?)
2020-02-08T15:16:03 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:16:03 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:16:03 - INFO | REMOTE new_item(system); user(cobbler)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'new_system', None, None, True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(autoinstall)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'autoinstall', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(autoinstall_meta)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'autoinstall_meta', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(boot_files)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'boot_files', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(comment)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'comment', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(enable_gpxe)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'enable_gpxe', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(fetchable_files)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'fetchable_files', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(gateway)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'gateway', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(hostname)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'hostname', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(image)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'image', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(ipv6_default_device)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'ipv6_default_device', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(kernel_options)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'kernel_options', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(kernel_options_post)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'kernel_options_post', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(mgmt_classes)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'mgmt_classes', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(mgmt_parameters)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'mgmt_parameters', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(name)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'name', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(name_servers)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'name_servers', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(name_servers_search)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'name_servers_search', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(netboot_enabled)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'netboot_enabled', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(next_server)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'next_server', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(owners)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'owners', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(power_address)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'power_address', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(power_id)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'power_id', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(power_pass)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'power_pass', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(power_type)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'power_type', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(power_user)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'power_user', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(profile)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'profile', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(proxy)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'proxy', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(status)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'status', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(template_files)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'template_files', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_auto_boot)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_auto_boot', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_cpus)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_cpus', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_disk_driver)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_disk_driver', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_file_size)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_file_size', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_path)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_path', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_pxe_boot)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_pxe_boot', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_ram)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_ram', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==); attribute(virt_type)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7feafc310278>, 'virt_type', True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | REMOTE save_item(system); user(cobbler); object_id(___NEW___system::vwotMFGC+w6LpEIcKBhTdUbHo4F2eoaUYw==)
2020-02-08T15:16:03 - DEBUG | authorize; ['cobbler', 'save_system', <cobbler.items.system.System object at 0x7feafc310278>, None, True]
2020-02-08T15:16:03 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:16:03 - INFO | add_item(system); ['ubuntu001']
2020-02-08T15:16:03 - DEBUG | get_items; ['system']
2020-02-08T15:16:03 - DEBUG | done with get_items; ['system']
2020-02-08T15:16:03 - INFO | Writing template files for ubuntu001
2020-02-08T15:16:03 - INFO | Exception occured: <class 'AttributeError'>
2020-02-08T15:16:03 - INFO | Exception value: 'str' object has no attribute 'copy'
2020-02-08T15:16:03 - INFO | Exception Info:
  File "/usr/lib/python3/dist-packages/cobbler/remote.py", line 2245, in _dispatch
    return method_handle(*params)

  File "/usr/lib/python3/dist-packages/cobbler/remote.py", line 1073, in save_system
    return self.save_item("system", object_id, token, editmode=editmode)

  File "/usr/lib/python3/dist-packages/cobbler/remote.py", line 1063, in save_item
    self.api.add_item(what, obj, logger=self.logger)

  File "/usr/lib/python3/dist-packages/cobbler/api.py", line 437, in add_item
    self.get_items(what).add(ref, check_for_duplicate_names=check_for_duplicate_names, save=save, logger=logger)

  File "/usr/lib/python3/dist-packages/cobbler/cobbler_collections/collection.py", line 351, in add
    self.lite_sync.add_single_system(ref.name)

  File "/usr/lib/python3/dist-packages/cobbler/actions/litesync.py", line 155, in add_single_system
    self.tftpd.add_single_system(system)

  File "/usr/lib/python3/dist-packages/cobbler/modules/managers/in_tftpd.py", line 133, in add_single_system
    self.tftpgen.write_templates(system)

  File "/usr/lib/python3/dist-packages/cobbler/tftpgen.py", line 773, in write_templates
    blended = utils.blender(self.api, False, obj)

  File "/usr/lib/python3/dist-packages/cobbler/utils.py", line 550, in blender
    __consolidate(node, results)

  File "/usr/lib/python3/dist-packages/cobbler/utils.py", line 689, in __consolidate
    results[field].update(data_item.copy())

terraform apply - system - OK

Deleting the system in Cobbler, restarting cobblerd, retry and it is OK.

2020-02-08T15:18:02 - INFO | authenticate; ['cobbler', True]
2020-02-08T15:18:05 - INFO | authenticate; ['cobbler', True]
2020-02-08T15:18:05 - INFO | REMOTE get_item(system,ubuntu001); user(?)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - INFO | REMOTE new_item(system); user(cobbler)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'new_system', None, None, True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(autoinstall)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'autoinstall', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(autoinstall_meta)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'autoinstall_meta', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(boot_files)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'boot_files', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(comment)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'comment', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(enable_gpxe)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'enable_gpxe', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(fetchable_files)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'fetchable_files', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(gateway)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'gateway', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(hostname)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'hostname', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(image)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'image', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(ipv6_default_device)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'ipv6_default_device', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(kernel_options)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'kernel_options', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(kernel_options_post)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'kernel_options_post', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(mgmt_classes)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'mgmt_classes', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(mgmt_parameters)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'mgmt_parameters', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(name)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'name', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(name_servers)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'name_servers', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(name_servers_search)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'name_servers_search', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(netboot_enabled)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'netboot_enabled', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(next_server)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'next_server', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(owners)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'owners', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(power_address)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'power_address', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(power_id)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'power_id', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(power_pass)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'power_pass', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(power_type)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'power_type', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(power_user)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'power_user', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(profile)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'profile', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(proxy)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'proxy', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(status)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'status', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(template_files)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'template_files', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_auto_boot)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_auto_boot', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_cpus)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_cpus', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_disk_driver)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_disk_driver', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_file_size)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_file_size', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_path)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_path', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_pxe_boot)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_pxe_boot', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_ram)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_ram', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==); attribute(virt_type)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'virt_type', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | REMOTE save_item(system); user(cobbler); object_id(___NEW___system::KtfSX2rPWq5OD6UzPB4/GhRz9r/ly97yVQ==)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'save_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, None, True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | add_item(system); ['ubuntu001']
2020-02-08T15:18:05 - DEBUG | get_items; ['system']
2020-02-08T15:18:05 - DEBUG | done with get_items; ['system']
2020-02-08T15:18:05 - INFO | Writing template files for ubuntu001
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | running python trigger cobbler.modules.scm_track
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - INFO | REMOTE get_item(system,ubuntu001); user(?)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(system::ubuntu001); attribute(modify_interface)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'modify_interface', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | find_items; ['system']
2020-02-08T15:18:05 - INFO | find_items; ['system']
2020-02-08T15:18:05 - INFO | REMOTE save_item(system); user(cobbler); object_id(system::ubuntu001)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'save_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, None, True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | add_item(system); ['ubuntu001']
2020-02-08T15:18:05 - DEBUG | get_items; ['system']
2020-02-08T15:18:05 - DEBUG | done with get_items; ['system']
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:fa
2020-02-08T15:18:05 - INFO | Writing template files for ubuntu001
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | running python trigger cobbler.modules.scm_track
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - INFO | REMOTE modify_item(system); user(cobbler); object_id(system::ubuntu001); attribute(modify_interface)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'modify_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, 'modify_interface', True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | find_items; ['system']
2020-02-08T15:18:05 - INFO | find_items; ['system']
2020-02-08T15:18:05 - INFO | REMOTE save_item(system); user(cobbler); object_id(system::ubuntu001)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'save_system', <cobbler.items.system.System object at 0x7ff44b7fb4e0>, None, True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | add_item(system); ['ubuntu001']
2020-02-08T15:18:05 - DEBUG | get_items; ['system']
2020-02-08T15:18:05 - DEBUG | done with get_items; ['system']
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:fa
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-ff
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:ff
2020-02-08T15:18:05 - INFO | Writing template files for ubuntu001
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | running python trigger cobbler.modules.scm_track
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/add/system/post/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - INFO | REMOTE sync; user(cobbler)
2020-02-08T15:18:05 - DEBUG | authorize; ['cobbler', 'sync', None, None, True]
2020-02-08T15:18:05 - DEBUG | REMOTE cobbler authorization result: True; user(?)
2020-02-08T15:18:05 - INFO | sync
2020-02-08T15:18:05 - INFO | running pre-sync triggers
2020-02-08T15:18:05 - INFO | cleaning trees
2020-02-08T15:18:05 - INFO | removing: /var/www/cobbler/images/ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/pxelinux.cfg/default
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-ff
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/grub.cfg
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/local_powerpc-ieee1275.cfg
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/system
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/local_legacy.cfg
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/local_efi.cfg
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/images
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/grub/system_link
2020-02-08T15:18:05 - INFO | removing: /var/lib/tftpboot/images/ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | copying bootloaders
2020-02-08T15:18:05 - INFO | running: ['rsync', '-rpt', '--copy-links', '--exclude=.cobbler_postun_cleanup', '/var/lib/cobbler/loaders/', '/var/lib/tftpboot']
2020-02-08T15:18:05 - INFO | received on stdout:
2020-02-08T15:18:05 - DEBUG | received on stderr:
2020-02-08T15:18:05 - INFO | running: ['rsync', '-rpt', '--copy-links', '--exclude=README.grubconfig', '/var/lib/cobbler/grub_config/', '/var/lib/tftpboot']
2020-02-08T15:18:05 - INFO | received on stdout:
2020-02-08T15:18:05 - DEBUG | received on stderr:
2020-02-08T15:18:05 - INFO | copying distros to tftpboot
2020-02-08T15:18:05 - INFO | copying files for distro: ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/linux -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/linux
2020-02-08T15:18:05 - INFO | trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/initrd.gz -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/initrd.gz
2020-02-08T15:18:05 - INFO | copying images
2020-02-08T15:18:05 - INFO | generating PXE configuration files
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:fa
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-ff
2020-02-08T15:18:05 - INFO | generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:ff
2020-02-08T15:18:05 - INFO | generating PXE menu structure
2020-02-08T15:18:05 - INFO | copying files for distro: ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/linux -> /var/www/cobbler/images/ubuntu-1804-x86_64/linux
2020-02-08T15:18:05 - INFO | trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/initrd.gz -> /var/www/cobbler/images/ubuntu-1804-x86_64/initrd.gz
2020-02-08T15:18:05 - INFO | Writing template files for ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | processing boot_files for distro: ubuntu-1804-x86_64
2020-02-08T15:18:05 - INFO | cleaning link caches
2020-02-08T15:18:05 - INFO | running post-sync triggers
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/sync/post/*
2020-02-08T15:18:05 - DEBUG | running python trigger cobbler.modules.sync_post_restart_services
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/sync/post/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - DEBUG | running python triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | running python trigger cobbler.modules.scm_track
2020-02-08T15:18:05 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/change/*
2020-02-08T15:18:05 - DEBUG | shell triggers finished successfully
2020-02-08T15:18:05 - INFO | REMOTE get_item(system,ubuntu001); user(?)
2020-02-08T15:18:05 - DEBUG | get_item; ['system', 'ubuntu001']
2020-02-08T15:18:05 - DEBUG | done with get_item; ['system', 'ubuntu001']

Cobbler sync

cobbler sync - fail

task started: 2020-02-08_155407_sync
task started (id=Sync, time=Sat Feb  8 15:54:07 2020)
running python triggers from /var/lib/cobbler/triggers/task/sync/pre/*
running shell triggers from /var/lib/cobbler/triggers/task/sync/pre/*
shell triggers finished successfully
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/ubuntu-1804-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-ff
removing: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
removing: /var/lib/tftpboot/grub/grub.cfg
removing: /var/lib/tftpboot/grub/local_powerpc-ieee1275.cfg
removing: /var/lib/tftpboot/grub/system
removing: /var/lib/tftpboot/grub/local_legacy.cfg
removing: /var/lib/tftpboot/grub/local_efi.cfg
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/system_link
removing: /var/lib/tftpboot/images/ubuntu-1804-x86_64
copying bootloaders
running: ['rsync', '-rpt', '--copy-links', '--exclude=.cobbler_postun_cleanup', '/var/lib/cobbler/loaders/', '/var/lib/tftpboot']
received on stdout:
received on stderr:
running: ['rsync', '-rpt', '--copy-links', '--exclude=README.grubconfig', '/var/lib/cobbler/grub_config/', '/var/lib/tftpboot']
received on stdout:
received on stderr:
copying distros to tftpboot
copying files for distro: ubuntu-1804-x86_64
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/linux -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/linux
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/initrd.gz -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/initrd.gz
copying images
generating PXE configuration files
Exception occured: <class 'AttributeError'>
Exception value: 'str' object has no attribute 'copy'
Exception Info:
  File "/usr/lib/python3/dist-packages/cobbler/remote.py", line 84, in run
    rc = self._run(self)

  File "/usr/lib/python3/dist-packages/cobbler/remote.py", line 185, in runner
    self.remote.api.sync(self.options.get("verbose", False), logger=self.logger)

  File "/usr/lib/python3/dist-packages/cobbler/api.py", line 719, in sync
    sync.run()

  File "/usr/lib/python3/dist-packages/cobbler/actions/sync.py", line 100, in run
    self.tftpd.sync(self.verbose)

  File "/usr/lib/python3/dist-packages/cobbler/modules/managers/in_tftpd.py", line 166, in sync
    self.tftpgen.write_all_system_files(x, menu_items)

  File "/usr/lib/python3/dist-packages/cobbler/tftpgen.py", line 255, in write_all_system_files
    self.write_pxe_file(pxe_path, system, profile, distro, working_arch, metadata=pxe_metadata)

  File "/usr/lib/python3/dist-packages/cobbler/tftpgen.py", line 410, in write_pxe_file
    blended = utils.blender(self.api, True, system)

  File "/usr/lib/python3/dist-packages/cobbler/utils.py", line 550, in blender
    __consolidate(node, results)

  File "/usr/lib/python3/dist-packages/cobbler/utils.py", line 689, in __consolidate
    results[field].update(data_item.copy())

!!! TASK FAILED !!!

# systemctl restart cobblerd

cobbler sync - OK

task started: 2020-02-08_155422_sync
task started (id=Sync, time=Sat Feb  8 15:54:22 2020)
running python triggers from /var/lib/cobbler/triggers/task/sync/pre/*
running shell triggers from /var/lib/cobbler/triggers/task/sync/pre/*
shell triggers finished successfully
running pre-sync triggers
cleaning trees
removing: /var/lib/tftpboot/grub/grub.cfg
removing: /var/lib/tftpboot/grub/local_powerpc-ieee1275.cfg
removing: /var/lib/tftpboot/grub/system
removing: /var/lib/tftpboot/grub/local_legacy.cfg
removing: /var/lib/tftpboot/grub/local_efi.cfg
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/system_link
removing: /var/lib/tftpboot/images/ubuntu-1804-x86_64
copying bootloaders
running: ['rsync', '-rpt', '--copy-links', '--exclude=.cobbler_postun_cleanup', '/var/lib/cobbler/loaders/', '/var/lib/tftpboot']
received on stdout:
received on stderr:
running: ['rsync', '-rpt', '--copy-links', '--exclude=README.grubconfig', '/var/lib/cobbler/grub_config/', '/var/lib/tftpboot']
received on stdout:
received on stderr:
copying distros to tftpboot
copying files for distro: ubuntu-1804-x86_64
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/linux -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/linux
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/initrd.gz -> /var/lib/tftpboot/images/ubuntu-1804-x86_64/initrd.gz
copying images
generating PXE configuration files
generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-fa
generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:fa
generating: /var/lib/tftpboot/pxelinux.cfg/01-aa-bb-cc-dd-ee-ff
generating: /var/lib/tftpboot/grub/system/aa:bb:cc:dd:ee:ff
generating PXE menu structure
copying files for distro: ubuntu-1804-x86_64
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/linux -> /var/www/cobbler/images/ubuntu-1804-x86_64/linux
trying hardlink /var/www/cobbler/distro_mirror/Ubuntu-18.04/install/netboot/ubuntu-installer/amd64/initrd.gz -> /var/www/cobbler/images/ubuntu-1804-x86_64/initrd.gz
Writing template files for ubuntu-1804-x86_64
processing boot_files for distro: ubuntu-1804-x86_64
cleaning link caches
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running shell triggers from /var/lib/cobbler/triggers/sync/post/*
shell triggers finished successfully
running python triggers from /var/lib/cobbler/triggers/change/*
running python trigger cobbler.modules.scm_track
running shell triggers from /var/lib/cobbler/triggers/change/*
shell triggers finished successfully
*** TASK COMPLETE ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment