![](https://seccdn.libravatar.org/avatar/f8681a5ce9ab75bcfc59a901a86f6884.jpg?s=120&d=mm&r=g)
El miércoles, 19 de octubre de 2022 9:14:41 (CEST) Enno Gotthold via Uyuni Users escribió:
Hi Thorsten,
Cobbler Upstream (& downstream) Maintainer here. My collegue Pablo wrote a patch for this recently. It is merged into Uyuni and integrated but I guess it has not yet made it into a release.
For details see here:
- https://github.com/uyuni-project/uyuni/pull/5971 - https://github.com/cobbler/cobbler/pull/3258
Speaking about the Uyuni PR: It is part of the 2022.10 release, but it seems the change was not right, so in some cases the migration does not work correctly, as some users already reported. Pablo is preparing the fix now, and we'll be releasing a patch for this, without waiting for a new Uyuni version.
Although the upstream PR for Cobbler is open at the time of writing, an early version of his PR is already integrated into the Cobbler Uyuni version.
To fix this manually right now you basically have to perform the steps the script from the Cobbler PR automates.
Am Dienstag, 18. Oktober 2022, 10:23:03 CEST schrieb Haupt, Torsten:
The server is permanently "on". I tried to execute the high state, without success. The Eventlog shows: This action will be executed after 10/18/22 10:03:18 AM CEST This action's status is: Failed. The client has not yet completed this action.
Looking at the server, I recognized, that cobbler has a problem, too. Is cobbler necessary for all the actions? A restart of cobbler shows: Oct 18 10:14:24 smduyuni cobblerd[3760]: INFO | running: ['/usr/sbin/selinuxenabled'] Oct 18 10:14:24 smduyuni cobblerd[3760]: INFO | received on stdout: Oct 18 10:14:24 smduyuni cobblerd[3760]: INFO | Automigration NOT executed Oct 18 10:14:24 smduyuni cobblerd[3760]: INFO | python3-hivex not found. If you need Automatic Windows Installation support, please install. Oct 18 10:14:24 smduyuni cobblerd[3760]: INFO | 11 breeds and 131 OS versions read from the signature file Oct 18 10:14:24 smduyuni cobblerd[3760]: Traceback (most recent call last): Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/cobbler_collections/manager.py", line 212, in deserialize Oct 18 10:14:24 smduyuni cobblerd[3760]:
serializer.deserialize(collection) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/serializer.py", line 128, in
deserialize Oct 18 10:14:24 smduyuni cobblerd[3760]: storage_module.deserialize(collection, topological) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/modules/serializers/file.py", line 160, in deserialize Oct 18 10:14:24 smduyuni cobblerd[3760]: collection.from_list(datastruct) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/cobbler_collections/collection.p y" , line 201, in from_list Oct 18 10:14:24 smduyuni cobblerd[3760]: item = self.factory_produce(self.api, item_dict) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/cobbler_collections/systems.py", line 50, in factory_produce Oct 18 10:14:24 smduyuni cobblerd[3760]: new_system.from_dict(item_dict) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/items/system.py", line 826, in from_dict Oct 18 10:14:24 smduyuni cobblerd[3760]: super().from_dict(dictionary) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/items/item.py", line 890, in from_dict Oct 18 10:14:24 smduyuni cobblerd[3760]: setattr(self, lowered_key, dictionary[key]) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/items/system.py", line 1801, in power_type Oct 18 10:14:24 smduyuni cobblerd[3760]: power_manager.validate_power_type(power_type) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/power_manager.py", line 71, in validate_power_type Oct 18 10:14:24 smduyuni cobblerd[3760]: raise CX("power management type must be one of: %s" % ",".join(power_types)) Oct 18 10:14:24 smduyuni cobblerd[3760]: cobbler.cexceptions.CX: 'power management type must be one of: aliyun,alom,amt,apc,apc_snmp,azure_arm,bladecenter,brocade,cisco_mds,cisco _u cs,compute,docker,drac5,eaton_snmp,emerson,eps,evacuate,gce,hds_cb,hpblade,i b
mblade,ibmz,idrac,ifmib,ilo,ilo2,ilo3,ilo3_ssh,ilo4,ilo4_ssh,ilo5,ilo5_ssh,i l
o_moon> Oct 18 10:14:24 smduyuni cobblerd[3760]: The above exception was the direct cause of the following exception: Oct 18 10:14:24 smduyuni cobblerd[3760]: Traceback (most recent call last): Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/bin/cobblerd", line 92, in main Oct 18 10:14:24 smduyuni cobblerd[3760]: execute_settings_automigration=options.automigration) Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 105, in __init__ Oct 18 10:14:24 smduyuni cobblerd[3760]: self.deserialize() Oct 18 10:14:24 smduyuni cobblerd[3760]: File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 1797, in deserialize Oct 18 10:14:24 smduyuni cobblerd[3760]: return
self._collection_mgr.deserialize() Oct 18 10:14:24 smduyuni cobblerd[3760]: File
"/usr/lib/python3.6/site-packages/cobbler/cobbler_collections/manager.py", line 215, in deserialize Oct 18 10:14:24 smduyuni cobblerd[3760]: % (collection.collection_type(), e)) from e Oct 18 10:14:24 smduyuni cobblerd[3760]: cobbler.cexceptions.CX: "serializer: error loading collection system: 'power management type must be one of: aliyun,alom,amt,apc,apc_snmp,azure_arm,bladecenter,brocade,cisco_mds,cisco _u cs,compute,docker,drac5,eaton_snmp,emerson,eps,evacuate,gce,hds_cb,hpblade,i b mblade,ibmz,idrac,ifmib,ilo,ilo2,ilo3> Oct 18 10:14:24 smduyuni systemd[1]: cobblerd.service: Main process exited, code=exited, status=1/FAILURE
Greets Torsten
Regards, Enno
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com