Bug 1330156 - ovirt-engine-rename seems not to touch /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf
Summary: ovirt-engine-rename seems not to touch /etc/ovirt-engine/engine.conf.d/11-set...
Keywords:
Status: CLOSED DUPLICATE of bug 1330168
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Tools.Rename
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: ---
: ---
Assignee: Ravi Nori
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-25 13:13 UTC by Jiri Belka
Modified: 2017-05-11 09:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-26 18:55:42 UTC
oVirt Team: Infra
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Jiri Belka 2016-04-25 13:13:08 UTC
Description of problem:

after running ovirt-engine-rename old "hostname" is still present in /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf

~~~
/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf: engine=10-34-60-185.example.com:443
/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf: engine=10-34-60-185.example.com:443
/etc/ovirt-engine/engine.conf.d/10-setup-reports-access.conf: ENGINE_REPORTS_BASE_URL=https://10-34-60-185.example.com:443/ovirt-engine-reports
/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf: ENGINE_FQDN=10-34-60-185.example.com
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf: ENGINE_SSO_AUTH_URL="https://10-34-60-185.example.com:443/ovirt-engine/sso"
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf: SSO_ENGINE_URL="https://10-34-60-185.example.com:443/ovirt-engine/"
/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf: ENGINE_BASE_URL=http://10-34-60-185.example.com:80/ovirt-engine/
/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf: engine=10-34-60-185.example.com:443
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_CONFIG/fqdn=str:10-34-60-185.example.com
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_ENGINE_CONFIG/fqdn=str:10-34-60-185.example.com
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_ENGINE_CONFIG/fqdn=str:10-34-60-185.example.com

~~~

/usr/share/ovirt-engine/setup/bin/ovirt-engine-rename ...

~~~
/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf: engine=10-34-60-167.example.com:443
/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf: engine=10-34-60-167.example.com:443
/etc/ovirt-engine/engine.conf.d/10-setup-reports-access.conf: ENGINE_REPORTS_BASE_URL=https://10-34-60-185.example.com:443/ovirt-engine-reports
                                          ^^^ old
/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf: ENGINE_FQDN=10-34-60-167.example.com
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf: ENGINE_SSO_AUTH_URL="https://10-34-60-185.example.com:443/ovirt-engine/sso"
                                      ^^^ old
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf: SSO_ENGINE_URL="https://10-34-60-185.example.com:443/ovirt-engine/"
                                 ^^^ old
/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf: ENGINE_BASE_URL=http://10-34-60-167.example.com:80/ovirt-engine/
/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf: engine=10-34-60-167.example.com:443
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_CONFIG/fqdn=str:10-34-60-167.example.com
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_ENGINE_CONFIG/fqdn=str:10-34-60-167.example.com
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf: OVESETUP_ENGINE_CONFIG/fqdn=str:10-34-60-167.example.com
~~~

(ignore '10-setup-reports-access.conf', i don't have ovirt-engine-report-setup installed)


Version-Release number of selected component (if applicable):
ovirt-engine-setup-base-4.0.0-0.0.master.20160423161403.gite38df80.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. check what hostnames are in /etc/ovirt-engine* files
2. ovirt-engine-setup-base-4.0.0-0.0.master.20160423161403.gite38df80.el7.centos.noarch
3. check what hostnames are in /etc/ovirt-engine* files

Actual results:
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf still has old hostname

Expected results:
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf should probably have new hostname

Additional info:
i suppose /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf should have new hostname

Comment 2 Martin Perina 2016-04-26 18:55:42 UTC
It seems to me like a duplicate of 1330168, ovirt-engine-rename should be fixed to be able to handle changes required by introduction of SSO.

*** This bug has been marked as a duplicate of bug 1330168 ***


Note You need to log in before you can comment on or make changes to this bug.