Version 0.0.33.post5
Summary
This maintenance release completes the alignment of the plugin with the
proxbox-api 0.0.33.post3 contract and corrects one model definition in the
plugin settings. netbox-proxbox 0.0.33.post5 stays paired with proxbox-api
0.0.33.post3. There is no backend change and no new database migration.
Template build request and response match the backend
The REST action that starts a cloud image template build sends its validated
body to the proxbox-api template build route. The request serializer had
drifted from the backend request model, which rejects unknown keys. The
serializer always sent three keys that the backend does not define, so the
backend rejected every request. It also sent storage together with
vm_storage, did not offer two of the backend provider choices, and did not
expose several backend fields.
The request serializer is now an exact mirror of the backend request model:
the same field names, types, choices, and limits. Every field is optional, as
it is in the backend. The plugin sends only the fields that the caller set,
and the backend applies its own defaults. The response serializer matches the
backend response model, including the execution summary, the diagnostics, and
the optional sensitive preview. A contract test holds the backend field set as
a fixed table and fails when the serializer differs from it.
Firewall options use the backend field set
- The firewall options preview compared a flat list of keys with the nested
shape that the backend returns, so it reported differences on objects that
were in sync. The preview now compares the same shape on both sides and
ignoreslog_ratelimit, which the backend does not report. - A push of node-zone firewall options no longer sends
policy_inand
policy_out. The Proxmox node options route does not define them.
Datacenter and virtual machine option writes are unchanged.
OpenBao SSH fallback requires a recorded host fingerprint
The device OpenBao SSH fallback returned an empty host fingerprint. The
backend hardware discovery requires a pinned SSH host key and rejected the
credential. The fallback now sends the host fingerprint recorded on the
service endpoint or the credential. When no host fingerprint is recorded, the
plugin stops with a specific error. It never sends an empty value and never
uses the fingerprint of the client key in its place.
Unused request header removed
The plugin no longer sends Idempotency-Key to the cloud provision and tag
routes, which do not read it. The operational verb routes read the header and
still receive it.
The session concurrency setting matches its migration
Version 0.0.33.post4 added the plugin setting
session_acquire_concurrency with migration
0110_legacy_field_visibility_and_session_concurrency. The migration records
a database default of 8 for the new column. The model field did not declare
that database default.
The column was created correctly and the setting worked. But Django compared
the model with the migration and reported a pending change,
Alter field session_acquire_concurrency on proxboxpluginsettings, each time
NetBox checked for missing migrations. An installation that treats that check
as an error could not finish an upgrade.
The model field now declares db_default=8. The model and the migration are
equal, and manage.py makemigrations netbox_proxbox --check --dry-run reports
no change. Migration 0110 is not edited, and no new migration is added.
A new regression test compares the model field with the migration operation
option by option. It fails when one side has an option that the other side
does not have.
Upgrade
Install netbox-proxbox 0.0.33.post5 over 0.0.33.post4 and restart NetBox. No
migration runs. proxbox-api 0.0.33.post3 stays the required backend; no
backend upgrade is necessary.
Compatibility
| NetBox | netbox-proxbox | proxbox-api | netbox-sdk (backend internal, REST only) | proxmox-sdk |
|---|---|---|---|---|
| 4.5.8-4.7.0 GA | v0.0.33.post5 | v0.0.33.post3 | v0.0.13 | v0.0.16.post1 |
The supported NetBox range remains 4.5.8 through 4.7.99.