500 when creating a datasource without config

Bug #1552037 reported by Tim Hinrichs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Invalid
Critical
Unassigned

Bug Description

When creating a datasource, we get a 500 error, seemingly when required config parameters are not supplied.

$ openstack congress datasource create nova nova2
Internal server error (HTTP 500) (Request-ID: req-b5362d86-12ed-4ef6-bd8d-7c400609513a)

$ openstack congress datasource create nova nova2 --config username=admin --config tenant_name=admin --config password=password
Internal server error (HTTP 500) (Request-ID: req-81819939-cfdf-41a7-8ab7-23677c9681c9)

Tim Hinrichs (thinrichs)
description: updated
description: updated
Revision history for this message
Tim Hinrichs (thinrichs) wrote :

Just realized that all the changes for the datasource aren't merged yet. Leave this bug in place so we remember to check it again later.

description: updated
Revision history for this message
Eric K (ekcs) wrote :

Seems like it's been fixed.

Here's what I get now on latest devstack install:

$ openstack congress datasource create nova nova2
Missing required config options: username, tenant_name, password, auth_url (HTTP 400) (Request-ID: req-0158cf82-93eb-4c15-b77f-37a70c8d6f3a)

$ openstack congress datasource create nova nova2 --config username=admin --config tenant_name=admin --config password=password
Missing required config options: auth_url (HTTP 400) (Request-ID: req-1b35bb64-5e13-4d12-bb0b-1caa07288be4)

$ openstack congress datasource create nova nova2 --config username=admin --config tenant_name=admin --config password=password --config auth_url=http://127.0.0.1
+-------------+-----------------------------------------------------------------------------+
| Field | Value |
+-------------+-----------------------------------------------------------------------------+
| config | {u'username': u'admin', u'tenant_name': u'admin', u'password': u'password', |
| | u'auth_url': u'http://127.0.0.1'} |
| description | None |
| driver | nova |
| enabled | True |
| id | 0c0554f8-dc0b-44d2-91e0-61bf15a76e21 |
| name | nova2 |
| type | None |
+-------------+-----------------------------------------------------------------------------+

Tim Hinrichs (thinrichs)
Changed in congress:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.