Merge autopkgtest-cloud:open-release-deets into autopkgtest-cloud:master

Proposed by Brian Murray
Status: Merged
Merged at revision: 7a6677a2199dcdb7d3ffd774fe9b9dc0e462ae4d
Proposed branch: autopkgtest-cloud:open-release-deets
Merge into: autopkgtest-cloud:master
Diff against target: 42 lines (+13/-7)
1 file modified
docs/administration.rst (+13/-7)
Reviewer Review Type Date Requested Status
Brian Murray Needs Fixing
Steve Langasek Approve
Paride Legovini Pending
Review via email: mp+432455@code.launchpad.net

Description of the change

We encountered some issues when creating a new series in autopkgtest in part because some of the documentation was open to interpretation or not very detailed. These changes should add more details regarding when needs to happen and when it can happen.

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve
Revision history for this message
Brian Murray (brian-murray) wrote :

Fix this

review: Needs Fixing
Revision history for this message
Paride Legovini (paride) wrote :

Looks good, but maybe clarify that `systemctl start download-all-results.service` is to be done on the machines hosting the autopkgtest-web units.

Revision history for this message
Steve Langasek (vorlon) wrote :

On Tue, Nov 01, 2022 at 03:54:04PM -0000, Paride Legovini wrote:
> Looks good, but maybe clarify that `systemctl start
> download-all-results.service` is to be done on the machines hosting the
> autopkgtest-web units.

The last time I did this part of the opening, I think I ran it on one web
instance and then scp'ed the result across to the other, which seems more
efficient?

Revision history for this message
Paride Legovini (paride) wrote :

Well that's an option, but I don't see it saving time if download-all-results is started in parallel on the two web instances (as we did). But that's something we can suggest, I'd only be slightly concerned of somehow corrupting the database and then copying it over corrupted to the other web instance.

<bikeshed> On this diff more in general: I'd make updating distro-info-data the very first step, and drop the first added paragraph ("Updating distro-info-data and building the images are not blocked ..."), to keep the instructions fully linear.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/docs/administration.rst b/docs/administration.rst
2index 997bfa1..c2dc434 100644
3--- a/docs/administration.rst
4+++ b/docs/administration.rst
5@@ -142,24 +142,30 @@ usually indicate that the LXD host has gone down and needs redeploying.
6 Opening up a new series
7 -----------------------
8
9+Updating distro-info-data and building the images are not blocked on test results
10+being copied forward (``seed-new-release``) or devel results existing
11+(``download-all-results``) i.e. do them while waiting for those.
12+
13 * Download the latest ``autopkgtest.db`` from the website/unit to the home
14 directory on wendigo
15 * Run ``autopkgtest-cloud/tools/seed-new-release <old_release> <new_release> autopkgtest.db``
16 on wendigo.
17+* Make sure an updated distro-info-data with the new series is available and
18+ install it on all worker, web, and haproxy nodes. (If not yet available,
19+ temporarily hack the new series into the ``/usr/share/distro-info/ubuntu.csv``
20+ on them.)
21 * Update the ``service-bundle`` to include the release in ``releases`` and
22- deploy it. Run ``systemctl start download-all-results.service`` to download
23- the results from swift to the db. TODO: This should be done automatically
24- by adding the release.
25-* Make sure a new distro-info with the new series is available and install it
26- on all worker and web nodes. (If not yet available, temporarily hack in the
27- new series into the distro-info-data ubuntu.csv on all worker and web nodes.)
28+ deploy it by using ``mojo run``. Run ``systemctl start
29+ download-all-results.service`` (on the instances providing autopkgtest-web)
30+ to download the results from swift to the db.
31+ TODO: This should be done automatically by adding the release.
32 * Build new lxd images on the lxd-armhf leader (see :ref:`Creating new LXD
33 images before official ones are available`).
34 * Build cloud images::
35
36 sudo systemctl start build-adt-image@<release>-<cloud>-<arch>.service ...
37
38-* Notify release team to remove cowboy disablement of proposed-migration,
39+* Notify the release team to remove cowboy disablement of proposed-migration,
40 and manually run ``run-proposed-migration`` as ``ubuntu-archive@snakefruit``
41 to do a test run of proposed-migration.
42 * Submit a test job for all arches via ``request.cgi`` or ``run-autopkgtest``

Subscribers

People subscribed via source and target branches