Bug 111291
Summary: | validation fails during ccm load if search set to intermedia | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Dennis Gregorovic <dgregor> |
Component: | installation | Assignee: | ccm-bugs-list |
Status: | CLOSED WONTFIX | QA Contact: | Jon Orris <jorris> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | CC: | jross, rafaels, sseago |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-28 21:30:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dennis Gregorovic
2003-12-01 19:41:19 UTC
Looks like it's failing when the validation tries to confirm that the intermedia search is only specified when the database is oracle. This actually works for already-loaded systems, but fails when loading from scratch. As a workaround, you can load the system without setting the search indexer and then later use "ccm set" to set it to intermedia. The failure is in the following line of code: if (Search.INDEXER_INTERMEDIA.equals(value) && DbHelper.getDatabaseFromURL(RuntimeConfig.getConfig().getJDBCURL()) != DbHelper.DB_ORACLE) { Is this call not valid at initial config time (i.e. within interactive "ccm load" config but before the system has gone through the loading steps)? disabled the validation check for now in 38394 so that we can remove this as a blocker bug. The root of the problem is that the first time that the validation is run the RuntimeConfig context hasn't been loaded yet, so RuntimeConfig.getConfig() fails. Reassinging to Rafi for the proper fix. resolution depends on parameters work that justin is doing |