Closed
Bug 1083995
Opened 12 years ago
Closed 12 years ago
relengwebadm ./update for relengapi broken
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Callek, Assigned: cturra)
Details
(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1676] )
So, mrrrgn was doing a deploy of a relengapi application change today, and noticed that her change wasn't taking affect even though the package was properly being installed.
On investigating ./update it was doing:
cd $SITE_DIR
virtualenv/bin/pip install -U --no-index --find-links=http://pypi.pub.build.mozilla.org/pub/ -r requirements.txt
# hash the installed packge names to get the version (this is how webheads know if something changed)
pip freeze | md5sum > relengapi.revision
md5sum settings.py >> relengapi.revision
Which the key piece there is the `pip freeze` which was using system python pip, not the venv for relengapi.
I changed this for staging and production, but my takeaway Q (and why I have this bug even open) is if this is in puppet somewhere and needs updating for this or other properties.
Flags: needinfo?(nmaul)
| Assignee | ||
Comment 1•12 years ago
|
||
puppet is not managing any files in /data/releng/src/relengapi/, so there is nothing needing an update on that front.
[root@relengwebadm.private.scl3 src]# puppet-ls /data/releng/src/relengapi/ | wc -l
0
Assignee: server-ops-webops → cturra
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(nmaul)
OS: Windows 7 → All
Hardware: x86_64 → All
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•