209 Commits

Author SHA1 Message Date
71e4d0b32a Bump version to 0.9.28 2021-07-19 09:29:34 -04:00
15d92c483f Bump version to 0.9.27 2021-07-19 00:03:40 -04:00
602093029c Bump version to 0.9.26 2021-07-18 20:49:52 -04:00
bd7a773d6b Add node log following functionality 2021-07-18 20:37:53 -04:00
a088aa4484 Add node log functions to API and CLI 2021-07-18 18:54:28 -04:00
401f102344 Add serial BIOS to default libvirt schema 2021-07-15 10:45:14 -04:00
75fb60b1b4 Add VM list filtering by tag
Uses same method as state or node filtering, rather than altering how
the main LIMIT field works.
2021-07-14 00:59:20 -04:00
9ea9ac3b8a Revamp tag handling and display
Add an additional protected class, limit manipulation to one at a time,
and ensure future flexibility. Also makes display consistent with other
VM elements.
2021-07-13 22:39:52 -04:00
27f1758791 Add tags manipulation to API
Also fixes some checks for Metadata too since these two actions are
almost identical, and adds tags to define endpoint.
2021-07-13 19:05:33 -04:00
c0a3467b70 Simplify VM metadata reads
Directly call the new common getDomainMetadata function to avoid
excessive Zookeeper calls for this information.
2021-07-13 19:05:33 -04:00
2e9f6ac201 Bump version to 0.9.25 2021-07-11 23:19:09 -04:00
8c975e5c46 Add chroot context manager example to debootstrap
Closes #132
2021-07-11 23:10:41 -04:00
551bae2518 Bump version to 0.9.24 2021-07-09 15:58:36 -04:00
7082982a33 Bump version to 0.9.23 2021-07-05 23:40:32 -04:00
37cd278bc2 Bump version to 0.9.22 2021-07-05 14:18:51 -04:00
47a522f8af Use manual zkhandler creation in Benchmark job
Like the other Celery job this does not work properly with the
ZKConnection decorator due to conflicting "self", so just connect
manually exactly like the provisioner task does.
2021-07-05 14:12:56 -04:00
a69105569f Add node PVC version data to Node information
Allows API client to see the currently-active version of the node
daemon.
2021-07-05 09:57:38 -04:00
f12de6727d Adjust logo slightly and add debug state 2021-07-02 02:32:08 -04:00
e94f5354e6 Update startup messages with new ASCII logo 2021-07-02 02:21:30 -04:00
61465ef38f Add profiler to several other functions in API 2021-07-02 01:53:19 -04:00
20542c3653 Add profiler to cluster status function 2021-07-01 17:35:29 -04:00
fe0a1d582a Bump version to 0.9.21 2021-06-29 19:21:31 -04:00
b05c93e260 Fix bad return from initialize call 2021-06-29 18:31:56 -04:00
aae9ae2e80 Fix incorrect handling of overwrite flag 2021-06-29 18:22:01 -04:00
4e2a1c3e52 Add worker wrapper to fix Deb incompatibility
Celery 5.x introduced a new worker argument format that is not
backwards-compatible with the older Celery 4.x format. This created a
conundrum since we use one service unit for both Debian 10 (4.x) and
Debian 11 (5.x). Instead of worse hacks, create a wrapper script to
start the worker with the correct arguments instead.
2021-06-28 12:19:29 -04:00
93c2fdec93 Swap order of networks and disks in provisioner
Done to make the resulting config match the expectations when using "vm
network add", which is that networks are below disks, not above.

Not a functional change, just ensures the VM XML is consistent after
many changes.
2021-06-21 21:59:57 -04:00
13cc0f986f Implement SR-IOV VF config set
Also fixes some random bugs, adds proper interface sorting, and assorted
tweaks.
2021-06-21 18:40:11 -04:00
ae480d6cc1 Add SR-IOV listing/info endpoints to API 2021-06-21 17:12:45 -04:00
a697c2db2e Add SRIOV PF and VF listing to API 2021-06-21 01:42:55 -04:00
d2bcfe5cf7 Bump version to 0.9.20 2021-06-14 18:06:27 -04:00
d2f93b3a2e Fix call to celery 2021-06-13 14:56:09 -04:00
01c82f5d19 Move backup and restore into common 2021-06-13 14:25:51 -04:00
ae269bdfde Add scripts to generate ZK migration JSON 2021-06-09 00:04:38 -04:00
cf96bb009f Bump version to 0.9.19 2021-06-06 01:47:41 -04:00
3eedfaa7d5 Collect database model error 2021-06-03 00:22:48 -04:00
7de7e1bc71 Properly handle cluster networks in provisioner 2021-06-02 15:57:46 -04:00
34ef055954 Adjust VNI column for provisioner to text
Allows the storing of the textual cluster labels (e.g. 'upstream') as
valid VNI values in the template.
2021-06-02 15:45:22 -04:00
a48bf2d71e More gracefully handle none selectors
Allow selection of "none" as the node selector, and handle this by
always using the cluster default instead of writing it in.
2021-06-01 11:13:13 -04:00
33a54cf7f2 Move configuration keys to /config tree 2021-06-01 10:48:55 -04:00
a1969eb981 Allow overwrite during init command 2021-05-31 00:12:28 -04:00
c7992000eb Explicitly output JSON cluster data 2021-05-30 23:50:42 -04:00
a1e8cc5867 Skip patroni tree during backups 2021-05-30 23:39:37 -04:00
ac0c3b0ec9 Ensure temp_dir exists before starting
Otherwise some failures throw the wrong error.
2021-05-30 16:04:38 -04:00
60db800d9c Use full ZKHandler in provisioner
Required due to references to self from Celery that are replaced by the
ZKConnection self instance.
2021-05-30 15:59:37 -04:00
73407e245f Move startup code to an entrypoint function
Prevents further issues with startup.
2021-05-30 00:18:04 -04:00
25f80a4478 Move API version string location to Daemon
Prevents a startup bug with pvcapid-manage.py.
2021-05-30 00:11:24 -04:00
163015bd4a Port remaining helper functions to ZKConnection 2021-05-29 00:30:42 -04:00
49bbad8021 Port provisioner to ZKConnection 2021-05-29 00:26:15 -04:00
2c0bafc313 Port benchmark to ZKConnection 2021-05-29 00:24:53 -04:00
1963f2c336 Convert OVA helper to ZKConnection 2021-05-29 00:22:06 -04:00