Description of problem: When applying the CP on running agent it incorrectly shows "Successfully verified that [Agent] is already shut down." Version-Release number of selected component (if applicable): JON3.3.8.ER2 How reproducible: Always Steps to Reproduce: 1. install JON 3.3.0.GA 2. start it 3. unzip CP 8 4. run jon-server-3.3.0.GA-update-08/apply-updates.sh rhq-agent Actual results: jon-server-3.3.0.GA-update-08/apply-updates.sh rhq-agent Testing for INSTALL_PATCH_DEST[JON Server|JON agent] directory. Successfully detected agent [rhq-agent] to be upgraded. Proceeding... Proceeding with application of patch '08' to rhq-agent Checking [Agent] file permissions... Verifying that [Agent] is stopped... rhq-agent/bin/rhq-agent-wrapper.sh: line 220: cd: rhq-agent: No such file or directory Successfully verified that [Agent] is already shut down. Archiving legacy files. This list is cumulative and may attempt to remove files handled by earlier updates. Moving the following files to [rhq-agent/.patched/3.3.0.GA-update-08_02-02-17_08-31-09/.old] for server and/or [rhq-agent/.patched/3.3.0.GA-update-08_02-02-17_08-31-09/.old-agent] for agent: See 'rhq-agent/.patched/3.3.0.GA-update-08_02-02-17_08-31-09/update.log' for more archive details. Applying the update contents. We detected a (JON server) that had not yet been initialized/installed. You have successfully extracted updated installation contents into the (JON server). You should now proceed with installation/upgrade of JON servers as is appropriate. Expected results: CP should correctly detect that agent is running and abort patching process. Additional info: CP correctly detect running JON server
Moving to ON_QA as available for test with the latest build: JON 3.3.8 CR01 artifacts are available for test from here: http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/114/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip *Note: jon-server-patch-3.3.0.GA.zip maps to CR01 build of jon-server-3.3.0.GA-update-08.zip. https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=537179
Still getting same issue. Agent it incorrectly shows "Successfully verified that [Agent] is already shut down." **************************** ./apply-updates.sh ../../rhq-agent Testing for INSTALL_PATCH_DEST[JON Server|JON agent] directory. Successfully detected agent [../../rhq-agent] to be upgraded. Proceeding... Proceeding with application of patch '08' to ../../rhq-agent Checking [Agent] file permissions... Verifying that [Agent] is stopped... Successfully verified that [Agent] is already shut down. Archiving legacy files. This list is cumulative and may attempt to remove files handled by earlier updates. Moving the following files to [../../rhq-agent/.patched/3.3.0.GA-update-08_02-09-17_13-11-27/.old] for server and/or [../../rhq-agent/.patched/3.3.0.GA-update-08_02-09-17_13-11-27/.old-agent] for agent: See '../../rhq-agent/.patched/3.3.0.GA-update-08_02-09-17_13-11-27/update.log' for more archive details. Applying the update contents. We detected a (JON server) that had not yet been initialized/installed. You have successfully extracted updated installation contents into the (JON server). You should now proceed with installation/upgrade of JON servers as is appropriate. *****************************************