Closed
Bug 1070020
Opened 10 years ago
Closed 10 years ago
Install extra packages on supportadm to allow package compilation during SUMO deploy.
Categories
(Infrastructure & Operations Graveyard :: WebOps: Community Platform, task)
Infrastructure & Operations Graveyard
WebOps: Community Platform
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mythmon, Assigned: cturra)
References
Details
(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1306] )
+++ This bug was initially created as a clone of Bug #1067586 +++ In Bug 1067586 we installed a bunch of build dependencies. It was great! We forgot to ask for two libraries though. We also need headers for libjpeg and zlib, for jpeg and png support in Pillow (our image library). These packages only need installed on the admin node. After this is installed, we will need to remove Pillow from the virtualenv on the admin node so that it will reinstall and pick up the new libraries. I don't have rights to do this, but I think that last step could be satisfied by rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ That shouldn't be done until after the new libraries are on the admin node.
Reporter | ||
Comment 1•10 years ago
|
||
Gah. Deanj pointed out I mispasted the rm -rf lines. The real lines are here. The goal is to delete Pillow and PIL from the virtualenv of dev, stage, and prod. This can happen at any time after the libs are installed, and will be corrected during the next deploy. rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ rm -rf /data/support-stage/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support-stage/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ rm -rf /data/support-dev/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ rm -rf /data/support-dev/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/
Assignee | ||
Comment 2•10 years ago
|
||
just removing kanban card url, so this will get picked up correctly by our kanbanize automation script.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1276]
Assignee | ||
Comment 3•10 years ago
|
||
as discussed in irc, zlib{-devel} was already present on this node, but we did need libjpeg-turbo-devel.. Notice: /Stage[main]/Webapp::Admin::Support/Package[libjpeg-turbo-devel]/ensure: created additionally, the directories you've requested removal are now deleted. [root@supportadm.private.phx1 ~]# rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ [root@supportadm.private.phx1 ~]# rm -rf /data/support/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ [root@supportadm.private.phx1 ~]# rm -rf /data/support-stage/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ [root@supportadm.private.phx1 ~]# rm -rf /data/support-stage/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/ [root@supportadm.private.phx1 ~]# rm -rf /data/support-dev/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/Pillow-2.4.0-py2.6.egg-info/ [root@supportadm.private.phx1 ~]# rm -rf /data/support-dev/src/support.mozilla.org/kitsune/virtualenv/lib/python2.6/site-packages/PIL/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 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
•