`Bug`: proxlb migration errors not detected
bugneeds-analysis
<img width="2878" height="310" alt="Image" src="https://github.com/user-attachments/assets/6487524b-9b6c-465b-9c97-8654dd0de4c0" />
<img width="2846" height="124" alt="Image" src="https://github.com/user-attachments/assets/950b4d13-7e94-4795-8a5b-6022169ffe47" />
## General
race condition causes proxlb to think migration sucueeded even when it doesnt
## Weighting
Score: 6
## Config
proxmox_api:
hosts: ['pve-dev-node01.fqdn.tld', 'pve-dev-node02.fqdn.tld', 'pve-dev-node03.fqdn.tld']
user: proxlb@pve
token_id: proxlb
token_secret: redacted
ssl_verification: True
timeout: 10
retries: 10
wait_time: 2
proxmox_cluster:
maintenance_nodes: [''] #ONLY HOSTNAME NOT FQDN
ignore_nodes: []
overprovisioning: False
balancing:
enable: True
enforce_affinity: False
parallel: True
parallel_jobs: 3
live: True
with_local_disks: True
with_conntrack_state: True
balance_types: ['vm']
max_job_validation: 1800 # Maximum time (in seconds) a job validation may take
memory_threshold: 80 # Optional: Maximum threshold (in percent) to trigger balancing actions
balanciness: 15 # Maximum delta of resource usage between highest and lowest usage node
method: memory # 'memory' | 'cpu' | 'disk'
mode: used # 'assigned' | 'used' | 'psi'
balance_larger_guests_first: False
service:
daemon: True
schedule:
interval: 12
format: hours
delay:
enable: False
time: 1
format: hours
log_level: DEBUG
## Log
ProxLB:
Jan 08 19:29:21 lb01-pve-dev.fqdn.tld ProxLB[19368]: 2026-01-08 19:29:21,193 - ProxLB - DEBUG - Balancing: Job ID UPID:pve-dev-node01:000BD9A9:05197BAF:695FF777:hamigrate:100:proxlb@pve!proxlb: (guest: lb01-pve-dev.fqdn.tld) for migration is still running... (Run: 2)
Jan 08 19:29:21 lb01-pve-dev.fqdn.tld ProxLB[19368]: 2026-01-08 19:29:21,193 - ProxLB - DEBUG - Starting: get_rebalancing_job_status.
Jan 08 19:29:21 lb01-pve-dev.fqdn.tld ProxLB[19368]: 2026-01-08 19:29:21,203 - ProxLB - DEBUG - Balancing: Job ID UPID:pve-dev-node01:000BD9A9:05197BAF:695FF777:hamigrate:100:proxlb@pve!proxlb: (guest: lb01-pve-dev.fqdn.tld) was successfully.
PVE:
task started by HA resource agent
2026-01-08 19:29:21 conntrack state migration not supported or disabled, active connections might get dropped
2026-01-08 19:29:21 starting migration of VM 100 to node 'pve-dev-node02' (172.16.100.12)
2026-01-08 19:29:21 found local disk 'local:iso/debian-13.2.0-amd64-DVD-1.iso' (attached)
2026-01-08 19:29:21 can't migrate local disk 'local:iso/debian-13.2.0-amd64-DVD-1.iso': local cdrom image
2026-01-08 19:29:21 ERROR: Problem found while scanning volumes - can't migrate VM - check log
2026-01-08 19:29:21 aborting phase 1 - cleanup resources
2026-01-08 19:29:21 ERROR: migration aborted (duration 00:00:00): Problem found while scanning volumes - can't migrate VM - check log
TASK ERROR: migration aborted
## Meta
Version: v1.1.10
Installed from: repo
Running as: debian vm on same proxmox cluster, attached as bond0 via vmbr0
0 条评论