Last modified: 2014-01-22 21:30:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62013, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60013 - IRC RC feed is not working for any betacluster project
IRC RC feed is not working for any betacluster project
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-13 20:28 UTC by j.l
Modified: 2014-01-22 21:30 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description j.l 2014-01-13 20:28:38 UTC
The IRC RC feeds on irc.wikimedia.org are not working for the betacluster projects. IRC-Bot "rc-pmtpa" is present in the channel (e.g. #en.wikipedia.beta.wmflabs), but does not relay any recent changes.

Please check the current setup with [[wikitech:IRCD]]
Comment 1 Sam Reed (reedy) 2014-01-14 01:29:59 UTC
Did it ever work?
Comment 2 Antoine "hashar" Musso (WMF) 2014-01-14 09:12:44 UTC
That has been disabled: bug 56758 - Beta labs leaking into irc.wikimedia.org

The reason is that the channels would receive edits from both production and beta which is definitely confusing.

We had bug 53593 to setup an IRC server on beta (wontfixed).  If one wants, he could try to setup an IRC server in beta to which we could point the feed. I don't think it is worth the effort though.

*** This bug has been marked as a duplicate of bug 56758 ***
Comment 3 se4598 2014-01-16 19:07:28 UTC
@hashar: Would it been enabled (again) on the real irc-server if bug 56758 is fixed and edits are echoed to the correct channels. (as far as i understand the case currently the bug would resolve this one. Or os the one already resolved and there was an error in the config?)
Comment 4 Antoine "hashar" Musso (WMF) 2014-01-17 10:46:46 UTC
(In reply to comment #3)
> @hashar: Would it been enabled (again) on the real irc-server if bug 56758 is
> fixed and edits are echoed to the correct channels. (as far as i understand
> the
> case currently the bug would resolve this one. Or os the one already resolved
> and there was an error in the config?)

I guess we could prefix the irc channels with #beta- .  It is probably not going to cause too many load on the IRC server.

You would want to reach out with the bots operators to find out whether it is going to cause issues to have some new channels added.

We also need to implement a setting in MediaWiki to prefix the messages being sent to the IRC server.  I am no more familiar with this code but that is probably easy to do.   We can then set the prefix on the beta cluster, leaving production without prefix.
Comment 5 se4598 2014-01-17 21:48:12 UTC
as far as I see, we don't need to introduce a special prefix (which is possible). the current channel-prefix is generated in CommonSettings.php (search for $wmgRC2UDPPrefix) based on $wgServer.

comment 0 here indicates that it also worked for beta (#en.wikipedia.beta.wmflabs) by the fact that the bot created the channel and was present in it.

Anyhow we could override the nameing by overriding $wmgRC2UDPPrefix in labs CommonSettings.php (as consequence $wgRCFeeds['default'] too)

It should have been investigated, why it not worked for wikidata.beta.wmflabs.org. The current correct channel for this name would have been wikidata.beta.wmflabs.
I'm unsure what should be done now.

(unmarking as duplicate and reopening this bug)
Comment 6 se4598 2014-01-17 23:00:57 UTC
legoktm pointed me presumably to the right change: https://gerrit.wikimedia.org/r/#/c/47307/9/wmf-config/InitialiseSettings.php

some wikis have legacy channelnames. Using them on labs would be resulting in mixing up the RC for prod and beta in one channel because the lookup based on the wikiname, which is the same for prod and labs. (unconfirmed)

patch follows (untested)
Comment 7 Gerrit Notification Bot 2014-01-17 23:02:19 UTC
Change 108163 had a related patch set uploaded by Se4598:
Resetting legacy channel names on labs and enabling IRC-RC echo again

https://gerrit.wikimedia.org/r/108163
Comment 8 Gerrit Notification Bot 2014-01-22 19:14:31 UTC
Change 108163 merged by jenkins-bot:
Resetting legacy channel names on labs and enabling IRC-RC echo again

https://gerrit.wikimedia.org/r/108163
Comment 9 se4598 2014-01-22 21:30:59 UTC
thanks to Reedy for merging. I have done some test edits on beta and they show up in the correct channels.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links