[pve-devel] proxmox 2.3 : Error starting worker failed: unable to parse worker upid 'UPID:kvmregie3:000E5412:1160146C2:527A29E9:vncproxy:102:root at pam:' (500)

Alexandre DERUMIER aderumier at odiso.com
Wed Nov 6 14:08:26 CET 2013


ok thanks

as I can't reboot the node now, I have change {8} to {9} as temp workaround.

any reason to specify the exact number of characters to parse ?

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mercredi 6 Novembre 2013 13:25:04 
Objet: RE: [pve-devel] proxmox 2.3 : Error starting worker failed: unable to parse worker upid 'UPID:kvmregie3:000E5412:1160146C2:527A29E9:vncproxy:102:root at pam:' (500) 

> Error starting worker failed: unable to parse worker upid 
> 'UPID:kvmregie3:000E5412:1160146C2:527A29E9:vncproxy:102:root at pam:' 

Our code: 

# "UPID:$node:$pid:$pstart:$startime:$dtype:$id:$user" 
if ($upid =~ m/^UPID:([a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/) { 

Seems the value of pstart '1160146C2' is too large (>32bit). 



More information about the pve-devel mailing list