Skip to content

Commit

Permalink
Merge pull request #18 from flyingcircusio/PL-131857-rbd-pool-migration
Browse files Browse the repository at this point in the history
PL-131857 rbd pool migration
  • Loading branch information
ctheune authored Oct 23, 2024
2 parents 9c382fb + 960184c commit 4aa4369
Show file tree
Hide file tree
Showing 39 changed files with 1,753 additions and 1,191 deletions.
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Release notes
1.5.1 (unreleased)
------------------

- Nothing changed yet.
- Fix guest agent revamp: 0xFF handling did not work as advertised. (PL-132809)

- Implement automatic (root) volume migration between different RBD pool.s ()


1.5.0 (2024-10-11)
Expand Down
17 changes: 17 additions & 0 deletions HACKING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@ To run only some tests you can pass arguments to pytest:

hydra01 ~/fc-nixos $ nix-build --arg useCheckout true --argstr testOpts "-k test_agent_check" tests/kvm_host_ceph-nautilus.nix

To interact with the tests using PDB you can add breakpoints and/or cause the tests to fail and then:

Keep the build outputs:

hydra01 ~/fc-nixos $ nix-build --arg useCheckout true --argstr testOpts "-k test_agent_check" tests/kvm_host_ceph-nautilus.nix -K

Get a live pdb session:

sudo -i
cd /tmp/nix-build-python3.8-fc.qemu-dev.drv-50/build/fc.qemu
grep
source ../env-vars





Real-world testing on FCIO DEV network
--------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[pytest]
addopts = --tb=native --timeout=20 --cov=src --cov-report=html --junitxml=/tmp/fc.qemu-report.xml
addopts = --tb=native --timeout=20 --cov=fc.qemu --cov-report=html --junitxml=/tmp/fc.qemu-report.xml

markers =
slow: mark test as slow.
live: requires a full live environment capable of running qemu and ceph
unit: can be run without any further environment

testpaths = src
testpaths = tests

cache_dir = /tmp/fc.qemu-pytest-cache/
Loading

0 comments on commit 4aa4369

Please sign in to comment.