Closed Bug 1475616 Opened 7 years ago Closed 6 years ago

Convert 2 t-yosemite-r7 hosts to secondary deploystudio hosts in mdc1/2

Categories

(Infrastructure & Operations :: RelOps: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dividehex, Assigned: dividehex)

References

Details

Attachments

(1 file)

In order to prepare for supporting new MacOS version, such as Mojave, we will need to setup a new deploystudio host in both mdc1 and mdc2. We will need to convert one t-yosemite-r7 host in both MDC1 and MDC2.
For MDC1, I'll be converting t-yosemite-r7-393.test.releng.mdc1.mozilla.com 10.49.56.17 a8:60:b6:1a:6c:10. It has been reserved for fw testing for quite sometime now so converting it will be simple and from an IPAM perspective, it 'sits' right next to install in the IP range. I'll be renaming the host to install2.test.releng.mdc1.
The new secondary ds host is setup to the point of being puppetized. The next step is to create a high sierra installed and manually upgrade the OS. Once that is complete, I'll install the server app and the latest deploystudio. In the meantime, I'm going to convert t-yosemite-r7-201.test.releng.mdc2 to install2.test.releng.mdc2. I've quarantined this and the last job has completed.
Blocks: 1480246
install2.srv.releng.mdc1 has been upgraded to High Sierra. When it came back up, vnc was disabled but I was still able to ssh in. We wont be able to run puppet on this host since ruby was upgraded and this breaks compatibility with puppet 3.8. (Good riddance) Supporting macOS High Sierra and Mojave it going to force us to utilize puppet 5, at least on the agent side. So for the time being, this host will not be puppetized. One last note, I had to reset the dsadmin password post upgrade since logging into the dsadmin user via vnc was just not working. [root@install2.test.releng.mdc1.mozilla.com opt]# sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw <redacted> -restart -agent -privs -all [root@install2.test.releng.mdc1.mozilla.com opt]# dscl . passwd /Users/dsadmin
Attachment #9014852 - Flags: checked-in+
The new deploystudio host in mdc2 is mostly set up now in preparation for supporting Mojave. Workflows still need to be configured. Below are the general steps completed for setting up the deploystudio host. * install2.test.releng.mdc2.mozilla.com upgraded to High Sierra 10.13.6 * re-enabled vnc and reset dsadmin password * deploystudio 1.7.8 installed and configured * smb configued to share /Deploy * Netboot set created and APFS fix applied * Copied netboot to bsdpy1.test.releng.mdc2 * deleted NetInstall.dmg -> NetInstall.sparseimage symlink in netboot and renamed NetInstall.sparseimage to NetInstall.dmg (seems to be required for bsdpy to work) Steps to repair netboot set with APFS fix: * hdiutil attach NetInstall.sparseimage -owners on * rsync /System/Library/Filesystems/apfs.fs/Contents/Resources/ /Volumes/DeployStudioRuntime/System/Library/Filesystems/apfs.fs/Contents/Resources -av * hdiutil eject /Volumes/DeployStudioRuntime/

Workflows are configured. We can call this complete.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: