Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError while running Proxmox Full Update for the first time #143

Open
limachristian opened this issue Aug 24, 2023 · 2 comments
Open
Assignees
Labels
bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation

Comments

@limachristian
Copy link

Greetings,

I'm getting this error when tried to run Proxmox Full update for the first time.

image

Netbox 3.5.4
Proxmox 7.4

@emersonfelipesp emersonfelipesp self-assigned this Oct 9, 2023
@emersonfelipesp emersonfelipesp added bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation labels Oct 9, 2023
@dennyreiter
Copy link

dennyreiter commented Dec 14, 2023

I don't know if it helps at all, but this is from my logs. The Cluster gets added to Netbox, but fails after that.

Dec 13 19:40:41 Nurple gunicorn[825134]:   File "/opt/netbox-3.6.4/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/update.py", line 392, in nodes
Dec 13 19:40:41 Nurple gunicorn[825134]:     full_update = node_full_update(netbox_node, proxmox_json, proxmox_cluster)
Dec 13 19:40:41 Nurple gunicorn[825134]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 13 19:40:41 Nurple gunicorn[825134]:   File "/opt/netbox-3.6.4/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/update.py", line 60, in node_full_update
Dec 13 19:40:41 Nurple gunicorn[825134]:     cluster_updated = updates.node.cluster(netbox_node, proxmox_json, proxmox_cluster)
Dec 13 19:40:41 Nurple gunicorn[825134]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 13 19:40:41 Nurple gunicorn[825134]:   File "/opt/netbox-3.6.4/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/updates/node.py", line 64, in cluster
Dec 13 19:40:41 Nurple gunicorn[825134]:     if netbox_node.cluster.name != proxmox_cluster['name']:
Dec 13 19:40:41 Nurple gunicorn[825134]:        ^^^^^^^^^^^^^^^^^^^^^^^^
Dec 13 19:40:41 Nurple gunicorn[825134]: AttributeError: 'NoneType' object has no attribute 'name'

@andyfsimon
Copy link

Got the same as dennyreiter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation
Projects
None yet
Development

No branches or pull requests

4 participants