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

Devices not synced after update. #97

Open
mscrnt opened this issue Mar 1, 2023 · 2 comments
Open

Devices not synced after update. #97

mscrnt opened this issue Mar 1, 2023 · 2 comments

Comments

@mscrnt
Copy link

mscrnt commented Mar 1, 2023

I was able to get the plugin installed on Foreman 3.3.

Seems like the initial creation of a host works great. However, It doesn't sync any updates made after creation. Is this by design?

@kamils-iRonin
Copy link
Contributor

Hi @mscrnt,
can you check in the settings if Netbox Orchestration is enabled? (I assume it is, as initial sync works). What have you changed in the Foreman host and what change in Netbox you expect? Can you see any info/errors in the logs?

@mscrnt
Copy link
Author

mscrnt commented Mar 2, 2023

Hi @kamils-iRonin.
Thanks for the quick reply. I do have 'Netbox Orchestration' enabled.

My Environment: Foreman 3.3 w/Katello 4.5 on Rocky Linux 8.7

Here are the steps I've taken:

  1. Created test host with minimum fields filled out. (Hostname, MAC address, OS)
    • I was able to see the test host on netbox as expected.
  2. After initial sync with netbox, I added a comment and IP address to the host.
    • This did not update netbox as expected.

I just did a bit more testing and it does look like it is syncing, but not all the items I was expecting. I created another interface, this time with an IP address, and it partially synced. Netbox sees the new interface and mac address, but not the IP address.

I've attached the logs from me updating the IP address in the initial interface. Let me know if you need anything else.

I really appreciate the help.

Thanks
foremanlogs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants