Bug 989276
Summary: | OPENMEAP on OPENSHIFT install : No such file or directory | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Yones Lebady <info> | ||||
Component: | Templates | Assignee: | Dan Mace <dmace> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.x | CC: | agrimm, info, tfeng, wsun, yujzhang | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-10-17 13:27:47 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: | |||||||
Attachments: |
|
The double slash is a red herring, and this is directly related to https://bugzilla.redhat.com/show_bug.cgi?id=980321 There's an implicit assumption in that bugfix that "ROOT.war" will always exist, but the OpenMEAP quickstart directs users to a specific URL: https://openmeap-$yournamespace.rhcloud.com/openmeap-admin-web/interface/ ROOT.war in a successfully deployed OpenMEAP app in OpenShift is just the stuff we put in jbossews/template/src. So, it seems like simply verifying the existence of the source before copying it would be sufficient. Also note that if you make a bare jbossews app in OpenShift and then merge in OpenMEAP code, is works fine, because post_install only runs at cartridge install time. So in order to test a fix for this, you _must_ use "--from-code". Tested on devenv_3660, tried to create OpenMEAP application from website or using --from-code, but all met "cp: cannot stat `/var/lib/openshift/426114806412954633764864/jbossews//webapps/ROOT.war': No such file or directory " error. It can work correct when creating it maunally from github repo, so --from-code is still not working. Of course it's not working; the bug has not been fixed yet. I merely suggested what the fix would be. Will verify this bug after pull request is merged. Will verify this bug after pull request is merged. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0aabe9026232b33542a78985b86018d6d54ebbb8 Bug 989276 - Check for existence of ROOT.war before attempting to copy it Test on devenv_3829 and can create OpenMEAP application successfully via web console. So verify this bug, thanks! |
Created attachment 779480 [details] Error screenshot Description of problem: Unable to install OPENMEAP over JBOSS EWS 2.0 cartridge on OPENSHIFTÂ free trial gear Version-Release number of selected component (if applicable): How reproducible: INSTALLÂ OPENMEAP quick start on a gear. Steps to Reproduce: 1. 2. 3. Actual results: cp: cannot stat `/var/lib/openshift/51f5c3bee0b8cd950f002e95/jbossews//webapps/ROOT.war': No such file or directory Expected results: correct install /var/lib/openshift/51f...e95/jbossews/webapps/ROOT.war Additional info: There is an error anywhere in the installation script that throws a double slash in the installation path: /var/lib/openshift/51f...e95/jbossews//webapps/ROOT.war ^^ ^^