[12:45:40] cdanis: yeah swiftrepl is in a sad state ATM as you have noticed, I'm ready to talk swiftrepl tho [12:54:35] hey godog! hope you had a good weekend [12:54:45] how is swiftrepl installed on ms-fe1005? was it just copied into /srv? [12:56:23] indeed [12:56:53] I then did some refactoring/improvement work which never made it to "production" and should have happened in a branch really [13:02:08] oh [13:02:40] does that mean 6c4571d onwards was never shipped? https://gerrit.wikimedia.org/r/plugins/gitiles/operations/software/+log/3411aaf15fad0988666f53d1874b03f922bbe381/swiftrepl/swiftrepl.py [13:05:29] that's correct yeah, I think we should move that work to a branch and have the actually deployed code in master instead [13:07:03] not sure what way would make the most sense but I'm happy to help [13:08:01] there's no revision of swiftrepl.py from git that matches what is in production [13:10:05] <_joe_> ooops [13:10:08] mhh I'm taking a look too, there should be [13:13:30] 7aa6fe0 has the smallest delta from what is there [13:14:25] https://phabricator.wikimedia.org/P8974 [13:15:30] cough cough... https://phabricator.wikimedia.org/T162123 cough cough... [13:15:51] <_joe_> oh right, volans is our expert! [13:16:19] <_joe_> cdanis: you can lean on him, he clearly knows the context pretty well! [13:16:23] sure, sure! [13:16:25] * volans promptly vanishes in a puff of logic [13:18:02] cdanis: indeed that's the smallest diff [16:48:20] https://grafana.wikimedia.org/d/000000479/frontend-traffic?panelId=4&fullscreen&orgId=1&var-site=All&var-cache_type=text&var-cache_type=upload&var-status_type=1&var-status_type=2&var-status_type=3&var-status_type=4&from=1566813546951&to=1566837256791 [16:48:27] ^ is that the same pattern as the php7 issue? [16:48:43] err nevermind, that's more like 10 minutes [16:56:02] systemd timer q. [16:56:20] can I use a subshell i.e. $(date %FT%T) in ExecStart? [16:56:29] i think not...but docs aren't clear to me yet [16:56:51] no, you'd have to call a shell for that [16:56:59] aye ok, so best to put in a new script then [16:56:59] oook [16:57:39] yeah I find calling an external script more maintainable overall, ditto for crons [16:58:01] ya just annoying to make new scripts in puppet all the time for oneliners [17:02:45] ottomata: you could make the ExecStart a /bin/sh -c ... invocation but you better be very careful with your quoting [17:03:01] ya that also is annoying, will just make a script [17:03:03] that is probably more thinking than I'd want to do, and is less maintainable ofc [17:03:07] ya [17:04:02] (if you were worried about getting the quoting right, I'd jokingly propose an even-grosser-and-less-maintainable kludge that no one should ever use ;) [21:00:02] hello i had a question about creating a ganeti instance, it says in the assign a hostname/ip section that when setting up the DNS you also pick a row, are there any considerations for that or are all choices equivalent? [21:00:52] and also how does the row choice translate into an IP address choice [21:02:21] the row choice on the ganeti side is based on available resources, or redundancy (if your VM is part of a cluster) [21:02:35] ip addres spaces are per row, so each row is a different subnet [21:02:58] okay [21:04:33] is this documented somewhere? [21:06:15] the ganeti part https://wikitech.wikimedia.org/wiki/Ganeti#Listing_cluster_nodes [21:06:55] chaomodus: what I usually do if I create only 1 VM per site is run `sudo gnt-group list` and create my VM in the row with the least "Instances" [21:08:12] i mean translating rows into subnets [21:08:20] i've got the selection part down i think [21:08:40] I thought that was in netbox and the zone files [21:09:02] netbox doesn't seem to connect subnets (prefixes) to rows or racks [21:09:11] unless i'm misunderstanding [21:10:15] https://netbox.wikimedia.org/ipam/prefixes/98/prefixes/ [21:10:28] which, frankly, what arce the chances of that [21:10:33] e.g. private1-a-eqiad is the private VLAN IP space for row A [21:10:55] yeah, it's in DNS too, but not clear indeed, it's all naming convention [21:10:56] ah that's logical [21:11:36] so if i'm making something in row a on eqiad that is private, i use that prefix, or which one for row a in eqiad that's public? [21:15:02] oh i suppose i search a vlan for the appropriae description [21:15:22] public1-a-eqiad or w/e [21:23:16] w/e? [21:23:34] whatever [21:23:59] yeah, public1-a-eqiad is correct [21:24:36] cool thanks all! [21:27:27] what service is this for chaomodus? [21:27:40] netbox [21:29:16] don't know if you will have ATS in front of it but if you will you won't need a public IP [21:29:32] it was decided it won't have ats in front [21:29:39] ok!