mpopov added a comment.

@Ottomata @Gehel: I tried editing stat1005:/srv/published-datasets/discovery/metrics/wdqs/basic_usage.tsv but couldn't because the file belongs to group analytics-search, not analytics-search-users which sort of makes sense because of how we have it configured right now in statistics::discovery:

$user = 'analytics-search'
$group ='analytics-privatedata-users'

...

cron { 'wikimedia-discovery-golden':
    ensure  => present,
    command => "cd ${dir}/golden && sh main.sh >> ${log_dir}/golden-daily.log 2>&1",
    hour    => '5',
    minute  => '0',
    require => [
        Class['::statistics::compute'],
        Git::Clone['wikimedia/discovery/golden'],
        Mysql::Config::Client['discovery-stats']
    ],
    user    => $user,
}

and main.sh in wikimedia/discovery/golden repo that generates these datasets:

# files created / touched by report updater need to be rw for user and group
umask 002

From Puppet 3.8 documentation for cron, it's not clear whether we can…somehow set a group? (Would that even make sense?)

I need to edit that file to erase all request counts affected by the 'misc' partition drop that we can recount from the 'text' partition.


TASK DETAIL
https://phabricator.wikimedia.org/T204415

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mpopov
Cc: gerritbot, Gehel, Ottomata, elukey, Nuria, mpopov, chelsyx, Aklapper, Addshore, Smalyshev, Lydia_Pintscher, NebulousIris, Akovalyov, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, Lewizho99, Maathavan, Jonas, Xmlizer, JAllemandou, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to