Skip to main content

nova-bhyve

An OpenStack Nova compute driver that runs instances as bhyve virtual machines on FreeBSD.

Status

Features

  • Direct VM management through bhyve/bhyvectl
  • Instance root disks on ZFS
  • Ephemeral and swap disks as sparse zvols
  • Supports booting from qcow2 and raw Glance images
  • Glance images cached as zvols with zero copy root disk cloning
  • VNC console integration through nova-novncproxy
  • Config drive for instance metadata and user data
  • Cold attach of cinder volumes, as local zvols or remote over iSCSI (using os-brick-freebsd)
  • Boot from cinder volumes, local or over iSCSI
  • Cold attach of network interfaces
  • Instance snapshot and upload to Glance
  • Nova image cache manager support to prune cache when no longer needed
  • Resize on the same host, and cold migration between hosts using zfs send over ssh

Limitations

  • Live migration is not supported yet by bhyve, so is not implemented in this driver
  • Ephemeral and swap disks are attached unformatted, the guest has to create the filesystem or swap area
  • A volume extended while attached shows its new size to the guest after the next start

Host requirements

zfs allow delegation is needed for the dataset holding images and instances.

A devfs.rules entry is needed to grant the group running Nova read/write access to the zvol device nodes.

You must configure volmode=dev on the dataset so that the host does not publish guest partition tables into its own /dev.

To remote attach cinder volumes, the nova host needs iscsid running and the os-brick-freebsd package installed.

Configuration

Example configuration for Nova:

[DEFAULT]
compute_driver = bhyve.driver.BhyveDriver
allow_resize_to_same_host = True

[bhyve]
zfs_dataset = zroot/nova
# migration_ssh_config = /usr/local/etc/nova/ssh_config
# migration_staging_path = /var/db/nova-migrate/instances

Migration between hosts

To migrate between hosts, the nova user needs send added to its zfs allow delegation and an ssh key. See the migration_ssh_config configuration opt.

The user on the receiving host needs create,destroy,mount,receive delegated on the dataset and write access to migration_staging_path.

Additionally you can lock down this user to only execute the receive command, for example (in authorized_keys):

command="nova-bhyve-receive --config-file /path/to/nova.conf",restrict ssh-ed25519 AAAA...

Metadata

Release files for nova-bhyve 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nova-bhyve 0.9.4
File Size Uploaded Provenance Actions
nova_bhyve-0.9.4.tar.gz 33.4 kB Without provenance Details for nova_bhyve-0.9.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nova-bhyve 0.9.4
File Interpreter ABI Platform Actions
nova_bhyve-0.9.4-py3-none-any.whl Python 3 none any Details for nova_bhyve-0.9.4-py3-none-any.whl

Total release size: 73.2 kB

Release files / nova_bhyve-0.9.4.tar.gz

Download URL nova_bhyve-0.9.4.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
80f3fd06e93bfca8981386fcf0a60f33ab100d3ae41d52de66d6df1834ea5dd1
BLAKE2b-256 checksum
How to use checksums
d7387ff6f3081758bf005b59925f6053da96bf8089a047331ff23887662c2e5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nova_bhyve-0.9.4-py3-none-any.whl

Download URL nova_bhyve-0.9.4-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72bd00932440618a007e52c9d4ca3da3558f0385c08baa6466257a88034ec39c
BLAKE2b-256 checksum
How to use checksums
bbd69f09a98a047140cdd4623c97ba4e2fd825b97bf487c20017159d7bf3c40d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nova-bhyve 0.9.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page