-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Ansible NetBox Collection version
v3.21.0
Ansible version
I ran into this bug:
#1426
And when I tried to fix it, I discovered that it was fixed in the currently installed version v3.21.0, except I had to force-install it.
Turns out there are two v3.21.0. See this:
ansible_modules$ git log -1 v3.21.0
commit 90a506f43fd94e3f782f5b49858fe36ec9bafbca (tag: v3.21.0, origin/master)
Merge: de3ef6c f013f45
Author: Martin Rødvand <martin@rodvand.net>
Date: Tue Mar 4 23:33:51 2025 +0100
Merge pull request #1389 from netbox-community/devel
Release 3.21
But also see this:

That's also netbox v3.21.0, updated 5 days ago.
See this diff:
--- ./3.21.0-old/collections/ansible_collections/netbox/netbox/MANIFEST.json 2025-06-12 17:01:32.000000000 +0200
+++ ./3.21.0-new/collections/ansible_collections/netbox/netbox/MANIFEST.json 2025-09-14 11:06:30.000000000 +0200
@@ -1,34 +1,34 @@
{
"collection_info": {
"namespace": "netbox",
"name": "netbox",
"version": "3.21.0",
"authors": [
"Mikhail Yohman <mikhail.yohman@gmail.com>",
"Martin R\u00f8dvand <martin@rodvand.net>"
],
"readme": "README.md",
"tags": [
"dcim",
"system",
"ipam",
"networking"
],
"description": "This is a collection of NetBox Ansible modules",
"license": [],
"license_file": "LICENSE",
"dependencies": {},
"repository": "https://github.com/netbox-community/ansible_modules",
"documentation": "https://netbox-ansible-collection.readthedocs.io/en/latest/",
"homepage": "https://github.com/netbox-community/ansible_modules",
"issues": "https://github.com/netbox-community/ansible_modules/issues"
},
"file_manifest_file": {
"name": "FILES.json",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c6fe5bbf0c1519a78417b5b8ea0439c108ba6dd91e930e5cd80ff89d878095c3",
+ "chksum_sha256": "8f36fe05f81ade3dff4fa70c653ea506b253687d955715fd89d95cecd4b6fed7",
"format": 1
},
"format": 1
}
That's not good. At the minimum a bumped version is needed for the new fixes. And maybe even restoration of the old 3.21.0?
Thanks!
Walter Doekes
OSSO B.V.
NetBox version
v4.3.7
Python version
3.11
Steps to Reproduce
ansible-galaxy collection install netbox.netbox=='3.21.0'
and then notice how commits from "the future" (after March 4) are included.
For example:
$ cat ~/.ansible/collections/ansible_collections/netbox/netbox/changelogs/fragments/netbox_circuit_termination.yml
minor_changes:
- netbox_circuit_termination - Add parameters termination_id and termination_type for NetBox 4.2+
That didn't exist until:
ansible_modules$ git log changelogs/fragments/netbox_circuit_termination.yml
commit cd0b654138d018ae2beab4810e69138d5b5d8142
Author: Nick Thompson <nsthompson@users.noreply.github.com>
Date: Sun Mar 30 05:54:10 2025 -0500
And that is after the 3.21.0 release date:
$ git log -1 v3.21.0
commit 90a506f43fd94e3f782f5b49858fe36ec9bafbca (tag: v3.21.0, origin/master)
Merge: de3ef6c f013f45
Author: Martin Rødvand <martin@rodvand.net>
Date: Tue Mar 4 23:33:51 2025 +0100
Merge pull request #1389 from netbox-community/devel
Release 3.21
Expected Behavior
Never should a published version change. Never.
Observed Behavior
There are two v3.21.0 versions on the internet.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working