Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-core-admin-client
Qubes management API client
https://github.com/QubesOS/qubes-core-admin-client
* qubesos/pr/24:
Fixed https://github.com/QubesOS/qubes-issues/issues/2983
3c9e5f66300ce1ca2c1ef5f0a95fc571fca5029f authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
List available VM classes
QubesOS/qubes-issues#3017
0fa374264f98740e15a7bc2e1b3966630b874fb7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>0464a3ebfca9219dc01a3fe47e06409c4d88af85 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fixes QubesOS/qubes-issues#2991
f98ea4a5205b7d919affcc1f19ac7400a9d97d05 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Abort tar process after extracting requested files - do not parse the
archive until the end (pos...
10f6d96e0f7c6d4035f6f48e071bab4db47e7361 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fixes QubesOS/qubes-issues#3011
f7b31a005e68d48e7455e570a2fd60a233a3fdc3 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
This may be confiusing, for example one may think that
`qvm-prefs --unset vmname netvm` will mak...
Include hint to look into dom0 logs
QubesOS/qubes-issues#3016
5b7947b51ac507426e36c1f6fe33a391b97748a3 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Especially for one service call wrapper
QubesOS/qubes-issues#3016
188bc2799bdc77930f656ec0a423cd42887f76fc authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
In such a case (especially when running in dom0) there is nothing to
cleanup.
Fixes QubesOS/qub...
3d2d3a29740014318284b7b86efb9779dc9756d9 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
If no VM output is printed on terminal, those options doesn't make sense
anyway.
Fixes QubesOS/...
596eb3d96c3ac08e475b6f2eed501b1d9bbdda67 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>e64bd839a5ad8eb862c6f08ff9870b8050ad61df authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
QubesOS/qubes-issues#
51a7b4493bbea9ac05752c1d28d146b050a81e76 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-create -l yellow backuptest-1-vm
qvm-create -l yellow backuptest-2-vm
echo -n passphrase >te...
414be0945dc2c98bb7e0ddcf5bffe187faee9705 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
It's available only in python >= 3.5, but we do support tools on python
3.4 (Debian jessie).
Let it behave more like a dict()
7d25f1bf2b6ac43ffd1ebc52faa2492cf8483ad4 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Fixes QubesOS/qubes-issues#2410
7d476f8ba2a4df41b01b99f2d7208a09c975cfe7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add option to uniformly start new DispVM from either VM or Dom0. This
use DispVMWrapper, which t...
This is a wrapper to use `$dispvm` target of qrexec call, just like any
other service call in qu...
When data block is smaller than 4096 (and no EOF is reached), python's
io.read() will call read(...
1d29929ae122e846753813f20f4dfd062cf587d1 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
c4460751a979b01936bd39f4ee2bfa36a3748467 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
02ddbb32c9280ea9cfd4381b28edc4ac2863b394 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
* devel-6:
qvm-ls: fix total VM size reporting
doc: update manpage of qvm-service
tools: q...
* events2:
events: add variable Admin API method name
Allow to restore backup which have miscalculated VMs size, but otherwise
is good.
There is no vm.storage object in qubesadmin module.
7db2ed82eae87f8f99557df6ae1ddba109f84430 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>213760f263d975ed4346b1bdca0fdcbfbbd54c9b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
07cffc340cbd39b4e5a801ef8ef62f5f9f8af2e2 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add support for differnet methods, not only admin.Events. For example
admin.vm.Stats also return...
QubesOS/qubes-issues#1227
80f1dd7d135d9f6dbb18f9e7f6201d86dc3d79d3 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>This really use features, but keep compatibility with Qubes 3.x
Fixes QubesOS/qubes-issues#1227
18153652f3408d2585bc528d2ad86b7ac5bc5f04 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>1000d7902da9317113deda89e394968d3b69bc5e authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do the same as core-admin code.
0fae70be53823222a54757ef4ca0b629ebaa47e8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>5b0c8e84d8f01403fa62c1013329dc006860cb48 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Admin API does not allow this action.
5d0bd4f6dcb130399bae2e7070dcb20753b90a9a authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Sometimes it's useful to access emulated VGA, without rebooting the VM
in debug mode
0e8422cf82f6b03cfb6f34a32797e87f16603bec authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
New qvm-backup tool can either use pre-existing backup profile
(--profile), or - when running in...
This breaks cyclic imports and also allow cleaner separation between
backup make and restore cod...
Very simple one, but also fix reporting errors detected by tests.
c50fc21e449f58ccf483c1ee758fb59085c70394 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Related to QubesOS/qubes-issues#2924
ea47701fe69c13d8835b0be78ef1f7c3d3dc96c6 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>8d884a52e64e2fec0b8a90ab08a7b6207a306837 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
3c9fb8dbacf262b3f3992c746d3886fc3a5f4487 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Since external block devices use Devices API now, it isn't useful
anymore.
QubesOS/qubes-issues...
ae0729fb533ccc804fda8c3e17e0fc3e991c4ce7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
By default restore all of them, not only the ones named "[" or "]"
(which are invalid name).
Fi...
c7363954329be9921019aa838f205f9d4b84ded5 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>6f1c7c2b230c3c6b72fd02f27bb2ee05d9fc65b5 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
QubesOS/qubes-issues#2912
756235d4f310d35b7f5c8f75a8242b673da5d363 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not check for qubesd socket (at module import time), because if not
running at this precise t...
0c0b625a70d0c33dd05c6dd362d1aec3a39a3db7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
* devel-2-qvm-run-1:
Make pylint happy
tools/qvm-run: fix handling EOF
tests: mark qvm-run...
5178029a3c7e7d76a6409d1324178572823f07e5 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
706cecd60d093eab2927d5403d2cb0163d9d558f authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
since qvm-run use multiprocessing.Process now, stdin sent to it is
processed in separate process...
QubesOS/qubes-issues#1214
e7ee06936a36f00ead21fcbdb93e055c0967b607 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Include VM and volume name in data-related error mesages.
QubesOS/qubes-issues#1214
ce2215c6032943d3f39641ba9173457f798a8ac8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
The most important part is fixing resize handling - call size_func
before data_func, but after t...
QubesOS/qubes-issues#2912
96d4a2f06658da5629c34a5161ac1585343bb3d0 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Opt for a simple one-liner error messages, instead of meaningless stack
trace (it's most of the ...
This is needed to write LVM data.
ca399c1a5a64cca5d3da85bdea5e5106ffb553df authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Frontend tool for backup restore code.
Fixes QubesOS/qubes-issues#1214
f0151d73b30b35bae8a124ea14440a3d2344e583 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not silently convert it into 32 or 128 netmask. And also do not
include it actual rule (it's ...
137e1ed877a9c0df52a69b8124dcf317502de634 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Move qubes.xml to be tested into separate files. The backup tests script
is long enouch already.
f1036c27a7bfff7aad42f56fe138085d8f83aec7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
This will be less realistic (private.img of 2MB?!), but makes tests much
quicker. And since tar ...
2ab31e63dc1b440826948869d3660a1a58debb9c authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
API define False value serialized as '' and True as 'True'. Do not
serialize 0 as '' (features) ...
Based on "backup compatibility" tests, which manually assemble the
backup. This is because we do...
The code is mostly copied from core-admin.
QubesOS/qubes-issues#1214
268a3453a9b08c4a7ac9c97ca07a3da4f0c1fd76 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
* qubesos/pr/11:
added helper function updates_vms_status
This tag can't be set from outside of qubesd.
68ed06a2005c3f4639313605c1f6111409348c69 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Launch stdin copy loop in a separate process (multiprocessing.Process)
and terminate it when tar...
qrexec-client-vm process may be already dead, don't treat this as an
error.
When multiple Admin API calls are expected, but not all were made, show
which were missing.
Make it easy to test things listening for events
6b1c6141f66ab7ca0c2b8e64312a15de0f5e15e6 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Fixes QubesOS/qubes-issues#2866
e6149b09cef8a6e2343021596c6d5d619cbf64c6 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>903610310257c66bfd64e760d6025381fa3f8d6b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
VMs can have runtime dependencies - for example it isn't possible to
shutdown netvm used by some...
1. Handle timeout externally - using asyncio.wait_for.
2. Add support for waiting for multiple VMs.
43ef244eaaaa81171e23a977cd5387723efd0ee1 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
8f7b0009db9082159be2d90469cd369716624155 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
The code is long enough to warrant separate function (suggested by
pylint).
qrexec-client-vm non-zero exit code means policy have denied the call.
Treat this exactly the sa...
d8f018eb95fdfbd0df356749725b02aa62122c32 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Cloned VM have new UUID
ade5083e5e508b3f4b89acc36bb4d247cde9c8d1 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Split clone to two Admin API calls - one to the source volume, then
other to destination.
Follow the API removal
QubesOS/qubes-issues#2869
627aebf2cd8a4adfc3611e90941c76cbf3fa01f1 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Firewall policy is now hardcoded to 'drop'. Keep the property, so anyone
trying to assign it wil...
Allow programming different responses for the same request when called
multiple times. This is u...
9174d8c3782c2088db713900816b1433d83aef41 authored over 7 years ago by Marta Marczykowska-Górecka <[email protected]>
Do not close event loop in utility function - handle it only in main().
For this reason, change ...
Don't fail the whole process when "just" appmenus import fails.
But if data import fails, remove...
asyncio.create_subprocess_exec expects program and arguments directly,
not as a list.
stdout there is not a tty, which change default value of filter_esc.
c545c95660cff9cb0260f743d9d0835d63d57f7f authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
* devel-4:
tools/qvm-start-gui: multiple fixes
vm: raise CalledProcessError instead of Qubes...
* devel-3:
Implement VM clone as create + copy data+metadata
storage: make Volumes sortable
...