]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
2 months agomaas: consider architecture when matching images.
Dan Mick [Fri, 12 Dec 2025 19:45:35 +0000 (11:45 -0800)]
maas: consider architecture when matching images.

Also add "suggest" functionality when a suitable image isn't found.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agomaas: do not return if host already has os type/version
Dan Mick [Fri, 12 Dec 2025 03:44:56 +0000 (19:44 -0800)]
maas: do not return if host already has os type/version

We want to reimage even if the last known os is the same
(in order to start with a fresh deployment for every lock)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agomaas: release machine when unlocking and wait for no longer Deployed
Dan Mick [Fri, 12 Dec 2025 03:42:23 +0000 (19:42 -0800)]
maas: release machine when unlocking and wait for no longer Deployed

To accomplish this, add "is_not" to _wait_for_status, and invert
the sense of the test: wait until status is *not* the status in the
status argument.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agomaas.py: fix log message to express actual operation
Dan Mick [Fri, 12 Dec 2025 03:41:27 +0000 (19:41 -0800)]
maas.py: fix log message to express actual operation

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agofixup! lock.ops.unlock_one_safe: Invert run-match logic
Zack Cerza [Thu, 11 Dec 2025 02:19:25 +0000 (19:19 -0700)]
fixup! lock.ops.unlock_one_safe: Invert run-match logic

2 months agofixup! lock.ops.unlock_one_safe: Invert run-match logic
Zack Cerza [Thu, 11 Dec 2025 02:11:30 +0000 (19:11 -0700)]
fixup! lock.ops.unlock_one_safe: Invert run-match logic

2 months agofixup! lock.ops.unlock_one_safe: Invert run-match logic
Zack Cerza [Thu, 11 Dec 2025 02:04:00 +0000 (19:04 -0700)]
fixup! lock.ops.unlock_one_safe: Invert run-match logic

2 months agolock.ops.unlock_one_safe: Invert run-match logic
Zack Cerza [Wed, 19 Mar 2025 18:35:11 +0000 (12:35 -0600)]
lock.ops.unlock_one_safe: Invert run-match logic

When unlock_one_safe is called with run_name, the caller means to express
"unlock this node if it belongs to this run".
When it is called with run_name and job_id, it means "unlock this node if it
belongs to this job in this run".
We had inverted the logic, causing leaks on reimage failures.

Signed-off-by: Zack Cerza <zack@cerza.org>
(cherry picked from commit b9a0b03d807de6204e2f01e3622993856097cde7)

2 months agoprovisioner: Add maas provisioner
Ceph Teuthology [Tue, 4 Nov 2025 16:19:08 +0000 (21:49 +0530)]
provisioner: Add maas provisioner

Signed-off-by: Vaibhav Mahajan <vaibhavsm04@gmail.com>
3 months agoMerge pull request #2110 from Matan-B/wip-matanb-pexec-logs
Matan Breizman [Thu, 20 Nov 2025 08:48:57 +0000 (10:48 +0200)]
Merge pull request #2110 from Matan-B/wip-matanb-pexec-logs

teuthology/task/pexec.py: add logs to command executed

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
3 months agoteuthology/task/pexec.py: add logs to command executed wip-matanb-pexec-logs 2110/head
Matan Breizman [Wed, 19 Nov 2025 13:49:36 +0000 (15:49 +0200)]
teuthology/task/pexec.py: add logs to command executed

The current output by pexec is:
```
INFO:teuthology.run_tasks:Running task pexec...
INFO:teuthology.task.pexec:Executing custom commands...
INFO:teuthology.task.pexec:Running commands on host ubuntu@smithi012.front.sepia.ceph.com
DEBUG:teuthology.orchestra.run.smithi012:> TESTDIR=/home/ubuntu/cephtest bash -s
```

The output should include the acutal command executed, similar to
exec.py:

```
INFO:teuthology.run_tasks:Running task exec...
INFO:teuthology.task.exec:Executing custom commands...
INFO:teuthology.task.exec:Running commands on role client.0 host ubuntu@smithi168.front.sepia.ceph.com
DEBUG:teuthology.orchestra.run.smithi168:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'sudo ceph osd pool create low_tier 4'
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agoMerge pull request #2107 from deepssin/fix-gevent-loopexit-dispatcher-crash
Zack Cerza [Tue, 18 Nov 2025 00:04:46 +0000 (17:04 -0700)]
Merge pull request #2107 from deepssin/fix-gevent-loopexit-dispatcher-crash

Fix dispatcher crash on gevent LoopExit exceptions