Skip to content

add support for pxe #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 75 commits into
base: ydi/install
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
53d49a3
host.main_sr: don't return "<not in database>" as UUID on missing def…
ydirson May 7, 2024
1a67de4
Host: rename main_sr to main_sr_uuid
ydirson May 13, 2024
e356b4f
local_cmd: log command to be run, like ssh does
ydirson May 14, 2024
60db45b
VM: fix name of method dealing with CD insertion, provide a generic API
ydirson May 13, 2024
b9012fc
VM: add logging for CD insert/eject
ydirson May 13, 2024
38b3ae2
_ssh: remove duplicate default values
ydirson May 14, 2024
b58c666
Remove redundant logs on VM creation
ydirson May 15, 2024
6d85067
host.import_vm: report when VM not found in cache
ydirson May 29, 2024
fbf6711
host: split cached_vm identification from import_vm
ydirson May 30, 2024
523c60a
requirements: cleanup cruft, avoid duplication in README
ydirson Jun 19, 2024
26a5a8f
try_get_and_store_ip: raise boot timeout for nested tests
ydirson Jun 19, 2024
80da462
test_guest_tools_unix: make requirements more explicit
ydirson Jun 19, 2024
a883224
test_basic_without_ssh: split start/stop test from those needing a ru…
ydirson Jun 19, 2024
ce3bff2
test_basic_without_ssh: clarify requirements a bit
ydirson Aug 9, 2024
5c7e175
test_guest_tools_unix: use a fixture instead of expecting test_install
ydirson Jun 19, 2024
4376ce1
Drop "incremental" marker.
ydirson Jun 19, 2024
048f021
conftest: regroup all pytest hooks together, separated from fixtures
ydirson Jun 19, 2024
ae4fc4f
CACHE_IMPORTED_VM: parse only once
ydirson Jul 19, 2024
8de40b4
BaseVM: add missing param_* methods
ydirson Jul 23, 2024
e621f02
vm: remove duplicate file_exists()
ydirson Jul 4, 2024
8e27d00
Host.join_pool(): update the host's pool after new pool is joined
ydirson Jul 8, 2024
cb3b8e4
pytest: do not restrict timestamping to CLI
ydirson Jul 25, 2024
286c4ef
pytest: add milliseconds to log timestamp
ydirson Jul 25, 2024
fd2ca15
LocalCommandFailed: fix ctor upcall
ydirson Jul 31, 2024
b4b8fe1
vm cache: shorten vm description by stripping .xva suffix
ydirson Jun 11, 2024
74253bd
ssh: don't use a separate logger
ydirson Jun 19, 2024
917183f
WIP vm.clone: avoid foo_clone_for_tests_clone_for_tests_clone_for_tests
ydirson May 23, 2024
a49d5e2
host.main_sr_uuid: don't assume $HOSTNAME is the XAPI name-label
ydirson Jun 13, 2024
78c64ca
Add VBD object
ydirson Aug 8, 2024
f686df5
Add PIF object
ydirson Aug 8, 2024
1cf9e6d
Host: add missing param_* methods
ydirson Aug 8, 2024
b096539
VDI: add param_* APIs
ydirson Aug 1, 2024
62329ea
VDI: allow constructing an object when knowing just the Host
ydirson Aug 1, 2024
eca3178
VDI: add more methods
ydirson Aug 1, 2024
a7701ae
WIP get_vdi_sr_uuid: move from BaseVM to Host
ydirson Aug 1, 2024
4309f01
conftest: add pytest hook to make test results visible from fixtures
ydirson Jun 19, 2024
c766e65
WIP move generic pxe-boot code to new pxe.py
ydirson May 13, 2024
ba3db19
install 1/n: fixture to create VMs from template
ydirson May 7, 2024
442662f
install 2/n: use iso-remaster to plug an hardcoded answerfile
ydirson Jul 25, 2024
c2874aa
WIP install 3/n: run installer
ydirson Jul 25, 2024
d4d09dc
install 4/n: make sure installer host appears in PXE ARP tables
ydirson Jun 25, 2024
481225c
Install test-pingpxe service on host
ydirson Aug 2, 2024
eddb2d7
WIP install 5/n: answerfile generation
ydirson Jul 29, 2024
04f798c
WIP install 6/n: export to XVA after install
ydirson Jun 25, 2024
1443ff5
WIP install 7/n: add firstboot test
ydirson Jul 25, 2024
f643c27
VM caching on export/import
ydirson Jun 24, 2024
ac206aa
WIP Image caching: include commit hash in caching key
ydirson Jul 24, 2024
02424f7
Image caching: allow to declare image equivalence
ydirson Jul 9, 2024
ec1c9f8
install: use xcpng_chained/continuation_of to simplify dependency spec
ydirson Jun 21, 2024
7e20f6d
install: add "version" test parameter, and 8.3b2 as a version
ydirson Jun 20, 2024
8888cef
Add upgrade test
ydirson Jul 25, 2024
8a22b45
install: add a "firmware" parameter
ydirson Jul 24, 2024
fee03e8
install: add "restore" test using 8.3 ISO
ydirson Jul 24, 2024
bb35e37
install/firstboot: check installed version
ydirson Jun 17, 2024
62fda98
install: add XS/CH support
ydirson Jun 17, 2024
fc1ae46
install: add installation of xcp-ng 8.0 and 8.1, upgrades to 8.3b2
ydirson Jul 26, 2024
4ebf89a
install: 7.5 and 7.6
ydirson Jun 14, 2024
b44ecf4
WIP Separate firstboot of install and that of upgrade/restore
ydirson Jul 2, 2024
97cff7b
Add a first-boot service to make UUIDs unique
ydirson Jul 1, 2024
9f05322
WIP Replace 8.3beta2 tests with upcoming 8.3rc1
ydirson Jul 2, 2024
3e11018
install: produce several hosts from single install
ydirson Jul 3, 2024
7235bca
install: adjust host IP and name in firstboot data before booting
ydirson Aug 8, 2024
f18d98c
New test: join 2 hosts into a pool
ydirson Jul 3, 2024
47e4c02
New test: create VMs on shared SR in pool
ydirson Jul 4, 2024
c8a414d
Add local_sr parameter to test_install
ydirson Aug 6, 2024
ed6351e
WIP Rescan the SR
gthvn1 Jul 10, 2024
a5df441
import_vm: add clone:// and clone+start:// URIs
ydirson Jul 15, 2024
3aafae5
Add support for --nest=... --hosts=cache://...
ydirson Jul 23, 2024
2702675
firstboot: wait for stunnel and other certs to be generated
ydirson Jul 26, 2024
59dd504
WIP drop redundant version mapping from installer_iso marker
ydirson Aug 5, 2024
100524a
WIP Add support for netinstall
gthvn1 Jul 26, 2024
07de1f7
WIP modify VDI
ydirson Aug 1, 2024
c952b7e
WIP allow to inspect VMs on exception when using --pdb
ydirson Jul 5, 2024
e86dd1d
add support for pxe
gthvn1 Aug 12, 2024
9f02395
fixup! add support for pxe
gthvn1 Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@
Note: this is a perpertual work in progress. If you encounter any obstacles or bugs, let us know!

## Main requirements
* python >= 3.5
* pytest >= 5.4 (python3 version)
* xo-cli >= 0.17.0 installed, in the PATH, and registered to an instance of XO that will be used during the tests
* python >= 3.8
* packages as listed in requirements/base.txt
* extra test-specific requirements are documented in the test file
"Requirements" header

### Quick install (python requirements)

Install the python requirements using pip:

```
$ pip install -r requirements/base.txt

```

Additionally, for dev dependencies (things like the linter / style checker):

```
$ pip install -r requirements/dev.txt

```

## Other requirements
Expand Down
Loading
Loading