prep-fog-capture: Refactor, split, re-add cobbler-provided hacks#821
prep-fog-capture: Refactor, split, re-add cobbler-provided hacks#821djgalloway wants to merge 2 commits intomainfrom
Conversation
63d684a to
77ef5d7
Compare
1815898 to
c94f475
Compare
| @@ -0,0 +1,152 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
so...teuthology/provision.fog.py:_fix_hostname() exists, and in my experience handles this. Is there a context where we're using cephlab hosts with fog without using teuthology-lock to provision them?
There was a problem hiding this comment.
I don't understand. Did @idryomov request this change?
There was a problem hiding this comment.
Sorry, I thought the discourse was in GitHub comments but it was in Slack https://ceph-storage.slack.com/archives/C1HFJ4VTN/p1770386655453139
There was a problem hiding this comment.
@idryomov seemed to think so
Not really -- I wasn't even aware of _fix_hostname() in teuthology/provision.fog.py ;) I'll note that we clearly have too many places that attempt or attempted to do this at some point -- I have pointed out roles/testnode/tasks/static_ip.yml in this repo earlier.
I reported this issue in the context of the RBD suite, scheduled as usual with teuthology-suite command. It's not even a job that involves the kernel task and associated reboots, so about as bog-standard as possible.
There was a problem hiding this comment.
Okay, well, I removed static_ip.yml in this PR and the changes in this PR are already in use and have absolutely stabilized things over the past day.
c94f475 to
02a5220
Compare
We handle this in prep-fog-capture now by writing /etc/hosts from scratch. Signed-off-by: David Galloway <david.galloway@ibm.com>
- 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>
02a5220 to
f6c9e2c
Compare
Uh oh!
There was an error while loading. Please reload this page.