Closed Bug 789506 Opened 12 years ago Closed 12 years ago

Check production tbpl has php-cli & php-mysql installed on the admin node

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: cturra)

References

Details

(Whiteboard: [push interrupt])

We're hoping to push bug 718632 to TBPL production soon, so I wanted to make sure that the dependencies we had to add to get it running on tbpl-dev are present on the admin node that deals with production tbpl. (I don't know if it's the same machine as dev or not).

Context:

php-cli...

(In reply to Chris Turra [:cturra] from comment #1)
> php-cli is installed in the tbpl-dev environment:
> 
>   [root@generic1.dev.webapp.phx1 ~]# yum list installed | grep php-cli
>   php-cli.x86_64                       5.3.3-14.el6_3             @rhel-base

(In reply to Arpad Borsos (Swatinem) from comment #2)
> Hm in that case i wonder why this command is failing:
> php
> /data/genericrhel6-dev/src/tbpl-dev.allizom.org/tbpl/dataimport/../php/
> getLogExcerpt.php id=14749478&type=annotated
> 
> can you run that manually and post the output?

(In reply to Chris Turra [:cturra] from comment #3)
> Arpad - it turns out that php-cli was on the web heads, but not the admin
> node in the web cluster. i have installed that for you and manually ran an
> update to tbpl-dev to see if the php commands in the update completed as
> expected. everything now looks correct. 

php-mysql...

(In reply to Jake Maul [:jakem] from comment #2)
> I have installed php-pdo on genericadm.private.phx1.mozilla.com. This should
> resolve this particular issue.

(In reply to Arpad Borsos (Swatinem) from comment #3)
> Hm pdo is installed, but not pdo-mysql:
> Uncaught exception 'PDOException' with message 'could not find driver'

(In reply to Jake Maul [:jakem] from comment #4)
> Hah, nice... okay, I installed php-mysql instead of -pdo, and that pulls in
> -pdo as a dependency.


Thank you :-)
Assignee: server-ops-webops → cturra
:edmorley - we have a single puppet manifest that maintains packages across dev/stage/prod for this web cluster, so all the php packages that are in dev are ready to go in the other environments. thnx for the checking tho :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [push interrupt]
Ah, great - thanks! :-)
Component: Server Operations: Web Operations → WebOps: Other
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.