Public bug reported:

Every time I start horizon service, it reports the following exception:
nicira@htb-1n-eng-dhcp8:~/devstack$ sudo tail -f 
/var/log/apache2/horizon_error.log | sed 's/\\x1b/\o033/g' & echo $! 
>/opt/stack/status/stack/horizon.pid; fg || echo "horizon failed to start" | 
tee "/opt/stack/status/stack/horizon.failure"
[1] 8876
sudo tail -f /var/log/apache2/horizon_error.log | sed 's/\\x1b/\o033/g'
2016-11-08 22:44:54.799461     obj = self.var.resolve(context)
2016-11-08 22:44:54.799471   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 789, in 
resolve
2016-11-08 22:44:54.799480     value = self._resolve_lookup(context)
2016-11-08 22:44:54.799488   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 849, in 
_resolve_lookup
2016-11-08 22:44:54.799497     current = current()
2016-11-08 22:44:54.799506   File 
"/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 152, in 
build_absolute_uri
2016-11-08 22:44:54.799515     host=self.get_host(),
2016-11-08 22:44:54.799524   File 
"/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 102, in 
get_host
2016-11-08 22:44:54.799540     raise DisallowedHost(msg)
2016-11-08 22:44:54.799568 DisallowedHost: Invalid HTTP_HOST header: 
'10.162.63.93'. You may need to add u'10.162.63.93' to ALLOWED_HOSTS.

Horizon UI also reports "Internal Server Error"

I am using the latest master code for Horizon.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1640335

Title:
  DisallowedHost: Invalid HTTP_HOST header

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Every time I start horizon service, it reports the following exception:
  nicira@htb-1n-eng-dhcp8:~/devstack$ sudo tail -f 
/var/log/apache2/horizon_error.log | sed 's/\\x1b/\o033/g' & echo $! 
>/opt/stack/status/stack/horizon.pid; fg || echo "horizon failed to start" | 
tee "/opt/stack/status/stack/horizon.failure"
  [1] 8876
  sudo tail -f /var/log/apache2/horizon_error.log | sed 's/\\x1b/\o033/g'
  2016-11-08 22:44:54.799461     obj = self.var.resolve(context)
  2016-11-08 22:44:54.799471   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 789, in 
resolve
  2016-11-08 22:44:54.799480     value = self._resolve_lookup(context)
  2016-11-08 22:44:54.799488   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 849, in 
_resolve_lookup
  2016-11-08 22:44:54.799497     current = current()
  2016-11-08 22:44:54.799506   File 
"/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 152, in 
build_absolute_uri
  2016-11-08 22:44:54.799515     host=self.get_host(),
  2016-11-08 22:44:54.799524   File 
"/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 102, in 
get_host
  2016-11-08 22:44:54.799540     raise DisallowedHost(msg)
  2016-11-08 22:44:54.799568 DisallowedHost: Invalid HTTP_HOST header: 
'10.162.63.93'. You may need to add u'10.162.63.93' to ALLOWED_HOSTS.

  Horizon UI also reports "Internal Server Error"

  I am using the latest master code for Horizon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1640335/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to