openstack-dashboard does not accept non-default db2 ports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
Medium
|
Mark Vanderwiel |
Bug Description
[openstack-
Installing Openstack with DB2 database using the port 5103 (default port is 50000)
sync database will fall over as it has no port number for contacting the database
as part of the install the following script is run
python /usr/share/
with the following stack trace
conn_options {102: 1}
Traceback (most recent call last):
File "/usr/share/
execute_
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
return self.handle_
File "/usr/lib/
cursor = connection.cursor()
File "/usr/lib/
cursor = util.CursorWrap
File "/usr/lib/
self.
File "/usr/lib/
self.connect()
File "/usr/lib/
six.
File "/usr/lib/
self.connect()
File "/usr/lib/
self.connection = self.get_
File "/usr/lib/
connection = self.databaseWr
File "/usr/lib/
connection = Database.connect( **kwargs )
File "/usr/lib64/
raise _get_exception(
django.
If the cookbook template is modified to hardcode in this port of 5103
then the issue does not happen
DATABASES = {
'default': {
'ENGINE': '<%= engine %>',
'NAME': '<%= @db_info["db_name"] %>',
<% unless @db_info[
'USER': '<%= node["openstack
'PASSWORD': '<%= @db_pass %>',
'HOST': '<%= @db_info["host"] %>',
<% end %>
'PORT': '5103'
},
}
tags: | added: dashboard |
Changed in openstack-chef: | |
assignee: | nobody → Mark Vanderwiel (vanderwl) |
importance: | Undecided → Medium |
milestone: | none → kilo-rc1 |
Fix proposed to branch: master /review. openstack. org/175101
Review: https:/