diff --git a/docs/distributions/cc7.md b/docs/distributions/cc7.md index 5371dfd7453f910be4da1380aafc364c7fa44d66..201f160b6530b20f4723f4017e84cc486271c7a8 100644 --- a/docs/distributions/cc7.md +++ b/docs/distributions/cc7.md @@ -339,7 +339,7 @@ This stage involves working on a new tree from upstream (QA). We add CERN specif * Ensure comps.xml is current (cp /mnt/data1/dist/cern/centos/7/cern/x86_64/comps.xml to /mnt/data2/dist/cern/centos/7.$release/os/x86_64/CERN/build/CERN-comps.xml) * Generate repodata for cernanaconda by editing and executing the `/mnt/data2/dist/cern/centos/7.$release/os/x86_64/CERN/build/makerepo.sh`. Note - if a 'repodata' directory existed from a previous copy, remove it first to start clean. * Check that generated content is correct - edit and then run `/mnt/data2/dist/cern/centos/7.$release/os/x86_64/CERN/build/check.sh` -* rsync /mnt/data2/dist/cern/centos/7.$release/os/x86_64/ to a accessible location on /mnt/data1/dist/tmp/ (this correlates to [http://linuxsoft.cern.ch/tmp/](http://linuxsoft.cern.ch/tmp/)) +* rsync /mnt/data2/dist/cern/centos/7.$release/os/x86_64/ to an accessible location on /mnt/data1/dist/tmp/ (this correlates to [http://linuxsoft.cern.ch/tmp/](http://linuxsoft.cern.ch/tmp/)) * Generate CERN version of boot.iso * Download upstream boot.iso, mount to a temporary location and copy the contents to /mnt/data2/dist/cern/centos/7.$release/os/x86_64/CERN/build/boot.iso.org * `unmount` temporary boot.iso mount @@ -358,7 +358,14 @@ This stage involves working on a new tree from upstream (QA). We add CERN specif * Test the glance image works as expected * Add .htaccess file in /mnt/data1/dist/cern/centos/7.$release to prohibit consuming until CentOS QA content is released publically * Edit and execute `/mnt/data2/dist/cern/centos/7.$release/os/x86_64/CERN/build/aims2.sh` to configure a target on aimstest and a TEST target on aims -* Test the pxe install process on both aimstest and aims +* Test the PXE install process on both `aimstest` and `aims` + * Upload the image to AIMS with `aims2client`, accessible on `aiadm`. i.e. `aims2client addimg ...` and `aims2client --testserver addimg ...` + * On the `"IT Linux Support - Test VMs"` create a VM with `landb-os=LINUX` as metadata and https://gitlab.cern.ch/linuxsupport/aims2-ipxe as image. You will already find uploaded images though so reuse one of them. + * Prepare the host to test the image as in the following example: + * `aims2client addhost yourtestvm --pxe --name CC79_X86_64 --kopts "ip=dhcp repo=http://linuxsoft.cern.ch/tmp/79/"`. Adjust the repo to the path from previous steps + * Open a VNC console on the web browser by going to the "Console" tab on the given test VM + * Go through the manual installation configuration. You will need to select "Reclaim space" on the partitioning configuration. + * If at any point you need to re-run the installation, rebuild the same VM with the same `iPXE-YYYYMMDD-aimsprod` image as before, then reboot and start again, it only takes a minute. * Update aims2-loaders to reference the new $release (see [https://gitlab.cern.ch/linuxsupport/aims2-loaders/commit/30de29e5cbd24b12379aaab098ed81d16340dded](https://gitlab.cern.ch/linuxsupport/aims2-loaders/commit/30de29e5cbd24b12379aaab098ed81d16340dded) for an example) and install on both aims and aimstest hosts * Update the webpage [https://gitlab.cern.ch/linuxsupport/websites/linux.cern.ch](https://gitlab.cern.ch/linuxsupport/websites/linux.cern.ch) * Send email template to users informing that CentOS7.$release is available for testing. The recipient should be 'linux-users@cern.ch' and the following recipients should be included in BCC 'linux-announce@cern.ch', 'linux-announce-test@cern.ch', 'ai-admins@cern.ch'