Closed Bug 599147 Opened 14 years ago Closed 14 years ago

mysql access for new buildbot masters

Categories

(Infrastructure & Operations Graveyard :: NetOps, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: dmoore)

References

Details

I need access for 'buildbot_setup' to the scheduler_staging database on tm-stage01-master01.mozilla.org from 10.12.48.120, 10.12.48.122. (buildbot-master{1,2}.scl1.build.mozilla.com)
Blocks: 598816
Assignee: server-ops → justdave
also 10.12.48.113 and 10.12.48.115 please, since the masters are going to change their IPs soon.
from bug 599461, looks like 'buildbot' also needs access to 'buildbot_schedulers' from 10.12.48.111.  Any others as well?

dmoore or ravi: will need firewall holes poked:

destinations: 10.2.70.105:3306
              10.2.70.106:3306
sources: 10.12.48.111
         10.12.48.113
         10.12.48.115
         10.12.48.120
         10.12.48.122
Group: infra
dmoore or ravi: ignore comment 3.  Here's the correct ACL list that needs opened on the firewall:

destinations: 10.2.70.105:3306
              10.2.70.106:3306
sources: 10.12.48.111

destinations: 10.2.70.130:3306
              10.2.70.131:3306
sources: 10.12.48.113
         10.12.48.115
         10.12.48.120
         10.12.48.122

Though I'm sure there'll be more for 105/106 before long.
ACLs granted on the databases, over to netops for the firewall portion.
Assignee: justdave → network-operations
Component: Server Operations → Server Operations: Netops
it's middle of the night west coast US right now, given it was 14 hours ago when this was requested, it's highly likely the people waiting for it have given up and gone home, so I'm not going to page netops unless someone replies saying you're still desperate. :)  They should get to it in the morning otherwise.
(In reply to comment #6)
> it's middle of the night west coast US right now, given it was 14 hours ago
> when this was requested, it's highly likely the people waiting for it have
> given up and gone home, so I'm not going to page netops unless someone replies
> saying you're still desperate. :)  They should get to it in the morning
> otherwise.

Most of RelEng is travelling over the weekend, so I'm going to lower this further -- it can wait until Monday.
Severity: critical → major
Assignee: network-operations → dmoore
Firewall rules opened as requested in Comment #4
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I think we're missing something here; when I run this I just get a hang after entering the password:
[cltbld@buildbot-master2 master]$ mysql -u buildbot -h tm-b01-master01.mozilla.org -p
Enter password:
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Added access for 113 as well.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Looks like the firewall needs adjusting, too. I still can't even telnet to 3306.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Derek, can you make sure 113 has access? Thanks!
Can you see if there's any expiring of idle connections happening, too? I'm seeing an idle master reconnect to the database every few minutes -- which isn't normal.
I'm confused. Please take a look at Comment #4 and verify those are the required permissions. From Comment #9, it sounds like you want 10.12.48.113 to have access to 10.2.70.10[56], as well?
(In reply to comment #14)
> I'm confused. Please take a look at Comment #4 and verify those are the
> required permissions. From Comment #9, it sounds like you want 10.12.48.113 to
> have access to 10.2.70.10[56], as well?

Correct, as far as I can tell. I think things got confused when Jabba changed the IPs of the masters after this bug was filed. They use to be .120/.122 but changed to .111/.113.
OK, fixed. Sorry for the mixup.
No worries, thanks!

[cltbld@buildbot-master2 master]$ mysql -u buildbot -h tm-b01-master01.mozilla.org -p buildbot_schedulers
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 458187
Server version: 5.0.77-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select * from builds limit 1;
+----+--------+------+------------+-------------+
| id | number | brid | start_time | finish_time |
+----+--------+------+------------+-------------+
|  1 |      0 |   11 | 1274974279 |  1274976052 | 
+----+--------+------+------------+-------------+
1 row in set (0.00 sec)
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.