Version 0.0.33.post4
Summary
This maintenance release makes every Proxbox surface on a core NetBox object
appear only on objects that are related to Proxbox, and it aligns the plugin
with the proxbox-api request and response contract. netbox-proxbox
0.0.33.post4 is paired with proxbox-api 0.0.33.post3. Deploy the backend
first. The release adds one database migration,
0110_legacy_field_visibility_and_session_concurrency.
Proxbox tabs, buttons, and panels only on related objects
NetBox shows a registered tab on every object of a model. Earlier releases
registered the Proxbox tabs without a condition, so the Storages and
Proxmox Summary tabs appeared on every cluster, and the Backups,
Snapshots, Task History, Replications, Cloud-init, Proxmox
Config, HA, and Console tabs appeared on every virtual machine. This
included clusters and virtual machines that another source owns, for example a
VMware cluster imported by a different synchronization tool.
One rule now decides all of them. A cluster is related to Proxbox when it has
a Proxmox cluster record, an endpoint that names it, a cluster sync state, or
a Proxmox storage. A virtual machine is related when it has a sync state, a
Proxmox intent, a cloud-init record, or when it belongs to a Proxbox cluster.
A name match is never evidence, and a state that cannot be read hides the
surface. A tab that lists plugin-owned rows stays visible while such rows
exist, so recorded data is not hidden.
The Sync Now and Set Proxmox intent buttons and the Proxmox panel on
the virtual machine page follow the same rule. Set Proxmox intent also no
longer appears on a virtual machine that a synchronization has already
reflected from Proxmox. See
Surfaces on Core Objects.
Empty values are not displayed
The Proxmox panel on the virtual machine page omits each row that has no
value. Custom fields that an earlier Proxbox release created, and that still
exist on an upgraded installation, are now displayed only when they hold a
value: the migration changes their display setting from "always" to "if set".
The migration changes only a field whose name and type match a field that
Proxbox created. It does not change a hidden field or a field of the operator.
Backend contract alignment
A field-by-field comparison of the plugin and the backend found points where
one side sent or stored a value that the other side did not read.
- Intent payload keys. The intent builders sent
memoryand, for LXC,
name. The backend schema names themmemory_mibandhostname, so a
memory change or an LXC rename was dropped. The builders now send the schema
names, and an LXC update is described with the LXC payload. - Session concurrency setting. The backend reads
session_acquire_concurrencyfrom the plugin settings. The plugin now
stores and serves it (default 8, range 1 to 64) on the plugin settings page. - Snapshot synchronization. The individual snapshot request no longer
sends astorage_nameparameter that the backend does not define. - Actor of a Proxmox write. The start, stop, snapshot, and migrate actions
and the pending-deletion tag requests now send the operator in
X-Proxbox-Actor, so the backend audit record names the operator. - proxbox-api
0.0.33.post3reads the storage retention fields under the
names the plugin emits, honors the NetBox branch on every synchronization
route, and uses strict parent-scoped lookups.
OCI testing appliance build
The appliance image installs the exact plugin and backend versions through a
helper that retries only while the package index does not yet list the new
release. A release build no longer needs a manual re-run.
Upgrade
- Deploy proxbox-api
0.0.33.post3. - Install netbox-proxbox
0.0.33.post4. - Run
manage.py migrate. Migration
0110_legacy_field_visibility_and_session_concurrencyadds one settings
column and updates the display setting of legacy custom fields. It does not
remove data, and its reverse step keeps the display setting. - Run
collectstaticand restart every NetBox application and worker
process.
Compatibility
| NetBox | netbox-proxbox | proxbox-api | netbox-sdk (backend internal, REST only) | proxmox-sdk |
|---|---|---|---|---|
| 4.5.8-4.7.0 GA | v0.0.33.post4 | v0.0.33.post3 | v0.0.13 | v0.0.16.post1 |
The supported NetBox range remains 4.5.8 through 4.7.99.