]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
David Galloway [Wed, 1 Apr 2026 16:34:49 +0000 (12:34 -0400)]
Merge pull request #836 from ceph/1001
maas: Use 1001 for cm user
David Galloway [Wed, 1 Apr 2026 14:47:10 +0000 (10:47 -0400)]
maas: Use 1001 for cm user
teuthology's ubuntu user expects UID 1000
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Tue, 31 Mar 2026 14:52:12 +0000 (10:52 -0400)]
Merge pull request #788 from ceph/wip-maas-apt
Create role to deploy and configure MAAS
Dan Mick [Mon, 30 Mar 2026 18:21:01 +0000 (11:21 -0700)]
Merge pull request #835 from ceph/short
prep-fog-capture: Set short hostname on boot
David Galloway [Tue, 17 Mar 2026 12:47:15 +0000 (08:47 -0400)]
prep-fog-capture: Set short hostname on boot
Setting FQDN via `hostname` is not best practice
Signed-off-by: David Galloway <david.galloway@ibm.com>
Dan Mick [Fri, 13 Mar 2026 20:07:46 +0000 (13:07 -0700)]
Merge pull request #834 from ceph/fix-nameserver-for-deb
Fix nameserver for deb
David Galloway [Fri, 13 Mar 2026 16:19:52 +0000 (12:19 -0400)]
nameserver: Fix vars for Debian
Signed-off-by: David Galloway <david.galloway@ibm.com>
Dan Mick [Fri, 13 Mar 2026 02:15:43 +0000 (19:15 -0700)]
nameserver: named.conf is in /etc/bind on Debian
Signed-off-by: Dan Mick <dmick@ibm.com>
Dan Mick [Fri, 13 Mar 2026 01:10:00 +0000 (18:10 -0700)]
nameserver: don't create /etc/<X>/named if it doesn't exist
It should exist. This would have caught the error that
X is sysconfig on el systems and default on deb systems.
Signed-off-by: Dan Mick <dmick@ibm.com>
Dan Mick [Fri, 13 Mar 2026 00:55:31 +0000 (17:55 -0700)]
roles/nameserver: allow defaults file to vary
deb: /etc/default/named
el: /etc/sysconfig/named
Signed-off-by: Dan Mick <dmick@ibm.com>
David Galloway [Wed, 11 Mar 2026 15:18:14 +0000 (11:18 -0400)]
Merge pull request #832 from ceph/ansible_user
testnode: Add iozone to path
David Galloway [Wed, 11 Mar 2026 15:09:23 +0000 (11:09 -0400)]
testnode: Ensure iozone is in path
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Wed, 11 Mar 2026 15:06:39 +0000 (11:06 -0400)]
testnode: Default ansible_ssh_user to cm_user, then nothing
Ansible, in their infinite wisdom, have deprecated yet another magic variable breaking backwards compatibility.
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Mon, 9 Mar 2026 16:57:04 +0000 (12:57 -0400)]
Merge pull request #831 from dmick/rocky10-iozone
testnode: add iozone to rocky_10.yml
Dan Mick [Sat, 7 Mar 2026 01:16:10 +0000 (17:16 -0800)]
testnode: add iozone to rocky_10.yml
I built the RPM and installed it on the apt-mirror service
(on the POK lab Openshift)
Fixes: https://tracker.ceph.com/issues/75381
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Fernando Alcocer [Wed, 4 Mar 2026 17:13:57 +0000 (11:13 -0600)]
Enhance install_grub script for ARM deployment and RHEL 10 support
Dan Mick [Mon, 2 Mar 2026 18:59:16 +0000 (10:59 -0800)]
Merge pull request #821 from ceph/prepfog-v2
prep-fog-capture: Refactor, split, re-add cobbler-provided hacks
David Galloway [Mon, 23 Feb 2026 15:49:50 +0000 (10:49 -0500)]
Merge pull request #830 from ceph/nameserver-apt
Nameserver role updates
David Galloway [Fri, 20 Feb 2026 22:10:08 +0000 (17:10 -0500)]
Merge pull request #828 from ceph/builder-disk-uuid
jenkins-builder-disk: Use UUID instead of disk name
David Galloway [Fri, 20 Feb 2026 21:52:36 +0000 (16:52 -0500)]
nameserver: Optionally disable DNSSEC
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 21:45:36 +0000 (16:45 -0500)]
nameserver: Disable ipv6 for now
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 21:32:14 +0000 (16:32 -0500)]
nameserver: Support Ubuntu
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 20:39:23 +0000 (15:39 -0500)]
Merge pull request #829 from ceph/force-ntp
tools: Playbook to force time sync
David Galloway [Fri, 20 Feb 2026 20:38:59 +0000 (15:38 -0500)]
Merge pull request #827 from ceph/fix-forward
nameserver: Match A records to reverse[] in named_domains
David Galloway [Fri, 20 Feb 2026 20:38:51 +0000 (15:38 -0500)]
Merge pull request #826 from ceph/fix-ntp
ntp-server: Overhaul role
David Galloway [Fri, 20 Feb 2026 15:34:52 +0000 (10:34 -0500)]
jenkins-builder-disk: Support disk flipping on adami too
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 15:09:16 +0000 (10:09 -0500)]
tools: Playbook to force time sync
Useful during our emergency bring-up of the POK lab.
We were using the RHV hypervisor hosts as the NTP servers but who knows when they will be accessible again. For now, NTP server is on soko02
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 14:35:51 +0000 (09:35 -0500)]
jenkins-builder-disk: Use UUID instead of disk name
Avoids disk renaming tomfoolery during boot
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 13:53:05 +0000 (08:53 -0500)]
ntp-server: Overhaul role
- Get rid of netaddr. Modern ntpd supports CIDRs
- Make OS agnostic
- Support ufw, don't blow up if no firewall in use
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 20 Feb 2026 00:21:57 +0000 (19:21 -0500)]
nameserver: Match A records to reverse[] in named_domains
This will let multiple subnets/domains use the same ipvar
For example, bath and infra-compute can both have a if_25Gb_ip
```
bath14.front.sepia.ceph.com if_25Gb_ip=10.20.192.44
infra-compute-01.os.sepia.ceph.com if_25Gb_1_ip=172.16.53.11
front.sepia.ceph.com:
forward: front.sepia.ceph.com
ipvars:
- ip
- if_25Gb_1_ip
dynamic: true
ddns_hostname_prefixes:
- ovh
reverse:
- 10.20.192
- 10.20.193
os.sepia.ceph.com:
forward: os.sepia.ceph.com
ipvar: if_25Gb_1_ip
dynamic: false
reverse:
- 172.16.53
- 172.16.54
```
`bath14 IN A` will get written to front.sepia.ceph.com
`infra-compute-01 IN A` will get written to os.sepia.ceph.com
Signed-off-by: David Galloway <david.galloway@ibm.com>
Fernando Alcocer [Thu, 19 Feb 2026 22:16:51 +0000 (16:16 -0600)]
Refactor MAAS configuration tasks to use ansible.builtin.stat instead of shell commands for improved reliability and clarity
David Galloway [Thu, 19 Feb 2026 14:12:20 +0000 (09:12 -0500)]
Merge pull request #801 from ceph/playbook-sync
Sync playbooks from David's repo
Jitendra-Sahu [Tue, 9 Dec 2025 11:52:58 +0000 (17:22 +0530)]
Sync playbooks from other @David's repo
amend
Removed updated tools/jenkins-builder-disk.yml
David Galloway [Wed, 18 Feb 2026 19:12:02 +0000 (14:12 -0500)]
prep-fog-capture: Refactor, split, re-add cobbler-provided hacks
- Using systemd instead of rc.local:
- Configure netplan on boot for Ubuntu
- Configure NetworkManager on boot for CentOS/Rocky
- Set hostname
- Update packages and reboot
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Mon, 9 Feb 2026 18:42:16 +0000 (13:42 -0500)]
testnode: Stop rewriting /etc/hosts
We handle this in prep-fog-capture now by writing /etc/hosts from scratch.
Signed-off-by: David Galloway <david.galloway@ibm.com>
Dan Mick [Tue, 17 Feb 2026 18:09:32 +0000 (10:09 -0800)]
Merge pull request #825 from ceph/bindutils
testnode: bind-utils for dig
David Galloway [Tue, 17 Feb 2026 18:02:33 +0000 (13:02 -0500)]
testnode: bind-utils for dig
Signed-off-by: David Galloway <david.galloway@ibm.com>
Dan Mick [Sat, 14 Feb 2026 01:02:25 +0000 (17:02 -0800)]
Merge pull request #824 from ceph/deps
testnode: semanage and bzip2 for el9/10
David Galloway [Sat, 14 Feb 2026 00:53:39 +0000 (19:53 -0500)]
testnode: semanage and bzip2 for el9/10
Fixes: https://tracker.ceph.com/issues/74570
Fixes: https://tracker.ceph.com/issues/71624
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Fri, 6 Feb 2026 20:33:14 +0000 (15:33 -0500)]
Merge pull request #820 from deepssin/centos9-perl-test-harness
Fix pjd failure: prove - command not available
deepssin [Fri, 6 Feb 2026 09:46:48 +0000 (09:46 +0000)]
Fix pjd failure: prove - command not available
Signed-off-by: deepssin <deepssin@redhat.com>
David Galloway [Thu, 5 Feb 2026 15:49:53 +0000 (10:49 -0500)]
Merge pull request #819 from ceph/c9-fuse
testnode: fuse and net-tools for CentOS 9
David Galloway [Thu, 5 Feb 2026 14:57:53 +0000 (09:57 -0500)]
testnode: fuse and net-tools for CentOS 9
centos_9_stream.yml isn't actually pulled in
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Thu, 5 Feb 2026 14:32:04 +0000 (09:32 -0500)]
Merge pull request #817 from ceph/apt-https
common: s/http/https in apt sources as outbound port 80 is blocked in…
David Galloway [Thu, 5 Feb 2026 14:31:44 +0000 (09:31 -0500)]
Merge pull request #818 from ceph/openssl-rocky
testnode: Install openssl on Rocky
David Galloway [Thu, 5 Feb 2026 14:18:38 +0000 (09:18 -0500)]
testnode: Install openssl on Rocky
Fixes: https://tracker.ceph.com/issues/74766
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Thu, 5 Feb 2026 14:17:01 +0000 (09:17 -0500)]
common: s/http/https in apt sources as outbound port 80 is blocked in Sepia
Signed-off-by: David Galloway <david.galloway@ibm.com>
Dan Mick [Mon, 2 Feb 2026 22:16:16 +0000 (14:16 -0800)]
Merge pull request #816 from ceph/rocky-packages
Let's fix some teuthology tests
David Galloway [Mon, 2 Feb 2026 21:29:08 +0000 (16:29 -0500)]
testnode: Fuse for centos9
Fixes: https://tracker.ceph.com/issues/73630
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Mon, 2 Feb 2026 21:19:37 +0000 (16:19 -0500)]
testnode: net-tools for centos9
Fixes: https://tracker.ceph.com/issues/74589
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Mon, 2 Feb 2026 20:52:45 +0000 (15:52 -0500)]
testnode: Additional missing Rocky packages
Fixes: https://tracker.ceph.com/issues/73630
Fixes: https://tracker.ceph.com/issues/74572
Signed-off-by: David Galloway <david.galloway@ibm.com>
David Galloway [Thu, 29 Jan 2026 15:35:25 +0000 (10:35 -0500)]
Merge pull request #815 from ceph/wget-r10
testnode: Install wget on Rocky 10
Ilya Dryomov [Thu, 29 Jan 2026 14:55:04 +0000 (15:55 +0100)]
testnode: Install wget on Rocky 10
Same as in commit
ab478050c523 ("testnode: Install wget on CentOS 9").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
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
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>
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>
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
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>
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
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>
Dan Mick [Thu, 15 Jan 2026 02:47:48 +0000 (18:47 -0800)]
Merge pull request #809 from ceph/fog-fixes
Fog fixes
Fernando [Wed, 14 Jan 2026 16:52:38 +0000 (10:52 -0600)]
Update the documentation in the README file to include some missing things and things that were added with the latest tasks.
Signed-off-by: Fernando <fernando.alcocer.ochoa@ibm.com>
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
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>
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>
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>
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>
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>
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
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>
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
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>
Dan Mick [Fri, 12 Dec 2025 19:50:41 +0000 (11:50 -0800)]
Merge pull request #805 from ceph/zap-again
Refactor Zap again
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>
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>
David Galloway [Fri, 12 Dec 2025 17:24:14 +0000 (12:24 -0500)]
Merge pull request #804 from ceph/xattrs
testnode: Refactor xattrs tasks
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>
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
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
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>
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>
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
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>
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>
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
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>
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
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>
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
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>
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>
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>
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>
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>
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
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>
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
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>
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
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>