Bug 983226
Summary: | An error occurred while running the storage node upgrade: Process exited with an error: 1 during rhqctl upgrade from 4.8 to 4.9 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Armine Hovsepyan <ahovsepy> | ||||||
Component: | Upgrade | Assignee: | John Sanda <jsanda> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | JON 3.2 | CC: | jsanda, mfoley | ||||||
Target Milestone: | ER01 | ||||||||
Target Release: | JON 3.2.0 | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-01-02 20:33:38 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 951619 | ||||||||
Attachments: |
|
Description
Armine Hovsepyan
2013-07-10 18:47:37 UTC
I introduced this regression with a change I made in the storage installer to look for the new cassandra-jvm.properties file instead of cassandra-env.sh. The JMX port is defined in cassandra-env.sh in RHQ 4.8. The port is defined in cassandra-jvm.properties in RHQ 4.9 and going forward. The issue is that cassandra-jvm.properties does not exist in 4.8.0. I need to update the installer upgrade code to migrate from cassandra-env.sh to cassandra-jvm.properties. The storage installer has been updated along with some automated tests so that correctly handles both cassandra-env.sh (for 4.8 installs) and cassandra-jvm.properties for later installs. The fix will be in build 2443 of the rhq-master Jenkins job. master branch commit hash: 656cc606625 Upgrade is not working. Getting the following exception: "java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException: Cannot add column family 'users' to non existing keyspace 'system_auth'" Please get log attached. Created attachment 776845 [details]
rhqctl-upgrade-4.8-4.9.log
I am not exactly sure of the cause for that error but I suspect it is related to the fact that you cannot directly upgrade from a RHQ 4.8 install. This is because of the removal of native libraries from Cassandra that were present in 4.8. Because those libraries were packaged with Cassandra in RHQ 4.8, table compression may have been used if the native library support was available. Upgrading from 4.8 requires running a patch script against your 4.8 installation. I need to write up some docs on that script. I will update this bug with the link to those docs when I have them ready. Some instructions will be included in the RHQ 4.9 release notes which have not yet been created. For now, you run the patch script directly from the source tree in the master branch. The script is, <rhq-source>/etc/scripts/rhq48-storage-patch/rhq48-storage-patch.sh Instructions are provided as comments at the top of the script. Verified. storage patch worked, upgrade was possible from 4.8 to 4.9 after that. Could you please include the patch in rhq archive? Thanks in advance. |