[PVE-User] [pve-devel] applied: [PATCH qemu-server] agent: import used check_agent_error method

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jul 30 12:03:35 CEST 2018


Am 07/30/2018 um 11:57 AM schrieb lyt_yudi:
> sorry, got it
> 
> It’s fixed!
> 

great, thanks for reporting and testing again!

>> 在 2018年7月30日,下午5:54,lyt_yudi <lyt_yudi at icloud.com> 写道:
>>
>> Hi
>>
>>
>>> 在 2018年7月30日,下午4:43,Thomas Lamprecht <t.lamprecht at proxmox.com> 写道:
>>>
>>>> # pvesh create nodes/localhost/qemu/131/agent/set-user-password --password test123456 --username root --crypted 0
>>>> Can't use string ("password") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/QemuServer/Agent.pm line 62.
>>>
>>> Ah, yes, I found the issue and pushed a fix. Much thanks for the report.
>> Thanks
>>
>>
>> But with this new patch, report errors:
>>
>>> 在 2018年7月30日,下午5:05,Thomas Lamprecht <t.lamprecht at proxmox.com> 写道:
>>>
>>> -use PVE::QemuServer::Agent qw(agent_available agent_cmd);
>>> +use PVE::QemuServer::Agent qw(agent_available agent_cmd check_agent_error);
>>> use MIME::Base64 qw(encode_base64 decode_base64);
>>> use JSON;
>>
>> # pvesh create nodes/localhost/qemu/131/agent/set-user-password --password test123456 --username root --crypted 0
>> Can't use string ("password") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/QemuServer/Agent.pm line 62.
>>
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 
> 





More information about the pve-user mailing list