Bug 1431262
Summary: | [RFE] RHVM needs to also find the admin and user portals if accessed via DNS CNAME instead of DNS FQDN | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Greg Scott <gscott> |
Component: | ovirt-engine | Assignee: | Nobody <nobody> |
Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | gklein, gscott, lsurette, mperina, rbalakri, Rhev-m-bugs, srevivo, ykaul |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-12 21:03:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Greg Scott
2017-03-10 19:20:23 UTC
Sounds like a RFE than a bug to me? > Sounds like a RFE than a bug to me?
Yeah, I was thinking about that last night. It is documented to work this way and the customer needs it to work differently. I'l change the title.
- Greg
Greg, did you try setting the alternate FQDN @ /etc/ovirt-engine/engine.conf.d/99-custom-fqdn.conf ? SSO_ALTERNATE_ENGINE_FQDNS="CNAME-OR-ANOTHER-NAME" Wow - no - I didn't know you could do that. I'll check it out. - Greg I just tried it - it worked. My FQDN is rhev41beta.infrasupport.local. My cname is cnametest.infrasupport.local. [root@rhevm41beta engine.conf.d]# pwd /etc/ovirt-engine/engine.conf.d [root@rhevm41beta engine.conf.d]# more 99-custom-fqdn.conf SSO_ALTERNATE_ENGINE_FQDNS="cnametest.infrasupport.local" [root@rhevm41beta engine.conf.d]# Tried navigating to cnametest.infrasupport.local in a browser window - still returned the error. I restarted ovirt-engine: [root@rhevm41beta engine.conf.d]# systemctl restart ovirt-engine [root@rhevm41beta engine.conf.d]# systemctl status ovirt-engine ● ovirt-engine.service - oVirt Engine Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2017-03-12 12:47:09 EDT; 7s ago Main PID: 30352 (ovirt-engine.py) CGroup: /system.slice/ovirt-engine.service ├─30352 /usr/bin/python /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify start └─30384 ovirt-engine -server -XX:+TieredCompilation -Xms3971M -Xmx3971M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterva... Mar 12 12:47:09 rhevm41beta.infrasupport.local systemd[1]: Unit ovirt-engine.service entered failed state. Mar 12 12:47:09 rhevm41beta.infrasupport.local systemd[1]: ovirt-engine.service failed. Mar 12 12:47:09 rhevm41beta.infrasupport.local systemd[1]: Starting oVirt Engine... Mar 12 12:47:09 rhevm41beta.infrasupport.local systemd[1]: Started oVirt Engine. [root@rhevm41beta engine.conf.d]# And now all browser access works just fine. We should document all these .conf file tricks. - Greg Oh - this will come up - let's say I need multiple aliases pointing to the same FQDN. What's the syntax in /etc/ovirt-engine/engine.conf.d/99-custom-fqdn.conf ? SSO_ALTERNATE_ENGINE_FQDNS="CNAME-OR-ANOTHER-NAME" - can this be a list? If so, what's the separator? thanks - Greg This feature has already been solved by BZ1325746 in oVirt/RHV 4.0.4, please take a look at Doc Text of the bug to find out all necessary details. I'm closing now as duplicate, feel free to ask if something is unclear or reopen if some functionality is missing. *** This bug has been marked as a duplicate of bug 1325746 *** |