]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
4 weeks agoMerge pull request #814 from ceph/define-rocky-mirrors
Dan Mick [Wed, 28 Jan 2026 22:17:07 +0000 (14:17 -0800)]
Merge pull request #814 from ceph/define-rocky-mirrors

Define rocky repo mirrors

4 weeks agotestnode: Specify a few mirrors for Rocky 10 814/head
David Galloway [Wed, 28 Jan 2026 18:40:27 +0000 (13:40 -0500)]
testnode: Specify a few mirrors for Rocky 10

As was the case with EPEL mirrors, hitting the mirrorlist.rockylinux.org endpoint frequently fails and causes jobs to die.  We'll just specify a few mirrors manually.

DNF's behavior is to try them in order when multiple baseurls are defined.

Fixes: https://tracker.ceph.com/issues/74620
Signed-off-by: David Galloway <david.galloway@ibm.com>
4 weeks agotestnode: Support for yum_repos_to_remove
David Galloway [Wed, 28 Jan 2026 18:37:12 +0000 (13:37 -0500)]
testnode: Support for yum_repos_to_remove

A follow up commit will put specific repo files we want back in place.

Signed-off-by: David Galloway <david.galloway@ibm.com>
4 weeks agoMerge pull request #813 from ceph/retry-mirrorlists
Dan Mick [Mon, 26 Jan 2026 19:28:42 +0000 (11:28 -0800)]
Merge pull request #813 from ceph/retry-mirrorlists

testnode: Try to work around flaky rocky mirrorlists

4 weeks agotestnode: Try to work around flaky rocky mirrorlists 813/head
David Galloway [Mon, 26 Jan 2026 18:17:19 +0000 (13:17 -0500)]
testnode: Try to work around flaky rocky mirrorlists

```
[root@trial052 ~]# cat /etc/yum.repos.d/rocky.repo

[baseos]
name=Rocky Linux $releasever - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-10
```

Fixes: https://tracker.ceph.com/issues/74563
Signed-off-by: David Galloway <david.galloway@ibm.com>
5 weeks agoMerge pull request #811 from ceph/wget-c9
David Galloway [Tue, 20 Jan 2026 13:41:53 +0000 (08:41 -0500)]
Merge pull request #811 from ceph/wget-c9

testnode: Install wget on CentOS 9

5 weeks agotestnode: Install wget on CentOS 9 811/head
David Galloway [Mon, 19 Jan 2026 22:38:31 +0000 (17:38 -0500)]
testnode: Install wget on CentOS 9

We were doing this in kickstart via cobbler.

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 weeks agoMerge pull request #809 from ceph/fog-fixes
Dan Mick [Thu, 15 Jan 2026 02:47:48 +0000 (18:47 -0800)]
Merge pull request #809 from ceph/fog-fixes

Fog fixes

6 weeks agoMerge pull request #810 from ceph/https
Dan Mick [Mon, 12 Jan 2026 17:16:34 +0000 (09:16 -0800)]
Merge pull request #810 from ceph/https

testnode: More s/http/https

6 weeks agotestnode: More s/http/https 810/head
David Galloway [Mon, 12 Jan 2026 17:06:51 +0000 (12:06 -0500)]
testnode: More s/http/https

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 weeks agoprep-fog-capture: systemd unit to generate host ssh keys fog-fixes 809/head
David Galloway [Thu, 8 Jan 2026 17:53:04 +0000 (12:53 -0500)]
prep-fog-capture: systemd unit to generate host ssh keys

Ubuntu does not automatically regenerate SSH host keys after image-based
deployments. When keys are removed prior to FOG capture, sshd fails to
start on redeploy.

Add a one-shot systemd service to regenerate host keys on first boot and
disable itself after running.

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 weeks agoprep-fog-capture: install ntp if missing
David Galloway [Thu, 8 Jan 2026 17:51:24 +0000 (12:51 -0500)]
prep-fog-capture: install ntp if missing

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 weeks agofog-server: Clone as fog user
David Galloway [Thu, 8 Jan 2026 16:49:36 +0000 (11:49 -0500)]
fog-server: Clone as fog user

Avoids 'dubious ownership' git error

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 weeks agofog-server: primary branch is now 'stable'
David Galloway [Thu, 8 Jan 2026 16:48:54 +0000 (11:48 -0500)]
fog-server: primary branch is now 'stable'

Signed-off-by: David Galloway <david.galloway@ibm.com>
7 weeks agoMerge pull request #808 from dmick/teuthology-conserver-client
Zack Cerza [Tue, 6 Jan 2026 21:31:31 +0000 (14:31 -0700)]
Merge pull request #808 from dmick/teuthology-conserver-client

teuthology: add conserver-client as package dependency

7 weeks agoteuthology: add conserver-client as package dependency 808/head
Dan Mick [Tue, 6 Jan 2026 18:24:14 +0000 (10:24 -0800)]
teuthology: add conserver-client as package dependency

left aside leap because I believe that code is dead and I don't
have systems to verify the package name

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #806 from deepssin/update_lab_extras
David Galloway [Thu, 18 Dec 2025 14:30:59 +0000 (09:30 -0500)]
Merge pull request #806 from deepssin/update_lab_extras

testnode: Switch lab-extras repository URLs to HTTPS

2 months agotestnode: Switch lab-extras repository URLs to HTTPS 806/head
deepssin [Thu, 18 Dec 2025 10:57:01 +0000 (10:57 +0000)]
testnode: Switch lab-extras repository URLs to HTTPS

Signed-off-by: deepssin <deepssin@redhat.com>
2 months agoMerge pull request #805 from ceph/zap-again
Dan Mick [Fri, 12 Dec 2025 19:50:41 +0000 (11:50 -0800)]
Merge pull request #805 from ceph/zap-again

Refactor Zap again

2 months agotestnode: Refactor zap again... 805/head
David Galloway [Fri, 12 Dec 2025 17:22:00 +0000 (12:22 -0500)]
testnode: Refactor zap again...

We should be systematically tearing down any LVM we find.  LVs, VGs, then PVs, then device mapper.

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agotestnode: Support NVMe partitions in pvs output
David Galloway [Fri, 12 Dec 2025 17:10:53 +0000 (12:10 -0500)]
testnode: Support NVMe partitions in pvs output

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #804 from ceph/xattrs
David Galloway [Fri, 12 Dec 2025 17:24:14 +0000 (12:24 -0500)]
Merge pull request #804 from ceph/xattrs

testnode: Refactor xattrs tasks

2 months agotestnode: Refactor xattrs tasks 804/head
David Galloway [Fri, 12 Dec 2025 17:05:45 +0000 (12:05 -0500)]
testnode: Refactor xattrs tasks

This was failing on lvm-backed root filesystems and isn't required for xfs anyway.

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #798 from ceph/cm-oops
David Galloway [Fri, 12 Dec 2025 16:21:19 +0000 (11:21 -0500)]
Merge pull request #798 from ceph/cm-oops

ansible-managed: Don't create user if he exists

2 months agoMerge pull request #803 from ceph/lvm-by-disksize
Dan Mick [Thu, 11 Dec 2025 23:56:25 +0000 (15:56 -0800)]
Merge pull request #803 from ceph/lvm-by-disksize

testnode: Updates to support trial nodes in MaaS

2 months agotestnode: Refactor lvm tag and support new dict 803/head
David Galloway [Thu, 11 Dec 2025 23:32:46 +0000 (18:32 -0500)]
testnode: Refactor lvm tag and support new dict

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agotestnode: Refactor zap to support existing LVM and NVMe root drives
David Galloway [Thu, 11 Dec 2025 20:15:47 +0000 (15:15 -0500)]
testnode: Refactor zap to support existing LVM and NVMe root drives

Feeding "nvme0n1" to `root_disk: "{{ item.device|regex_replace('[0-9]+', '') }}" came out "nvmen"

MaaS also provisions root disks using lvm by default so we need some logic to wipe out device mapper devices from OSD disks but not the root disk.

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #802 from ceph/trial-noble
Dan Mick [Wed, 10 Dec 2025 21:50:57 +0000 (13:50 -0800)]
Merge pull request #802 from ceph/trial-noble

Adjustments to run ceph-cm-ansible on Noble on new "trial" testnodes

2 months agotestnode: Strip partitions from root_disk 802/head
David Galloway [Wed, 10 Dec 2025 21:21:30 +0000 (16:21 -0500)]
testnode: Strip partitions from root_disk

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agotestnode: Don't zap snap partitions
David Galloway [Wed, 10 Dec 2025 21:18:55 +0000 (16:18 -0500)]
testnode: Don't zap snap partitions

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #800 from ceph/nameserver-multiple-ipvars
Dan Mick [Tue, 9 Dec 2025 22:15:31 +0000 (14:15 -0800)]
Merge pull request #800 from ceph/nameserver-multiple-ipvars

nameserver: Support multiple ipvars

2 months agonameserver: Support multiple ipvars 800/head
David Galloway [Tue, 9 Dec 2025 00:53:19 +0000 (19:53 -0500)]
nameserver: Support multiple ipvars

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #799 from ceph/wip-xfs-v4-revert
David Galloway [Mon, 8 Dec 2025 21:09:32 +0000 (16:09 -0500)]
Merge pull request #799 from ceph/wip-xfs-v4-revert

roles/testnode: don't insist on creating XFS V4 filesystem

2 months agoroles/testnode: don't insist on creating XFS V4 filesystem 799/head
Ilya Dryomov [Mon, 8 Dec 2025 19:38:46 +0000 (20:38 +0100)]
roles/testnode: don't insist on creating XFS V4 filesystem

The V4 format has been deprecated since 2020 and as of 6.18 kernel no
longer compiled in by default.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #786 from kshtsk/wip-rocky-9
David Galloway [Sat, 6 Dec 2025 12:44:32 +0000 (07:44 -0500)]
Merge pull request #786 from kshtsk/wip-rocky-9

roles/testnode: add rocky 9

2 months agoroles/testnode: add sshd config template for rocky 9 786/head
Kyr Shatskyy [Sat, 6 Dec 2025 01:06:35 +0000 (02:06 +0100)]
roles/testnode: add sshd config template for rocky 9

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2 months agoroles/testnode: add rocky 9 vars
Kyr Shatskyy [Wed, 3 Sep 2025 13:48:58 +0000 (15:48 +0200)]
roles/testnode: add rocky 9 vars

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2 months agotestnode/vars: add lvm2 to centos 9
Kyr Shatskyy [Tue, 29 Apr 2025 22:24:55 +0000 (00:24 +0200)]
testnode/vars: add lvm2 to centos 9

The nvme-loop tests rely on lvm.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2 months agoroles/testnodes: add centos 9 stream specific vars
Kyr Shatskyy [Thu, 24 Apr 2025 14:23:12 +0000 (16:23 +0200)]
roles/testnodes: add centos 9 stream specific vars

Looks like noone added the subj. yet.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2 months agoansible-managed: Don't create user if he exists 798/head
David Galloway [Fri, 5 Dec 2025 00:31:38 +0000 (19:31 -0500)]
ansible-managed: Don't create user if he exists

When manually installing hosts, we use the cm user sometimes.  Don't clobber it or try to create when it exists already.

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #797 from dmick/fix-make-dnsmasq-conf
David Galloway [Thu, 4 Dec 2025 20:32:53 +0000 (15:32 -0500)]
Merge pull request #797 from dmick/fix-make-dnsmasq-conf

tools/make-dnsmasq-conf: fix up some outstanding issues

2 months agotools/make-dnsmasq-conf: fix up some outstanding issues 797/head
Dan Mick [Thu, 4 Dec 2025 19:31:16 +0000 (11:31 -0800)]
tools/make-dnsmasq-conf: fix up some outstanding issues

1) hack domain_tag calculation for pok, suggest a better approach
2) fully-qualify the ip manipulation module names
3) host-record instead of host-address
4) create host-record in canonical order to avoid anyone worrying

Signed-off-by: Dan Mick <dmick@ibm.com>
2 months agoMerge pull request #796 from ceph/toko-disk
Dan Mick [Thu, 4 Dec 2025 17:59:17 +0000 (09:59 -0800)]
Merge pull request #796 from ceph/toko-disk

tools: Add bath and toko to jenkins-builder-disk

2 months agotools: Add bath and toko to jenkins-builder-disk 796/head
David Galloway [Thu, 4 Dec 2025 05:18:40 +0000 (00:18 -0500)]
tools: Add bath and toko to jenkins-builder-disk

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #792 from dmick/fix-set-bmc-static
David Galloway [Wed, 3 Dec 2025 22:17:28 +0000 (17:17 -0500)]
Merge pull request #792 from dmick/fix-set-bmc-static

tools/set-bmc-static.yml: update for Tucson lab/Supermicro

2 months agotools/set-bmc-static.yml: update for Tucson lab/Supermicro 792/head
Dan Mick [Fri, 31 Oct 2025 18:40:43 +0000 (11:40 -0700)]
tools/set-bmc-static.yml: update for Tucson lab/Supermicro

1) set to 'all' hosts, enabling --limit on playbook invocation
2) set power_uid to 3; newer Supermicros use 2 for their factory user
3) enable dhcp mode by default
4) introduce "only_lan_access" to avoid trying to ssh or even test it
5) add tasks to test initial_* and power_* creds and display the results
6) halt the playbook if neither set of creds works
7) add a "test_user" tag to allow just testing the creds and stopping
8) bugfix: use 'initial_*' for first 'user set password' for power_user
9) also add 'user enable' because it seems like Supermicro needs it

Signed-off-by: Dan Mick <dmick@ibm.com>
2 months agoMerge pull request #793 from dmick/generate-dnsmasq-snippets
David Galloway [Mon, 1 Dec 2025 20:45:52 +0000 (15:45 -0500)]
Merge pull request #793 from dmick/generate-dnsmasq-snippets

Add a role to generate dnsmasq.conf sections for tucson