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

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: emorley, Assigned: cturra)

Tracking

Details

(Whiteboard: [push interrupt])

(Reporter)

Description

5 years ago
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)

Updated

5 years ago
Assignee: server-ops-webops → cturra
(Assignee)

Comment 1

5 years ago
: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
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Whiteboard: [push interrupt]
(Reporter)

Comment 2

5 years ago
Ah, great - thanks! :-)
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.