[pve-devel] [PATCH v7 qemu-server 00/10] cloudinit pending behaviour change

DERUMIER, Alexandre Alexandre.DERUMIER at groupe-cyllene.com
Wed Aug 31 11:40:31 CEST 2022


Hi,

Any news to apply this patch serie  ? Now that qemu 7.0 is pushed in repo.

Do you want a new patch serie with version check updated in 03/10 patch ?


Le 27/07/22 à 13:19, Fiona Ebner a écrit :
> Am 22.06.22 um 13:51 schrieb Alexandre Derumier:
>> Hi,
>>
>> This is an attempt to cleanup current behaviour of cloudinit online changes.
>>
>> Currently, we setup cloudinit options as pending, until we generate the config drive.
>>
>> This is not 100% true, because some option like vm name, nic mac address can be changed,
>> without going to pending, so user can't known if it need to regenerated it.
>>
>> Also, some can are very difficult to handle, if you hotplug a nic but it's failing,so pending,
>> then you defined an ipconfig, and then you revert hotplug.
>> or if you delete a nic, the ipconfig is no more displayed in the gui.
>>
>>
>> So, instead of setting cloudinit values in pending,
>> this patch serie copy the current cloudinit config in a new section [special:cloudinit],
>> when the config drive is generated.
>> This is only an hint, to allow to display diff between the generated cloudinit
>> drive, and the current vm config.
>>
>> A new specific cloudinit config api is added too displaying the diff between current and generated config.
>>
>> Reminder: This need pve-manager depency bump first to check the version for live migration.
> 
> Without 10/10 and the version check in 03/10 adapted in accordance with
> the above-mentioned bump (best done when applying):
> 
> Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>
> 



More information about the pve-devel mailing list