Age | Commit message (Collapse) | Author |
|
The tests included Horizon expect all files to be in a single
location in order to be run directly from the source tree. The
recipe for installing Horizon on the system installs Horizon
as a python site-package and puts files in different locations
depending on the file type. In order to have the tests support
this type of install we need to explicitly indicate the full path
of the test files to exclude in order to have the tests run
successfully. This fix adds the absolute path to the test
locations allows the Horizon tests to pass as expected.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
|
|
Currently, the run_tests.sh script provided by the horizon
package requires the command "coverage" to be available
even if the "-c" option (test with code coverage) is not
specified on the command line. This fix patches the test
script to remove the calls to the "coverage" tool and calls
the test script directly if the "-c" option is not provided.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
|
|
openstack-dashboard-apache hardcoded libdir, modify this to %LIBDIR% and substitude
in the install phase...
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Split out a new package horizon-standalone that just contains the init script for the
built in webserver.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
- modify python-horizon to install files needed for horizon/apache
- add apache configuration file (openstack-dashboard-apache.conf) to setup a
virtual host running from port 80 to run the mod_wsgi/openstack-dashboard app
- add horizon-apache and apache2 to controller task list
- Note: local_settings.py differs from the one in examples in two ways:
1. LOCAL_PATH = "/usr/share/openstack-dashboard/openstack_dashboard/static"
since the apache app runs as daemon, we neeed to specify a path where
daemon has write permissions
2. configure python-horizon/apache to use memcached. (see CACHES)
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Add status/reload to sysvinit scripts
Modify tgtd to make start/stop work better (borrowed from Debian's
implementation)
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Horizon's init script doesn't kill all of the horizon processes, a forked
process is left dangling. (And you can still login and interact with horizon)
We replace:
start-stop-daemon --stop ... --pidfile
with:
pkill -TERM -P `cat $PIDFILE`
Signed-off-by: Amy Fong <Amy.Fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
An error occurs because horizon searches for lessc in
/usr/lib/python2.7/site-packages/bin while this is
installed in /usr/share/bin.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
* Horizon is a web based user interface that provides an
interface to the OpenStack services.
* Added initscript that starts the service at boot time.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|