github emersonfelipesp/netbox-proxbox v0.0.33.post3
netbox-proxbox 0.0.33.post3

one hour ago

Version 0.0.33.post3

Summary

This maintenance release makes OpenBao credential storage strictly optional.
With Legacy Fernet-encrypted local storage selected, netbox-proxbox no longer
imports any OpenBao integration code when it reads or writes credentials or
runs a synchronization. netbox-proxbox 0.0.33.post3 stays paired with
proxbox-api 0.0.33.post2. There is no backend change and no database
migration.

Legacy Fernet storage no longer depends on OpenBao code

Earlier releases imported the OpenBao integration module before they checked
which credential storage backend was selected. On an installation with Legacy
Fernet storage selected, a missing or broken OpenBao integration module could
therefore fail every synchronization job before it started, for example:

ModuleNotFoundError: No module named 'netbox_proxbox.integrations.openbao_single'

Backend selection now lives in a vendor-neutral module,
netbox_proxbox/credential_storage.py, which never imports netbox_openbao or
any OpenBao integration module. Every credential accessor consults it first and
loads OpenBao code only when OpenBao is the effective backend. This covers:

  • the proxbox-api backend key on FastAPI endpoints, which synchronization uses
    to authenticate to proxbox-api;
  • PBS, PDM, and Firecracker host API tokens;
  • Proxmox endpoint passwords, API tokens, and endpoint SSH secrets, including
    the credentials sent when an endpoint is registered with proxbox-api;
  • node SSH credentials;
  • VM cloud-init credential state.

Storage selection itself is unchanged. An explicit selection on the endpoint or
in the plugin settings never falls back. Automatic selects OpenBao only when
the netbox-openbao plugin is enabled, and selects Legacy Fernet storage
otherwise. Installations that use OpenBao keep the same behavior.

Regression guards

Two automated guards keep OpenBao optional:

  • A static check rejects any model code path that imports OpenBao code before
    it has decided that OpenBao is the selected backend.
  • A real-NetBox test blocks every OpenBao module and then reads and writes each
    credential type and builds the proxbox-api authentication headers under both
    explicit and Automatic Legacy Fernet selection.

Database migrations

There is no migration in this release. 0109_guest_uid_identity remains the
schema tip.

Upgrade

  1. Keep proxbox-api at 0.0.33.post2.
  2. Install netbox-proxbox 0.0.33.post3.
  3. Run the normal collectstatic command and restart every deployment-owned
    NetBox application and worker process, including RQ workers. A worker that
    keeps running across a plugin upgrade continues to execute the old code.

Compatibility

NetBox netbox-proxbox proxbox-api proxbox-api internal netbox-sdk (REST only) proxmox-sdk
4.5.8-4.7.0 GA v0.0.33.post3 v0.0.33.post2 v0.0.13 v0.0.16.post1

The supported NetBox range remains 4.5.8 through 4.7.99.

Don't miss a new netbox-proxbox release

NewReleases is sending notifications on new releases.