Last modified: 2013-08-21 02:50:45 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 T55133, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53133 - cannot find replica.my.cnf in bot home directory
cannot find replica.my.cnf in bot home directory
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
Macintosh Mac OS X 10.8
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-20 23:00 UTC by Jonathan Morgan
Modified: 2013-08-21 02:50 UTC (History)
2 users (show)

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


Attachments

Description Jonathan Morgan 2013-08-20 23:00:33 UTC
Today I set up two bots on Labs (hostbot and grantsbot). I'd like to be able to access the MYSQL replica dbs.

The doc here: https://wikitech.wikimedia.org/wiki/Help:Move_your_bot_to_Labs#Database_access

...says that there should be credentials file (replica.my.cnf) in the home directory of each bot, but I can't find this file in either home. Any idea where I can find/generate these files?

Thanks,
Jonathan
Comment 1 Tim Landscheidt 2013-08-21 02:09:40 UTC
Coren: Just to clarify: replica.my.cnf gets created by wikitech?  The replica DB servers?  And those need to remount the NFS share /tools/project after the maintenance?
Comment 2 Marc A. Pelletier 2013-08-21 02:50:45 UTC
It gets created on the NFS server, which is the only box that has access to all of the project shared filesystem and the database servers.

That said, the mistake was mine:  when I did the maintenance, I had to shut down the daemon that creates those files (because the filesystem could not be modified while being copied) but I forgot to reenable it.  Fixed.

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


Navigation
Links