Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-core-admin
Qubes component: core-admin
https://github.com/QubesOS/qubes-core-admin
* 20171107-storage:
api/admin: add API for changing revisions_to_keep dynamically
storage/fi...
* 20171107-tests-backup-api-misc:
test: make race condition on xterm close less likely
tests...
9519f158ab68d3317cc69d73e68df7d336339d53 authored about 7 years ago
* qubesos/pr/159:
qubes/vm: Improve stopped event handling
* qubesos/pr/156:
tests: Add unit tests for pvh virt_mode
Don't allow attached PCI devices a...
edae7a16b96702adb2e3c531ea563a23deda2ea8 authored over 7 years ago
currently it takes 100ms+ to determine the default pool every time,
including subprocess spawnin...
d183ab1c183581e42223399f3644d27186900dd6 authored over 7 years ago
it's unused and has a netid property with name different than key
that would cause issues in the...
b297ecbcf156254fde8f21d2df3edd409c055da4 authored over 7 years ago
Causes an unnecessary exception
9cc86b3be2a424e1bead99c59bbd2fd8ba19d2ec authored over 7 years ago
xterm is very fast on closing when application inside terminates. It is
so fast with closing on ...
07d4f4b3403f4dc6ff15db76a0eacc854c565136 authored over 7 years ago
When writing process returns an error, prefer reporting that one,
instead of other process (whic...
It is no longer supported.
11fd2cf1150a1565657b92ffe681abc2773881a2 authored over 7 years ago
This object is used solely for manipulating qubes.xml for the backup. Do
not open any connection...
All policy keywords needs to be expanded before sending it to
confirmation dialog. $dispvm was a...
Do not try to access that particular object (wrapper) when it got
undefined. If anyone want to a...
b5e07238a0b94695aec97b982d70748430ee77ed authored over 7 years ago
Those "errors" are already properly handled, and if necessary logged
independently by appropriat...
Besides converting itself, change how the test verify restore
correctness: first collect VM meta...
Point to system logs for more details. Do not include them directly in
the message for privacy r...
The service needs to be started after qubesd and qubes-qmemman to be
able to start domains. The ...
This one pool/volume property makes sense to change dynamically. There
may be more such properti...
Do not check for accepted value only in constructor, do that in property
setter. This will allow...
But still show errors, if occurs.
0327b6cd9814e80662ba5a44804b097bb0f0ff05 authored over 7 years agoFixes QubesOS/qubes-issues#3257
439d9b87ff02f9a2f3aa77ad7e96d65cb24b1406 authored over 7 years ago
Force creating sparse file, even if source volume is not such file (for
example block device).
...
f3455b5d99cc79c6baa9c6032c8b729b76b1a9a4 authored over 7 years agoQubesOS/qubes-issues#3240
f18f4c9bff57b74ec444086ae599d8555d2860cb authored over 7 years ago
Add Pool.size and Pool.usage to the API. Implement them for LVM and File
pools. Add appropriate ...
c695f3268c7ac34c65e8023655afec6f1c979f4c authored over 7 years ago
The previous version did not ensure that the stopped/shutdown event was
handled before a new VM ...
682d9503ee5f2cacca55eb09bb742d10472cdc34 authored over 7 years ago
* tests-20171020:
tests: fix asyncio usage some more places
tests: fix reporting in network ...
gui_memory_pinning tests finally works. Also, fix DispVM and private
volume resize tests.
Do not trash stdout with VM's command output. Log it as part of
(potential) failure message.
Second tests, for actual events, not storage handling done by its
handler.
cc @HW42
QubesOS/qu...
c3430fe5f67d5c9928a57dd35e622e4173072ef9 authored over 7 years agoRevert change introduced in cbc5dbb9b154ceadf8bd1ed86c3c1f15c668a687
71fc5217f7e9a12842c7ac54a0d4276103962242 authored over 7 years agoCheck property-related events, including their arguments.
96f2e503dbb98d31bec70e3378584a89260d9664 authored over 7 years ago
If domain got removed during the tests (for example DispVM), vm.close()
wouldn't be called in cl...
1. Fire both property-pre-del:netvm and property-del:netvm - those
events should be fired in pai...
It is used in some places, for example attaching devices.
Fixes QubesOS/qubes-issues#3054
4500c4dcab67bbd55909ba5c9ed0148496e82063 authored over 7 years agoFixes QubesOS/qubes-issues#3195
433430884d124cb428a8b28506e39b3e2ce5779c authored over 7 years ago
If there was some netvm set, unset it first (same as with ordinary set).
Otherwise it will try t...
oldvalue should contain the old value, even if it was default one. Same
as in property-(pre-)set...
85c3368a0dc7dba9fb010504de0b13591d3b42a8 authored over 7 years ago
8f1bfa65f86611dccac26895884e61b243e96eea authored over 7 years ago
Fixes QubesOS/qubes-issues#3197
4809c16e08cf155c45a62a29304aea19b3ffda30 authored over 7 years ago
Allow to get default value even it isn't set currently. This will allow
(G)UI to present better ...
Check resize on each template separately, because it involves VM's
scripts (either qubes.ResizeD...
- clone all features, not just qrexec (especially include 'gui')
- do not leak VM reference on f...
- make it clear that failed qubes.ResizeDisk service call means the need
to resize filesystem ma...
Expired rules are skipped while loading the firewall. Do that also when
such rules expired after...
ae473a8c26e274a94f4a886c77b199b10275c7b6 authored over 7 years ago
* bug3164:
tests: add regression test for #3164
storage/lvm: make sure volume cache is refre...
Master branch is no longer subject to rebases.
Also, update links.
This is a race condition, so to make it more likely to fail (if it's
broken), make some things m...
Even if start/stop fails, still refresh the cache. The failed operation
might still modified som...
This function is supposed to raise an exception if something is wrong,
not just return False. Do...
In some cases, it may happen that new volume (`self._vid_snap`) does not
exists. This is normall...
See this thread for reasoning and acceptance from contributors:
https://groups.google.com/d/topi...
Just commenting out macro isn't enough - % sequences are still
processed. Remove it completely, ...
4a84d5b2225f7e92bc179629a3ca7f9f7e2447e3 authored over 7 years ago
67c06eb428a5c0b2fde61722611e4c91aa52607c authored over 7 years ago
ec4c7d726313dd00f3405291f96387a4e6ac2497 authored over 7 years ago
* qubesos/pr/154:
Add basic PVHv2 support
This applies to qvm-template-postprocess, which at the beginning try to
resize root volume to ap...
ede266ca3d801d027a24d4136ea7f5edf1212fea authored over 7 years ago
Those should be called as root, not default user.
Thanks @jpouellet for debugging this.
Fixes Q...
Be consistent with other parts of the Admin API. Especially ...Attach
accept "standard" boolean ...
af60fbb25df187b8fe12609391d911a3dd324905 authored over 7 years ago
There is no technical need for having this set to anything. If set to
None, DispVM startup reque...
Allow to use custom action - for example with 'target=' argument.
e0be7861f9b6fa50920ac7e7c043fb367e67bac4 authored over 7 years ago69905508846e2fe84b9855241c6926a1cad16b46 authored over 7 years ago
- Use proper features/services names (updates proxy test).
- Fix logic error in wait_for_window....
Since those do not have specific prefix (test-) compare list of them
with original qubes.xml
lvextend uses MiB, not MB.
6091bbbe88d9c6c72741e697ecc8a48cf58f0d9f authored over 7 years ago
* fixes-20170929:
vm: do not start QubesDB watch instance multiple times
vm: report storage....
c583cf5190c74b9859b3be52bc8b0460012b57ce authored over 7 years ago
vm.create_qdb_entries can be called multiple times - for example when
changing VM IP. Move start...
Do not use self.fail when handling exception - this will keep exception
object referenced, which...
- Update feature name for enabling network-manager.
- Fix error reporting
Having testvm1 variable for "vm2" is really confusing.
fdf780aad034302d26a9f5fb12d10d79fe558124 authored over 7 years ago8b34b9a5e465a7e8a1b82518889a02f09d2b40f5 authored over 7 years ago
- Prefer instance attributes over local variables - the former ones do
not leak into traceback o...
- Fix str/bytes
- Call skipTest as early as possible - before doing any setup
- Fix networking t...
- Add missing loop.run_until_complete() calls.
- Convert subprocess.Popen to asyncio.create_subp...
There is no more significant difference between PV and HVM. VMs are HVM
by default anyway. More ...
/var/tmp/test-pool should normally be removed by previous test cleanup,
but do not fail next tes...
The most important change is doing vm.close() when removing domain -
this means it wouldn't be c...
Use just created storage pool for tests, instead of system default
(which depends on system conf...
Don't crash when directory to cleanup do not exists.
d8ff85eee66a9a1792c83ac46c7c86fe553bb8e4 authored over 7 years agoSomething more complex than VM connecting to itself.
3075767bb87b342e7e981e3f57f89e1f43710d36 authored over 7 years ago
Catch exception there and log it. Otherwise asyncio complains about not
retrieved exception. The...
Place comment describing self.app near self.app definition.
97e3dced92b3a3776ab99e47714601a14e1b9f79 authored over 7 years agoIt's `import_volume`, not `clone`.
34125d915bdeedcdcfdfa45073b82b7188820091 authored over 7 years agoCheck VM properties and global properties (all of them).
Fixes QubesOS/qubes-issues#3128
9e8c40867b3517eecd4493aa5a3ee51dd114b13f authored over 7 years ago
Allow to get domain class as a property, not using admin.vm.List call.
This makes it unnecessary...
If dispvm.auto_cleanup is set, cleanup it also after failed startup
(like not enough memory).
F...
e38e2275039d65876d35e717746fc89b2b17aa6a authored over 7 years ago
Reduce strange code in BaseVM (accessing non-existing self.name) and
code duplication.