Description of problem: Inccorect thread dump file path is provided after generating thread dump file for jbosseap-6.0. Following error is displayed if using the provided path: # rhc app tail -a jbooeap -f jbooeap/jbossas-7/standalone/tmp/jbooeap.log -o '-n 250' Password: ****** Attempting to tail files: jbooeap/jbossas-7/standalone/tmp/jbooeap.log Use ctl + c to stop Could not find any files matching glob [root@Joycezh jbooeap]# Version-Release number of selected component (if applicable): rhc-0.95.13 stg.openshift.redhat.com Fedora17 How reproducible: always Steps to Reproduce: 1. Create an app with the type jbosseap-6.0 #rhc app create -a jbooeap -t jbosseap-6.0 -l test -p ** 2. Generate thread dump file # rhc app threaddump -a jbooeap -l test -p ** 3. Check the generated log file with the provided path: The thread dump file will be available via: rhc app tail -a jbooeap -f jbooeap/jbossas-7/standalone/tmp/jbooeap.log -o '-n 250' Actual results: The provided path is incorrect as it could not find any files matching glob. Expected results: The generated log file can be displayed with the path. Additional info: # rhc app tail -a jbooeap -f jbosseap-6.0/jbosseap-6.0/standalone/tmp/jbooeap.log -o '-n 250'
Fix in https://github.com/openshift/crankcase/pull/236
li commit 308d48e45c655ae088e1b70aa118baf1c2ac7daf
Fixed in master
Verified build: rhc-0.95.14 devenv_1885 Verified results: The correct path is provided when generating thread dump file, Please refer to following message copied from command line. #rhc app threaddump -a app1 -p redhat RESULT: Success The thread dump file will be available via: rhc app tail -a app1 -f app1/jbosseap-6.0/standalone/tmp/app1.log -o '-n 250' So it is fixed and can be closed. Thanks.
It fixed with devenv_1895, not devenv_1885. Thanks.