sync not working #345
Unanswered
north13dev
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It does not do anything because you ran it with the dry-run argument |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Synchronization doesn't work, maybe I didn't specify something in the config?
[common]
[netbox]
api_token = ...
host_fqdn =...
port = 8000
disable_tls = True
[source/my-vcenter-example]
type = vmware
host_fqdn =...
username = user
password = password
permitted_subnets = 10.0.0.0/8, 192.168.0.0/16
[source/my-redfish-example]
type = check_redfish
inventory_file_path = /opt/netbox-sync/inventory
permitted_subnets = 10.0.0.0/8, 192.168.0.0/16
(.venv) [root@pl-netbox netbox-sync]# ./netbox-sync.py -n
2023-09-14 11:12:21,365 - INFO: Starting NetBox Sync v1.5.0 (2023-07-07)
2023-09-14 11:12:21,398 - INFO: Successfully connected to NetBox 'mynetbox'
2023-09-14 11:12:21,398 - INFO: Initializing sources
2023-09-14 11:12:21,489 - INFO: Successfully connected to vCenter SDK 'myvmcenter'
2023-09-14 11:12:21,490 - INFO: Querying necessary objects from NetBox. This might take a while.
2023-09-14 11:12:23,515 - INFO: Finished querying necessary objects from NetBox
2023-09-14 11:12:23,529 - INFO: Query data from vCenter: 'myvmcenter'
2023-09-14 11:12:23,591 - INFO: Parsing objects which were marked to be reevaluated
2023-09-14 11:12:23,595 - INFO: This is a dry run and we stop here. Running time: 2 seconds
connects in both directions but does not transfer anything to the netbox
Beta Was this translation helpful? Give feedback.
All reactions