netdevopsbr / netbox-proxbox

Netbox Plugin for integration between Proxmox and Netbox
Apache License 2.0
349 stars 53 forks source link

сannot create new vm/ct #71

Open mikesrus opened 1 year ago

mikesrus commented 1 year ago

running "Proxmox Full update" not create new vm/ct

in log i have

ноя 03 11:24:15 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:29 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:48 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:49 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:52 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:53 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:24:55 netbox gunicorn[272299]: Bad Request: /api/virtualization/virtual-machines/                                                                                                                                                
ноя 03 11:25:11 netbox gunicorn[272298]: [Proxbox - Netbox plugin | Update All]                                                                                                                                                            
ноя 03 11:25:11 netbox gunicorn[272298]: CLUSTER...                                                                                                                                                                                        
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] CLUSTER created. -> pve-company                                                                                                                                                               
ноя 03 11:25:11 netbox gunicorn[272298]: NODES...                                                                                                                                                                                          
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] NODE already updated. -> pve-04                                                                                                                                                              
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] NODE already updated. -> apollo-pve-15                                                                                                                                                       
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] NODE already updated. -> apollo-pve-06                                                                                                                                                       
.....                                                                                                                                         
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] NODE already updated. -> apollo-pve-12                                                                                                                                                       
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] NODE already updated. -> apollo-pve-03                                                                                                                                                       
ноя 03 11:25:11 netbox gunicorn[272298]: VIRTUAL MACHINES...                                                                                                                                                                               
ноя 03 11:25:11 netbox gunicorn[272298]: UPDATE ALL...                                                                                                                                                                                     
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] VM already updated. -> zabbix.company                                                                                                                                                    
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] VM already updated. -> mssql.company                                                                                                                                            
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] VM already updated. -> win2012srv                  
....
ноя 03 11:25:11 netbox gunicorn[272298]: [OK] VM does not exist on Netbox -> testvm-03
ноя 03 11:25:11 netbox gunicorn[272298]: [proxbox.create.virtual_machine] Creation of VM/CT failed.
ноя 03 11:25:11 netbox gunicorn[272298]: [ERROR] VM not created. -> testvm-03
......
ноя 03 11:25:16 netbox gunicorn[272298]: [OK] VM already updated. -> ns02.company                            
ноя 03 11:25:16 netbox gunicorn[272298]: REMOVE UNUSED DATA...                                              
ноя 03 11:25:16 netbox gunicorn[272298]: [OK] VM exists on both systems (Netbox and Proxmox) -> 1c-lic.company
ноя 03 11:25:16 netbox gunicorn[272298]: [OK] VM exists on both systems (Netbox and Proxmox) -> 1c.lic.company

netbox version 3.3.1

emersonfelipesp commented 1 year ago

Hi, could you please try testing it again, if possible? There was several new updates to code since then. Thank you already!