Bug 844267
Summary: | Changes to an old existing jbossas application is not deployed after git push | ||
---|---|---|---|
Product: | OKD | Reporter: | Jianwei Hou <jhou> |
Component: | Containers | Assignee: | Bill DeCoste <wdecoste> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | Keywords: | Triaged |
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: | 2012-08-07 20:42:17 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
Jianwei Hou
2012-07-30 07:24:41 UTC
expect to have a fix today Fixed perms for JAVA_HOME Tested it on devenv_1931, after git push, changes are still not deployed Steps: 1.Lauch an older instance, devenv-stage_226 2.upgrade and migrate 3.go to app's repo, make some change, eg modifying the index.html so the changes are visible via website. Then git push 4.Open app's website, and no changes are deployed. 5.shh into application, check changes under app-root/repo, chanages are consistent with my local repo. But the app's website did not show any changes. Restart and reload app, problem is still there. This problem exists only with an existing jbossas application after upgrading an old instance. Do you have an existing devenv I can log into to see what's going on? What exactly are you running to perform the upgrade/migration? Been able to recreate. Changes are not in ./8762244262ae4f2dae1f377bfb54845f/jbossas-7/jbossas-7/standalone/tmp/vfs/temp6c59feb90932982f/ROOT.war-d0552488d82b1905 In new apps /jbossas-7/jbossas-7/standalone/deployments is a link to app-root/repo/deployments but in old apps it's a copy. Builds update the latter but deployments happen from the former. So we always deploy the original ROOT.war. Look like we need to update the migration script to switch from copy to link. Updated rhc-admin-migrate and migrate.rb Verified on devenv_1933 Steps: 1.Lauch an older instance, devenv-stage_226 2.upgrade and migrate 3.go to app's repo, make some change, eg modifying the index.html so the changes are visible via website. Then git push 4.Open app's website, changes are deployed. Fixed |