Horizon 500 error after fresh deployment

Bug #1751299 reported by Steven Hardy on 2018-02-23
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
High
Unassigned

Bug Description

I just installed a new quickstart environment and deployed an overcloud with containers enabled.

# Create the overcloud config
# We use the oooq_* flavors to ensure the correct Ironic nodes are used
# But this currently doesn't enforce predictable placement (which is fine
# until we add more than one of each type of node)
cat > $HOME/overcloud_env.yaml << EOF
parameter_defaults:
  ControllerCount: 1
  OvercloudControllerFlavor: oooq_control
  ComputeCount: 1
  OvercloudComputeFlavor: oooq_compute
  # We don't enable swift so switch this to file
  GlanceBackend: file
EOF

# Deploy the overcloud
# - Enable containers
# - Enable network-isolation (?)
openstack overcloud deploy --templates $HOME/tripleo-heat-templates \
  -r $SCRIPTDIR/roles_data_controller_compute.yaml \
  -e $HOME/tripleo-heat-templates/environments/docker.yaml \
  -e $HOME/containers-default-parameters.yaml \
  -e $HOME/overcloud_env.yaml \
  -e $HOME/tripleo-heat-templates/environments/enable-swap.yaml

Trying to access horizon gives me a 500 error:

Started Mistral Workflow tripleo.deployment.v1.get_horizon_url. Execution ID: 7be7c17b-f3a0-4ace-9672-f5b0b026c5f8
Overcloud Endpoint: http://192.168.24.13:5000/
Overcloud Horizon Dashboard URL: http://192.168.24.13:80/dashboard
Overcloud rc file: /home/stack/overcloudrc
Overcloud Deployed
(undercloud) [stack@undercloud ~]$ curl http://192.168.24.13:80/dashboard
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
 [no address given] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Not many clues in the logs:
[root@overcloud-controller-0 ~]# docker ps | grep horizon
cce8e645a2d4 192.168.24.1:8787/tripleomaster/centos-binary-horizon:current-tripleo "kolla_start" 9 minutes ago Up 9 minutes horizon
[root@overcloud-controller-0 ~]# tail /var/log/containers/horizon/horizon.log
2018-02-23 15:01:56,119 102 WARNING horizon.tables.actions WARNING:The UpdateAction class defined in module 'horizon.tables.actions' is deprecated as of Newton and may be removed in Horizon P (12.0). Class 'UpdateCell' defined at module 'trove_dashboard.content.database_configurations.tables' shall no longer subclass it.
2018-02-23 15:01:56,518 102 WARNING horizon.tables.actions WARNING:The UpdateAction class defined in module 'horizon.tables.actions' is deprecated as of Newton and may be removed in Horizon P (12.0). Class 'UpdateName' defined at module 'muranodashboard.environments.tables' shall no longer subclass it.

Steven Hardy (shardy) on 2018-02-23
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → queens-rc1
tags: added: horizon ui
Radomir Dopieralski (deshipu) wrote :

Chances are this is not a problem with horizon itself, but with Apache config. Did you find anything in the apache's logs?

Julie Pichon (jpichon) wrote :

See also bug 1752132

Changed in tripleo:
milestone: queens-rc1 → rocky-1
p.cipriano (ctpeter) wrote :

Hi, may I have an update on this?

Changed in tripleo:
milestone: rocky-1 → rocky-2
Nick Wilburn (nowilburn) wrote :

I believe this is the same issue reported here: https://bugs.launchpad.net/tripleo/+bug/1767520

Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1

Is this still an issue?

Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Natal Ngétal (hobbestigrou) wrote :

Duplicate ticket and it's fixed. So I close the ticket.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers