Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1281590

Summary: Horizon doesn't load when deploying without pacemaker
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: rhosp-directorAssignee: chris alfonso <calfonso>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: gfidente, hbrock, mburns, rhel-osp-director-maint, srevivo, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1272180 Environment:
Last Closed: 2015-11-12 21:27:35 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: 1272180    
Bug Blocks:    

Description Marius Cornea 2015-11-12 21:24:18 UTC
+++ This bug was initially created as a clone of Bug #1272180 +++

Description of problem:
When deploying keepalived controller Horizon won't load because the default vhost takes precedence over the horizon one.

Version-Release number of selected component (if applicable):
openstack-heat-templates-0.0.1-dev381.el7.centos.noarch
openstack-tripleo-heat-templates-0.8.7-dev284.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy 1 x controller + 1 x compute with isolated networks and keepalived:
openstack overcloud deploy --templates ~/templates/my-overcloud -e ~/templates/my-overcloud/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e ~/templates/firstboot-environment.yaml  --control-scale 1 --compute-scale 1  --libvirt-type qemu
2. Check /etc/httpd/conf.d/

Actual results:
Both 15-default.conf and 15-horizon_vhost.conf are present so the default takes precedence. 

Expected results:
The horizon vhost takes precedence. 

Additional info:
It looks that the non-pacemaker deployment doesn't set the vhost priority:
 
https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/manifests/overcloud_controller.pp#L464

Comment 2 Mike Burns 2015-11-12 21:27:35 UTC
At this time, we don't support non-pacemaker deployments with director