Closed Bug 789506 Opened 10 years ago Closed 10 years ago

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


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

Not set


(Not tracked)



(Reporter: emorley, Assigned: cturra)



(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).



(In reply to Chris Turra [:cturra] from comment #1)
> php-cli is installed in the tbpl-dev environment:
>   [ ~]# 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/
> 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. 


(In reply to Jake Maul [:jakem] from comment #2)
> I have installed php-pdo on 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 :)
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [push interrupt]
Ah, great - thanks! :-)
Component: Server Operations: Web Operations → WebOps: Other
Product: → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.