<div dir="ltr">Hi guys,<div><br></div><div style>Finally I figured out the problem of dashboad sign in failure. After an upgrade of openstack packages, I must have changed the config in my nova.conf accidentally. In order to be able to sign in on dashboard, enabled_apis must at least have osapi_compute. In my case, this variable was set to metadata only. I fixed the issue by setting enabled_apis to ec2,osapi_compute,metadata.</div>
<div style><br></div><div style>I would be glad if this could help anybody.</div><div style><br></div><div style>Amine. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 2:30 AM, Mohammed Amine SAYA <span dir="ltr"><<a href="mailto:asaya.openstack@gmail.com" target="_blank">asaya.openstack@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>After many hours investigating sign in error in horizon, I found the last line responsible for this issue in /var/log/apache2/error.log :</div>
<div><br></div><div>[Sat Mar 09 01:12:18 2013] [error]   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in request</div>
<div>[Sat Mar 09 01:12:18 2013] [error]     raise exceptions.ConnectionRefused(body)</div><div>[Sat Mar 09 01:12:18 2013] [error] ConnectionRefused: ConnectionRefused: '[Errno 111] Connection refused'</div><div><br>

</div><div>And after dumping /var/log/nova/nova-api.log I found this :</div><div><br></div><div> 2013-03-09 02:26:45 28553 TRACE nova.service ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-03-09 02:26:45 28553 TRACE nova.service Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c -t nat</div><div>2013-03-09 02:26:45 28553 TRACE nova.service Exit code: 1</div><div>2013-03-09 02:26:45 28553 TRACE nova.service Stdout: ''</div>

<div>2013-03-09 02:26:45 28553 TRACE nova.service Stderr: 'iptables-save v1.4.14: Cannot initialize: Table does not exist (do you need to insmod?)\n\n'</div><div>2013-03-09 02:26:45 28553 TRACE nova.service </div>

<div>2013-03-09 02:26:45 28553 INFO nova.wsgi [-] Stopping WSGI server.</div><div>2013-03-09 02:26:45 12072 INFO nova.service [-] Child 28553 exited with status 2</div><div>2013-03-09 02:26:45 12072 INFO nova.service [-] Started child 28606</div>

<div><br></div><div><br></div><div>Do you think this issue with nova is responsible for breaking dashboard?</div><div><br></div><div>Any help will be appreciated.</div><div><br></div><div>Thanks a lot.</div><span class="HOEnZb"><font color="#888888">
<div>Amine.</div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>