Comment 4 for bug 1543802

Revision history for this message
Alexander Saprykin (cutwater) wrote :

Need more information about cases when this issue appears.
I checked it on fuel 9.0 build 299.

# grep DEVELOPMENT /etc/nailgun/settings.yaml
DEVELOPMENT: false

I added raise Exception to OpenstackConfigExecuteHandler.

# fuel2 openstack-config execute -e 1
500 Server Error: Internal Server Error for url: http://10.20.0.2:8000/api/v1/openstack-config/execute/ ()

In /var/log/nailgun/app.log

2016-05-13 10:19:40.547 ERROR [7f4b13a14880] (base) Unexpected exception occured
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 285, in content_json
    resp = func(cls, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/openstack_config.py", line 119, in PUT
    raise Exception
Exception

It looks like expected, exception is logged. Did I miss something?