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

Merge remote-tracking branch 'qubesos/pr/186'

* qubesos/pr/186:
tests: check if udev do not touch VM's volumes

e577de7d490016336b09115d759cadc0ee7585d9 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/185'

* qubesos/pr/185:
vm: remove doc for non-existing event `monitor-layout-change`
vm: include ...

74eb3f320833b454894b18ae1a1c65206a983ccd authored about 7 years ago
rpm: require new enough libvirt for pci permissive setting

2041e6f01c9f32e6dfb207d89e0371ec06f86861 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/184'

* qubesos/pr/184:
pci: Add permissive options

Fixes QubesOS/qubes-issues#3476

9bd75d78080d080c896324adfdde45709ca5afc6 authored about 7 years ago
Don't fail create/clone if /var/lib/qubes/TYPE/NAME/ exists

4ae854fdaf5e091c0e75aa8490ca9f533ed9a1bd authored about 7 years ago
Make 'qvm-volume revert' really use the latest revision

admin.vm.volume.ListSnapshots returned volume revisions in undefined
order, but 'qvm-volume reve...

fe77b0ec85e8b9b78814392e5b6bd0cb2303d25d authored about 7 years ago
Fix wrong mocks of Volume.revisions

It's a dict, not a list.

bf1f1ac5ff0d8f656088af82f52b5970dac11dd4 authored about 7 years ago
tests: check if udev do not touch VM's volumes

Based on shell version by @rustybird

ab15d4362243cc9ea0a89e99bc184e48c589d113 authored about 7 years ago
app: define values for default_dispvm=None, updatevm=None

If those VMs are not set, default to None, instead of throwing
AttributeError.

Fixes QubesOS/qu...

91639d7933755a68d0d521f290a057ca33323736 authored about 7 years ago
version 4.0.18

206d3f136d40e5ed8be46fe0c781cda4eb2611cf authored about 7 years ago
Merge branch 'devel-20180115'

* devel-20180115:
tests: update PCI devices tests for core3 API
tests: make tests.extra.VMWr...

2691efda8e424ae530dc3ae0ae89019764803dd0 authored about 7 years ago
pci: Add permissive options

132f0608aa28c733ffb49fe7516bf73c7a9765e2 authored about 7 years ago
version 4.0.17

faaebcc26814d3c667e837491aea9d003577d5a5 authored about 7 years ago
replace console entry points with just importing the module

importing pkg_resources and looking up entry points wastes 100ms+
of time, which is totally unne...

5ea8eda3ea3d2e6c003e3c736763529e10dfd9b8 authored about 7 years ago
version 4.0.16

e9cc6ee3db759f18e8780cd8d7efe6cc731b5ada authored about 7 years ago
tests: update PCI devices tests for core3 API

- use asyncio where needed
- attach now takes DeviceAssignment, not DeviceInfo
- PCI ident have ...

b245bbca6ff53d67f3dd117f6e90deb2133626bc authored about 7 years ago
tests: make tests.extra.VMWrapper hashable

Allow using VMWrapper as dict key, same as QubesVM.

edbfd3843e1189757f7f20af5c873ad0a3b2ce94 authored about 7 years ago
qubesvm: do not try to define libvirt object in offline mode

The idea is to not touch libvirt at all.

dce3b609b479fb979ebd77a59b186f74e2a4153a authored about 7 years ago
qmemman: fix early crash

clear_outdated_error_markers crashes if memory stats are not retrieved
yet. In practice it crash...

ca41ca66cdcb04f260bd6bee74bd1a65f19dc6fb authored about 7 years ago
qmemman: do not close stdout/stderr in daemon mode

Allow exceptions to be logged to syslog/journald

46177c7c9f18dc42f462f7aca9d0f14ca1fec33c authored about 7 years ago
tests: one more missing virt_mode=hvm

f2b9be360735d08bf052e79fb0b418e3b1e36af3 authored about 7 years ago
qubesvm: PVH minor improvements

- use capital letters in acronyms in documentation to match upstream
documentation.
- refuse to ...

7905783861feca067c985c23b59a2e430127b4b0 authored about 7 years ago
tests: minor fixes

- FD leak
- switch to xterm to test also on minimal template

4d59f883a0f2323c24b6e7347644a6d48b0808da authored about 7 years ago
tests: add run_service and qrexec_policy wrappers to ExtraTestCase

Provide same API as in core2, especially without exposing asyncio
usage. This allows qubes-usb-p...

06e82eccb0d4200742109ab78dc4a6c5a1efdcca authored about 7 years ago
tests: clear PCIDevice cache after each test

This is yet another place where references to VM objects contribute to
object leaks.

c17b634913628e655a9b447613d5ef679b833a87 authored about 7 years ago
block-snapshot: fix ShellCheck warnings (3/3)

These were the remaining warnings that only affected the newer
block-snapshot in this git repo.

8506547923d16fb9b1c905be76cb1f9725513dc7 authored about 7 years ago
block-snapshot: fix ShellCheck warnings (2/3)

Forward-ported from qubes-core-agent-linux:

commit aad6fa6d190d24393e326a4c2ff7ebc3b5921641...

50f35b3ec1a932f6bfb7a16c6de668057947b005 authored about 7 years ago
block-snapshot: fix ShellCheck warnings (1/3)

Forward-ported from qubes-core-agent-linux:

commit e95b6f8d0357ac9a32fb7e35e5734781460d8f24...

45a06e7fad2c7914c89ac658eaa6269d3642a118 authored about 7 years ago
block-snapshot: remove trailing spaces

Forward-ported from qubes-core-agent-linux:

commit 2eb0ed2be14350d6df1fce2af855805133a4a416...

342c36ed36c5739b9db5189045d4f816fe36af91 authored about 7 years ago
block-snapshot: remove R3.2 template commit code

qvm-template-commit does not exist in R4.0, where FileVolume.stop()
takes care of committing.

9dade5c21976d870c6f670f119fc7c7c622defb9 authored about 7 years ago
tests: mock vmm.xs

Now it is needed by some unit tests (those calling create_qdb_entries).

d2a7cbb83e8db7b9375ec0ab443e390b6cb0a354 authored about 7 years ago
tests: explicitly set virt_mode to HVM when needed

HVM is no longer default

ae7031fe7ef8e847ca2184c65982d65cf758e1b3 authored about 7 years ago
tests: do not leak open file

241f1d1d3bc4ada02f127ed41b63ef6dfd1ed8f5 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/180'

* qubesos/pr/180:
vm/qubesvm: default to PVH unless PCI devices are assigned
vm/qubesvm: exp...

f1a5ca64fd95eeebebd4c4dcac7d3e440ec92225 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/179'

* qubesos/pr/179:
qmemman: request VMs balloon down with 16MB safety margin
qmemman: clear "...

21760d8ff0c44276020affccd0cd57a9dc8904ec authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/174'

* qubesos/pr/174:
tests: fix (system) network tests after switching to ipaddress module
test...

b20c3d34581d465993a1c4893a6a8325912e56ba authored about 7 years ago
vm/qubesvm: default to PVH unless PCI devices are assigned

Fixes QubesOS/qubes-issues#2185

4ff53879a09db766f177e1c7c5ac635d05ed0cfe authored about 7 years ago
vm/qubesvm: expose 'start_time' property over Admin API

It is useful at least for Qubes Manager.

d9da747ab0b7284926d9a80fa18a0c51650781fa authored about 7 years ago
vm/qubesvm: revert backup_timestamp to '%s' format

Human readable format `str(datetime.datetime)` is a nightmare for Admin
API level communication....

85e80f2329be24b21b19e4074250c315aeb309e1 authored about 7 years ago
storage/lvm: check for LVM LV existence and type when creating ThinPool

Check if requested thin pool exists and really is thin pool.

QubesOS/qubes-issues#3438

bcf42c13faca9a1133a8380b73fbf935a1534396 authored about 7 years ago
storage/lvm: fix size reporting just after creating LV

Force cache refresh after registering new pool - it might be just
created.

QubesOS/qubes-issues...

377f331d52f4edd82d13a59b76e71667e9d0b856 authored about 7 years ago
doc: link qvm-device man page for qvm-block, qvm-pci, qvm-usb

Those three are special cases of qvm-device tool, so lets use its
documentation too.

be7b2780323199aaa1dfd22156a49ba8ca95c74e authored about 7 years ago
qmemman: request VMs balloon down with 16MB safety margin

It looks like Linux balloon driver do not always precisely respect
requested target memory, but ...

4bca6313506a1cccef2a227c824e808322c4729e authored about 7 years ago
qmemman: clear "not responding" flags when VM require more memory

Clear slow_memset_react/no_progress flags when VM request more memory
than it have assigned. If ...

bf4306b815a5c0e84ebcb8b58a3449fbac962f88 authored about 7 years ago
qmemman: slightly improve logging

Add logging more info about each domain state:
- last requested target
- no_progress and slow_...

4cf6a93b5b648b5273545be81b65a3d4f0f38f60 authored about 7 years ago
qmemman: reformat code, especially comments

Indent comments to match code indentation to make it readable. Also,
wrap long lines. Fix few ty...

8e288d9f8170da9a5c0774a7067aff183039f0dc authored about 7 years ago
vm: remove doc for non-existing event `monitor-layout-change`

f0fe02998bd58783a7c9bb3271b3445cd78bd701 authored about 7 years ago
vm: include tag/feature name in event name

Rename events:
- domain-feature-set -> domain-feature-set:feature
- domain-feature-delete -> d...

50d34755fa532c9eb7b5c00b9b206d83128666a1 authored about 7 years ago
events: add support for wildcard event handlers

Support registering handlers for more flexible wildcard events: not only
'*', but also 'somethin...

5a39e777089d8bde6d0a620830a898c1cf3dd924 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/177'

* qubesos/pr/177:
Use default_dispvm (not default_template) for new DispVM

a66c9afb1843d9cdd4f857bb59199d1d80f6d9ac authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/176'

* qubesos/pr/176:
Do not remove VMs installed via rpm

d83a07177bc701fb0dc7fc04b6a487836972787d authored about 7 years ago
Use default_dispvm (not default_template) for new DispVM

When creating a new VM of type DispVM without specifying any template
(e.g. "qvm-create --class ...

4a2fabc17f131de13830d6e3c76c22e81e970d15 authored about 7 years ago
Do not remove VMs installed via rpm

47b49c4755d04d9a16d5a90536a461cc6951db39 authored about 7 years ago
Allow to choose emulated video model via qvm-features

Add feature named 'video-model' to choose custom video model. It needs
to be supported by libvir...

2b364f0cd9138413fb57526b335be1b0125bbcad authored about 7 years ago
tests: fix (system) network tests after switching to ipaddress module

3fa0972317f502aabdf1569f1cf4391564135cb2 authored about 7 years ago
tests: resurrect extra tests loader

Load integration tests from outside of core-admin repository, through
entry points.
Create wrapp...

3668a73ca25ac43f262cd57c367e4d28c7a620f6 authored about 7 years ago
tests: basic salt integration tests

Test base functions of dom0 module (creating VM, setting property) and
configuring system inside...

962742880f3c7bfe24c636d4ca68078477aeb268 authored about 7 years ago
version 4.0.15

3065e0de94d03f8003b4b3726036fe70987091de authored about 7 years ago
Make pylint happy

Fix thing detected by updated pylint in Travis-CI

32c6083e1c74f4a5b331e6ff6dff7d2582c3f7d3 authored about 7 years ago
vm/adminvm: fix type of AdminVM.qid

It is defined as int in QubesVM.qid, make it consistent.

f5fe10e2adb5ab66a1629b655ff6e062ef1dbf5b authored about 7 years ago
tests: booting VM from ISO image

Check two cases: if ISO image is in dom0 and if its in a VM.

QubesOS/qubes-issues#3339

9a4d2abf1f0d3894a336c83c55ec6d8d97531e46 authored about 7 years ago
storage/lvm: clean -snap LV on volume removal

96bd73485277c3d168c427347d8fdf5485a3e911 authored about 7 years ago
Fix starting VM with kernel=None

When dom0 do not provide the kernel, it should also not set kernel
command line in libvirt confi...

466bf89aae41c20a9d2f5712e69108b7681a3639 authored about 7 years ago
api/admin: make libvirt start error more informative

Point where to look for details.

fd453780414dd608c315877b86397c04e594362b authored about 7 years ago
Fix cleanup-dispvms script

qubesadmin.Qubes().domains do not support indexing by VM object.

QubesOS/qubes-issues#3037

f738f5d4d89fc9b43e962fa4007afe5cb7c42d67 authored about 7 years ago
vm/mix/net: fill QubesDB for already connected VMs

There may be cases when VM providing the network to other VMs is started
later - for example VM ...

297cb4d0126947ac1ecc9163a20f9bd3125fe011 authored about 7 years ago
tests: more vm.create_qdb_entries() tests

1187e4369752b4b7c8cd2ba02bc764699e508773 authored about 7 years ago
vm/mix/net: fix setting QubesDB after converting to ipaddress module

97564f014c2d64898fb0d6ed0bebfcf05a6ea3c2 authored about 7 years ago
vm/qubesvm: write QubesDB /qubes-netvm-gateway6 entry when set

This is needed for network-providing VM to actually provide IPv6
connection too.

QubesOS/qubes-...

faef890c9ad900a343e7a3d9a3650fede7492b5c authored about 7 years ago
vm/mix/net: use ipaddress module for ip and ip6 properties

It has built-in validation, which is much more elegant than custom regex
or socket call.

Sugges...

e12a66f10381fe4c931c619833b8f9c9d433c844 authored about 7 years ago
tests: add integration tests for IPv6

Run also all IPv4 tests with IPv6 enabled to check for regressions
(broken IPv4 because of enabl...

f3cf58e6f226274e4032602b349b13839c94115a authored about 7 years ago
tests: add IPv6-related unit tests

Check produced libvirt XML, and QubesDB entries

QubesOS/qubes-issues#718

0786edf8a3802a73291a1dc938b29a4067467801 authored about 7 years ago
Add IPv6 related VM properties

Add property for IPv6 address ('ip6'). Build default value similarly to
IPv4 - common prefix + Q...

18f159f8eca889da7010200401b853762c1d402c authored about 7 years ago
features: add check_with_netvm, similar to check_with_template

Allow using default feature value from netvm, not template. This makes
sense for network-related...

bf59b00f1d33954258953a4d8674e1bf3a97ef93 authored about 7 years ago
app: kill default_fw_netvm property

Having both default_netvm and default_fw_netvm cause a lot of confusion,
because it isn't clear ...

f223594f92eca167973d4c9cdd262c48251c73d8 authored about 7 years ago
Merge branch 'tests-and-fixes-20171205'

f2cd7fb226407992dbd56baa2815d7527ddd4fdc authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/169'

* qubesos/pr/169:
volume.Import: write data with sufficient privs

658f7565db75f25a9f56b609e077993f38c5d811 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/166'

* qubesos/pr/166:
create "lvm" pool using rootfs thin pool instead of hardcoding qubes_dom0-po...

7b81d7affa07d4511a6f38a09fb0a0e684faca9a authored about 7 years ago
Fix script for DispVM cleanup

Cleanup DispVMs after non-clean shutdown

Fixes QubesOS/qubes-issues#3037

e209e448f2f1679638f9745705c6526a6572dd92 authored about 7 years ago
tests: improve spoof_ip test

Not only check if full round trip ping (does not) work, but also if just
echo-request get filtered.

4d6bfbab4de8ee7af1d98fc645d3e6f88764cc7a authored about 7 years ago
typo in docstring

384a792b8a02375cd9d725c5e598bf134faedf58 authored about 7 years ago
tests: skip network tests on whonix-gw and whonix-ws

whonix-ws also have non-standard firewall and require specific tests for
that.

379add52ba7d517b75018a9629716303874b55ce authored about 7 years ago
tests: add create_qdb_entries() unit test

088c2553553cea334dae8f97f8797ec900bf867b authored about 7 years ago
qubes-hcl-report: detect AMD interrupt remapping

There is slightly different message in xl dmesg.

Fixes QubesOS/qubes-issues#3208

0b0cd41dc6ce94a756d6f7d5414407203d7db989 authored about 7 years ago
app: fix creating dom0 object when not already present in qubes.xml

It's constant properties are now really constant, no need to provide
them explicitly.

d54cef5554bab7ad474ad39a33b5c979bf42fd98 authored about 7 years ago
Improve checking for netvm loop

There were many cases were the check was missing:
- changing default_netvm
- resetting netvm t...

0afee4b05e5cdeef6cc2415a235e7a50df9b78ab authored about 7 years ago
app: check DEFAULT_LVM_POOL variable for default pool

Allow to hint default_pool what is default storage pool - especially
useful for tests.

2d830caab9c6f8259ed9e96c29f4ccc356b8c9fb authored about 7 years ago
tests: fix deadlock in filecopy test

Error window (where test need to send Enter key) is opened while
qvm-move-to-vm is still running.

19a1579a99de9d47b6543ff99ee0c280f229c4cc authored about 7 years ago
api/admin: exclude regex attribute from DeviceInfo structure

DeviceInfo may contain 'regex' attribute - it isn't intended to be
reported through Admin API. A...

749e8497e340dea083be8e7c266dcc2fae12054e authored about 7 years ago
qubesvm: make initial qmemman request consistent with libvirt config

If HVM have PCI device, it can't use PoD, so need 'maxmem' memory to be
started. Request that mu...

da97f4d84c3c3d8e93fb029e7e5abd6180a586f7 authored about 7 years ago
tests: make waiting for window asyncio aware

For now just replace sleep with asyncio.sleep. Later it may make sense
to change subprocess.call...

99874a0a25d822e0acebc01dfa42ce3ec6a4a391 authored about 7 years ago
qubes-rpc/policy.RegisterArgument: readability fixes

Thanks, @rootkovska and @marmarek.

bdaf92f9dc74ff106ee29ffcd805fde43a44e8ee authored about 7 years ago
qubes-rpc: policy.RegisterArgument

This qrexec is meant for services, which require some kind of
"registering" before use. After re...

61c164e1c3feeea9342b46354636d03b5c981139 authored about 7 years ago
version 4.0.14

d4af3b5d9fe6b4833684915684d85b4bd1478a89 authored about 7 years ago
qmemman: remove cyclic service ordering

Fixes QubesOS/qubes-issues#2224

2cc5e4ce9a19cf4f6432fccb7a1ab09304bcb600 authored about 7 years ago
version 4.0.13

6f1cedff800fccc6cdfffbab1b363dfc419d699c authored about 7 years ago
volume.Import: write data with sufficient privs

Not sure how this ever worked before, if it did.

The device nodes pointed to by /dev/qubes_dom0...

21c3c2507e2e393050e86fbf028c5a30dcdec98e authored about 7 years ago
Fix typo in volume import end handler

b41c11816657732b1c5312e4b0f692e4ee3a8cb1 authored about 7 years ago
version 4.0.12

ac8980a903aa95faf2346bb6ad58cf409924392a authored about 7 years ago
vm/qubesvm: fix handling vm.storage.verify() errors

except section try to access qmemman_client variable - make it defined
at that stage.

23ee8aeb47d3190a57c1b7a0d284c91bc792b50a authored about 7 years ago