Comments (5)
I'm not sure whether the MTU value is important to you or Proxbox but after getting this error I just nano
ed into /opt/netbox/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/updates/node.py
and changed 'mtu' : int(iface.mtu)
to 'mtu' : 1500
.
For me there was also another error lower down in the file with the line
ntb_iface = list(nb.dcim.interfaces.filter(device_id=netbox_node.id, name=iface['name']))
where I got TypeError: string indices must be integers
so I removed the subscript from iface
and after that Proxbox seemed to work for me.
Hope this helps
from netbox-proxbox.
It did the tricks, thanks!
from netbox-proxbox.
For me there was also another error lower down in the file with the line
ntb_iface = list(nb.dcim.interfaces.filter(device_id=netbox_node.id, name=iface['name']))where I got
TypeError: string indices must be integers
so I removed the subscript fromiface
and after that Proxbox seemed to work for me.Hope this helps
I have this issue too but I don't follow what changes need to be made. What changes did you make on which lines?
Regards,
Matt.
from netbox-proxbox.
I have this issue too but I don't follow what changes need to be made. What changes did you make on which lines?
I canβt say which line number because Iβm not sure whether our files are exactly the same but on the line (quite near the bottom)
ntb_iface = list(nb.dcim.interfaces.filter(device_id=netbox_node.id, name=iface['name']))
I changed name=iface['name']
near the end to just name=iface
, since iface
appears to be of type str
.
To be honest I have stopped using Proxbox because I faced the same issue described in #140 and that burned me and I felt I could not trust the software anymore. The fix I described above worked and helped me with the initial import of the data. Since then I have been keeping NetBox and Proxmox in sync manually.
from netbox-proxbox.
Thanks. I can see the changes you make reference to have already been made in master and develop branches. I am having other undefined type errors on full update and starting to get sidetracked by this. I really wanted this to work but I think I'm at the point where switching to manually adding VMs to netbox is my quicker option and I'll revisit this when I import my larger Proxmox cluster of several hundred VMs to netbox.
from netbox-proxbox.
Related Issues (20)
- ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) HOT 2
- Compatibility for Netbox 3.6.1 HOT 1
- Can't add multiple proxmox clusters to proxbox PLUGINS_CONFIG block. Issue with dict vs list HOT 2
- multiple proxmox clusters - support setting site_id on each cluster config HOT 2
- Unable to add PVE nodes to Netbox HOT 2
- Refactor all backend to FastAPI framework
- CLOSED HOT 2
- dont show token value on proxbox plugin page HOT 1
- Support for Netbox 3.2.x
- Support version 3.7.1 HOT 2
- full update from netbox gives error HOT 2
- How are you supposed to use this without SSL?
- migration error .. and SSL.. Of course. HOT 1
- Dynamic Proxmox configuration
- object has no attribute "slug"
- errors python3 manage.py migrate HOT 1
- pynetbox.core.query.RequestError - The specified disk size (53) must match the aggregate size of assigned virtual disks (55)
- Support for netbox 4.x HOT 8
- project still a live ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-proxbox.