Containerized Horizon: unable to connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Juan Antonio Osorio Robles |
Bug Description
Dear Stackers,
While finishing a pike BM -> pike Container migration, the last issue I get is horizon. It doesn't work as expected:
- it shows up the login form
- it accepts the login (at least, keystone seems to be happy in the backend)
- it crashes right after that with a nice stack trace:
Request Method: POST
Request URL: https:/
Django Version: 1.8.14
Exception Type: OperationalError
Exception Value:
unable to open database file
Exception Location: /usr/lib/
Python Executable: /usr/bin/python
Python Version: 2.7.5
Python Path:
['/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
Server time: lun, 23 Avr 2018 07:26:18 +0000
Apparently, it wants to access some sqlite3 database file somewhere:
Traceback:
File "/usr/lib/
132. response = wrapped_
File "/usr/lib/
76. return view(request, *args, **kwargs)
File "/usr/lib/
110. response = view_func(request, *args, **kwargs)
File "/usr/lib/
57. response = view_func(request, *args, **kwargs)
File "/usr/lib/
104. **kwargs)
File "/usr/lib/
76. return view(request, *args, **kwargs)
File "/usr/lib/
110. response = view_func(request, *args, **kwargs)
File "/usr/lib/
57. response = view_func(request, *args, **kwargs)
File "/usr/lib/
51. auth_login(request, form.get_user())
File "/usr/lib/
110. request.
File "/usr/lib/
285. self.create()
File "/usr/lib/
37. self._session_key = self._get_
File "/usr/lib/
155. if not self.exists(
File "/usr/lib/
33. return Session.
File "/usr/lib/
586. return self.query.
File "/usr/lib/
484. return compiler.
File "/usr/lib/
811. return bool(self.
File "/usr/lib/
838. cursor = self.connection
File "/usr/lib/
162. cursor = self.make_
File "/usr/lib/
135. self.ensure_
File "/usr/lib/
130. self.connect()
File "/usr/lib/
98. six.reraise(
File "/usr/lib/
130. self.connect()
File "/usr/lib/
119. self.connection = self.get_
File "/usr/lib/
204. conn = Database.
Exception Type: OperationalError at /auth/login/
Exception Value: unable to open database file
Although I was pretty sure it was using the mysql cluster… Maybe I overlooked something in horizon configuration?
Care to provide some hints?
Thank you!
Cheers,
C.
Changed in tripleo: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → rocky-2 |
Changed in tripleo: | |
status: | Confirmed → Triaged |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
status: | Triaged → In Progress |
Any news regarding this issue? For now, we're still unable to connect to Horizon dashboard…
Thank you!