question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error if nicOrder status is None

See original GitHub issue

Hi, I am doing a dry run against both my companies vcenters. However, at some point the script fails with the following error:

Traceback (most recent call last):
  File "./netbox-sync.py", line 145, in <module>
    main()
  File "./netbox-sync.py", line 121, in main
    source.apply()
  File "/opt/netbox-sync/module/sources/vmware/connection.py", line 492, in apply
    view_details.get("view_handler")(obj)
  File "/opt/netbox-sync/module/sources/vmware/connection.py", line 1480, in add_host
    if nic_order.activeNic is not None:
AttributeError: 'NoneType' object has no attribute 'activeNic'

What can I do ? Let me know if you need any more info.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Profecycommented, Nov 11, 2021

I will gladly ⭐ the project, it saves so much work!

0reactions
bb-Ricardocommented, Nov 11, 2021

If you like the project I would be happy about a ⭐

Read more comments on GitHub >

github_iconTop Results From Across the Web

vmotion fails. msg.vmk.status.VMK_IS_DISCONNECTED
I have a vmkernel (vmk3) configured on both nodes that sit within a dedicated portgroup (none routeable vlan) which is configured for vmotion....
Read more >
vmware_vswitch errors when attempting to set active_adapters ...
SUMMARY If vSwitch is currently configured with an active adapter (i.e. ... fails with error "msg": "Failed to update vSwitch 'vSwitch0... ... nicOrder....
Read more >
Troubleshooting System Issues - Cisco
A port group on vCenter Server can be deleted only if there are no interfaces ... It shows whether an error is caused...
Read more >
status 636 / status 42 errors - backing up to MSDP pool - VOX
Resolution: When the media server is trying to connect to the master server, the connection is being rejected by the master because the...
Read more >
New SAP Notes and KBA's for common Solution Manager ...
Problem: Error “No instances could be loaded from landscape for <SID>/ABAP” during the Managed System Configuration
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found