Ask Your Question

DevStack install fail: Dashboard error [closed]

asked 2013-12-16 18:03:24 -0600

cephaslr gravatar image

updated 2014-01-22 15:12:50 -0600

Evgeny gravatar image
Setting up openstack-dashboard (2012.1.3+stable-20130423-5ce39422-0ubuntu1) ...
Syntax error on line 3 of /etc/apache2/sites-enabled/horizon.conf:
Name duplicates previous WSGI daemon definition.
Action 'configtest' failed.
The Apache error log may have more information.!
dpkg: error processing openstack-dashboard (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up keystone (2012.1.3+stable-20130423-f48dd0fc-0ubuntu1.1) ...
keystone start/running, process 4582
dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:
 openstack-dashboard-ubuntu-theme depends on openstack-dashboard; however:
  Package openstack-dashboard is not configured yet.
dpkg: error processing openstack-dashboard-ubuntu-theme (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas are appreciated, let me know if I am missing something!
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-12-22 10:30:42.465409

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-16 23:19:19 -0600

dheeru gravatar image

updated 2013-12-16 23:20:46 -0600

By looking at this some package installation has been failed or you forcefully stopped or some intermidiate step. This is causig the dashboard installation to fail. You need to check the multiple stuffs now.

1. Try executing this step.
    'apt-get remove --purge openstack-dashboard-ubuntu-theme' and then try again.
2. Did you modify the horizon.conf ? Looks like this file has some syntax error.
3. Completely force remove the package and try 
    a. dpkg --purge --force-all <package>
    b. dpkg --remove --force-remove-reinstreq <packagename>

I'm sure this is dev-stack. But issue is happening due to some unfinished installation earlier. Hope this helps.
edit flag offensive delete link more


Thanks, this helped get me past the error.

cephaslr gravatar imagecephaslr ( 2013-12-22 09:48:00 -0600 )edit

cool. Can you accept the answer by clicking the right tick mark. I can close the request if you agree. Click only once.

dheeru gravatar imagedheeru ( 2013-12-22 10:22:36 -0600 )edit

None of the above has worked for me. after trying the suggestions above, I had to make sure Apache2 was running

skarred gravatar imageskarred ( 2014-02-02 11:06:56 -0600 )edit

Not sure what is the issue you faced. Apache should be running for the dashboard to work.

dheeru gravatar imagedheeru ( 2014-02-03 23:24:34 -0600 )edit

But why does apache need to run for the package to be uninstalled, that's clearly a bug

vincent-legoll gravatar imagevincent-legoll ( 2016-03-16 07:02:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-16 18:03:24 -0600

Seen: 4,317 times

Last updated: Dec 16 '13