Skip to main content

Runtime and lock management based on Postgres for VmShepherd

Project description



Provides plugin for VmShepherd - driver allows to store runtime data and lock management in postgres database.


Simply use pip.

pip install vmshepherd-runtime-postgres-driver

Library requires (as well as VmShepherd itself) python 3.6 or later.


Install package (in the same environment as VmShepherd) and configure VmShepherd like:

# ...

  driver: PostgresDriver
  host: (hostname -f)
  database: vmshepherd
  user: vmshepherd
  password: vmshepherd

# ...

Available config options

Name Type Description Default value
host string Postgres DB host.  
port integer Postgres DB port. 5432
database string Postgres DB name.  
user string Postgres auth user.  
password string Postgres auth password.  
pool_size integer Postgres connection pool size. 2


Run tests:

make test

Create local DB in docker and start vmshepherd:

make db
make develop


1.2.1 (2019-08-26)

  • bugfix: set_preset_data - immutable arguments

1.2.0 (2019-08-23)

  • Keep list vms with state in runtime

1.1.0 (2019-08-21)

  • refactoring - moved logic to sql procedures

1.0.0 (2018-06-10)

  • Public release

x.y.z (2018-xx-yy)

  • Internal devel

0.0.1 (2018-03-15)

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vmshepherd-runtime-postgres-driver, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size vmshepherd-runtime-postgres-driver-1.2.1.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page