Closed
Bug 1140018
Opened 9 years ago
Closed 9 years ago
add a puppetmaster to use1
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arich, Assigned: dustin)
References
Details
Attachments
(3 files)
52 bytes,
text/x-github-pull-request
|
rail
:
review+
|
Details | Review |
1020 bytes,
patch
|
arich
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
3.00 KB,
patch
|
arich
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
For DR purposes, we need a puppetmaster outside of the scl3 datacenter, and use1 is the better choice since it's on the opposite coast. Please stand one up there, and preferably have some hosts actually use it so that we know it remains functional through whatever modifications we make to pupetmasters.
Assignee | ||
Comment 1•9 years ago
|
||
Per IRC conversation, since it's much easier to set up two at once than separately, we'll create one each in use1 and usw2.
Assignee | ||
Comment 2•9 years ago
|
||
https://gist.github.com/djmitche/cb349b2a3b3888031708
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8574768 -
Flags: review?(rail)
Assignee | ||
Comment 4•9 years ago
|
||
Manually created /data with [root@releng-puppet1 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 35G 0 disk ├─xvda1 202:1 0 61M 0 part /boot └─xvda2 202:2 0 35G 0 part └─cloud_root-lv_root (dm-0) 253:0 0 35G 0 lvm / xvdb 202:16 0 4G 0 disk xvdc 202:32 0 400G 0 disk [root@releng-puppet1 ~]# ls -al /data/ total 8 drwxr-xr-x 2 puppetsync puppetsync 4096 Mar 9 11:00 . dr-xr-xr-x 25 root root 4096 Mar 9 11:19 .. [root@releng-puppet1 ~]# pvcreate /dev/xvdc Physical volume "/dev/xvdc" successfully created [root@releng-puppet1 ~]# vgextend cloud_root /dev/xvdc Volume group "cloud_root" successfully extended [root@releng-puppet1 ~]# lvcreate cloud_root -n data -L 400G Volume group "cloud_root" has insufficient free space (102399 extents): 102400 required. [root@releng-puppet1 ~]# lvcreate cloud_root -n data -L 399G Logical volume "data" created [root@releng-puppet1 ~]# mkfs.ext4 /dev/cloud_root/data mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 26148864 inodes, 104595456 blocks 5229772 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 3192 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 31 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
Assignee | ||
Comment 5•9 years ago
|
||
oh, and add it to /etc/fstab and mount it.
Updated•9 years ago
|
Attachment #8574768 -
Flags: review?(rail) → review+
Assignee | ||
Comment 6•9 years ago
|
||
The use1 master is still rsync'ing packages (still midway through the Ubuntu universe, unfortunately), so I won't land this until it's done. But the usw2 master is done rsync'ing and a puppet run against itself works fine, so I expect use1 to work fine, too.
Attachment #8575260 -
Flags: review?(arich)
Reporter | ||
Updated•9 years ago
|
Attachment #8575260 -
Flags: review?(arich) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8575365 -
Flags: review?
Reporter | ||
Updated•9 years ago
|
Attachment #8575365 -
Flags: review? → review+
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8575365 [details] [diff] [review] bug1140018-known-hosts.patch remote: https://hg.mozilla.org/build/puppet/rev/b9bcc4a20726
Attachment #8575365 -
Flags: checked-in+
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8575260 [details] [diff] [review] bug1140018.patch remote: https://hg.mozilla.org/build/puppet/rev/213f3c6476b3
Attachment #8575260 -
Flags: checked-in+
Assignee | ||
Comment 10•9 years ago
|
||
Should be complete. I'll watch the puppetspam for issues.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•