Bug 1020553
Summary: | nodejs-0.10 apps are using global modules linked to system nodejs | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jason DeTiberus <jdetiber> |
Component: | Containers | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, jhonce, mpatel, yadu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-24 03:25:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jason DeTiberus
2013-10-17 22:14:47 UTC
Working with Jason on the PR https://github.com/openshift/origin-server/pull/4021 Note to QE: Please test migration as well for this bug. test on devenv_3960, 1. For new app, Symlinks points to SCL nodejs libs (/opt/rh/nodejs010/root/usr/lib/node_modules) 2. For the old app after migration(devenv_stage ---> devenv_3959), there is no modules existed in nodejs/node_modules/ [n10-wsunmi2.dev.rhcloud.com 526f96618d8cea7403000059]\> ls -l nodejs/node_modules/ total 0 [n10-wsunmi2.dev.rhcloud.com 526f96618d8cea7403000059]\> https://github.com/openshift/li/pull/2061 Yan Du, Please test running the migration again after running it the first time to make sure it is re-entrant. Also, you need to pass the --ignore-cartride-version flag, since the versions haven't been bumped up for this release yet. Thanks, Mrunal Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/a89d597a6d0b02234cb5d76e19411a4f1db20e59 Bug 1020553: Fix for handling the nodejs dependencies during the upgrade. Upgrade devenv_stage_528 to devenv_3966 After migration, Symlinks points to SCL nodejs libs (/opt/rh/nodejs010/root/usr/lib/node_modules) for old nodejs-0.10 app too. [n10-dym.dev.rhcloud.com 52707bdfd8e8a76844000023]\> ls -l nodejs/node_modules/ total 0 lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 49 Oct 29 23:56 async -> /opt/rh/nodejs010/root/usr/lib/node_modules/async lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 51 Oct 29 23:56 connect -> /opt/rh/nodejs010/root/usr/lib/node_modules/connect lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 51 Oct 29 23:56 express -> /opt/rh/nodejs010/root/usr/lib/node_modules/express lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 54 Oct 29 23:56 formidable -> /opt/rh/nodejs010/root/usr/lib/node_modules/formidable lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 56 Oct 29 23:56 generic-pool -> /opt/rh/nodejs010/root/usr/lib/node_modules/generic-pool lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 48 Oct 29 23:56 mime -> /opt/rh/nodejs010/root/usr/lib/node_modules/mime lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 50 Oct 29 23:56 mkdirp -> /opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 51 Oct 29 23:56 mongodb -> /opt/rh/nodejs010/root/usr/lib/node_modules/mongodb lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 49 Oct 29 23:56 mysql -> /opt/rh/nodejs010/root/usr/lib/node_modules/mysql lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 55 Oct 29 23:56 node-static -> /opt/rh/nodejs010/root/usr/lib/node_modules/node-static lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 46 Oct 29 23:56 pg -> /opt/rh/nodejs010/root/usr/lib/node_modules/pg lrwxrwxrwx. 1 52707bdfd8e8a76844000023 52707bdfd8e8a76844000023 46 Oct 29 23:56 qs -> /opt/rh/nodejs010/root/usr/lib/node_modules/qs move bug to verified. Run the upgrade script twice and check the apps again, symlinks still points to SCL nodejs libs(/opt/rh/nodejs010/root/usr/lib/node_modules). |