Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Horizon endpoint loads the Apache default web page on Openstack Ansible

Hello,

I have deployed Openstack Ansible on 3 machines, one acting only as an deployment node, one with all the infrastructure and one with the compute. The Ansible playbooks were completed with no failures, but the horizon endpoint loads the default Apache http page, not the Openstack dashboard.

I have tried rerunning the os-horizon-install.yml playbook. This also runs with no failure, but changes nothing significant. I do not know how to procede, I have already redone the entire installation, but I keep arriving at this crossroads. Any pointer in what direction might be best will be greatly appreciated.

This is my openstack_user_config.yml

---
cidr_networks:
  container: 172.29.236.0/22
  tunnel: 172.29.240.0/22
  storage: 172.29.244.0/22

used_ips:
  - "172.29.236.1,172.29.236.200"
  - "172.29.240.1,172.29.240.200"
  - "172.29.244.1,172.29.244.200"
  - "172.29.248.1,172.29.248.200"

global_overrides:
  internal_lb_vip_address: 172.29.236.63
  external_lb_vip_address: 172.29.236.63
  tunnel_bridge: "br-vxlan"
  management_bridge: "br-mgmt"
  provider_networks:
    - network:
        container_bridge: "br-mgmt"
        container_type: "veth"
        container_interface: "eth1"
        ip_from_q: "container"
        type: "raw"
        group_binds:
          - all_containers
          - hosts
        is_container_address: true
        is_ssh_address: true
    - network:
        container_bridge: "br-vxlan"
        container_type: "veth"
        container_interface: "eth10"
        ip_from_q: "tunnel"
        type: "vxlan"
        range: "1:1000"
        net_name: "vxlan"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-vlan"
        container_type: "veth"
        container_interface: "eth12"
        host_bind_override: "eth12"
        type: "flat"
        net_name: "flat"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-vlan"
        container_type: "veth"
        container_interface: "eth11"
        type: "vlan"
        range: "1:1"
        net_name: "vlan"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-storage"
        container_type: "veth"
        container_interface: "eth2"
        ip_from_q: "storage"
        type: "raw"
        group_binds:
          - glance_api
          - cinder_api
          - cinder_volume
          - nova_compute

###
### Infrastructure
###

# galera, memcache, rabbitmq, utility
shared-infra_hosts:
  infra1:
    ip: 172.29.236.63

# repository (apt cache, python packages, etc)
repo-infra_hosts:
  infra1:
    ip: 172.29.236.63

# load balancer
haproxy_hosts:
  infra1:
    ip: 172.29.236.63

###
### OpenStack
###

# keystone
identity_hosts:
  infra1:
    ip: 172.29.236.63

# cinder api services
storage-infra_hosts:
  infra1:
    ip: 172.29.236.63

# glance
image_hosts:
  infra1:
    ip: 172.29.236.63

# nova api, conductor, etc services
compute-infra_hosts:
  infra1:
    ip: 172.29.236.63

# heat
orchestration_hosts:
  infra1:
    ip: 172.29.236.63

# horizon
dashboard_hosts:
  infra1:
    ip: 172.29.236.63

# neutron server, agents (L3, etc)
network_hosts:
  infra1:
    ip: 172.29.236.63

# nova hypervisors
compute_hosts:
  compute1:
    ip: 172.29.236.110

# cinder storage host (LVM-backed)
storage_hosts:
  compute1:
    ip: 172.29.236.110
    container_vars:
      cinder_backends:
        limit_container_types: cinder_volume
        lvm:
          volume_group: cinder-volumes

My dashboard should load at 172.29.236.63, but it does not.

In my infra1 device I have a horizon container, where the Apache service runs and ports 80 and 443 are listening. If I connect to port 80 it automaticaly redirects me to port 443, where the default Apache web page loads.

Any help/pointers are usefull. Thank you.