Bug 1290088

Summary: rename utility doesn't change ENGINE_BASE_URL for vmconsole-proxy-helper
Product: [oVirt] ovirt-engine Reporter: movciari
Component: Tools.RenameAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, dfediuck, gklein, michal.skrivanek, sbonazzo, ylavi
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
dfediuck: devel_ack+
gklein: testing_ack+
Target Release: 3.6.3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: ovirt-engine-rename didn't change the fqdn in the vmconsole-proxy-helper conf file. Consequence: Fix: Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:00:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description movciari 2015-12-09 16:16:32 UTC
Description of problem:
after calling the rename utility:
/usr/share/ovirt-engine/setup/bin/ovirt-engine-rename

old hostname still appears in:
/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf in variable ENGINE_BASE_URL

Version-Release number of selected component (if applicable):
3.6.1-0.2.el6

Comment 1 Yedidyah Bar David 2015-12-16 08:04:14 UTC
Now grepped a bit in /etc after rename and see also the following issues.

VMConsole Proxy Helper:

1. /etc/pki/ovirt-engine/certs/vmconsole-proxy-helper.cer

Should we touch it? In engine we touch only apache pki. Need to check.
Also other pki.

Reports:

2. /etc/ovirt-engine-reports/sso.properties:getSessionUserGetSessionUserServletURL

3. Didn't check, but most likely if Reports and Engine are on different machines, and engine is renamed, Reports will not work.

I do not think we'll ever support rename of Reports, as it's easier to just install another machine with a new name (and export/import saved/adhoc reports if needed).