Commit Graph

11 Commits

Author SHA1 Message Date
Changbin Liu 8233e63e95 Add procedures/scripts as starting point of multi-DC deployment
Change-Id: If455358e9164aa51b99ed3a06dd49ab2cf03d69b
2014-07-25 10:23:06 -04:00
Andrew Forrest ccd711ed9f Supply horizon-compatible Web UI
blueprint horizon-webui

(Auto-linking to blueprint either doesn't work for this project
or requires additional info not prescribed. Here is full link:
https://blueprints.launchpad.net/inception/+spec/horizon-webui

This change is the initial commit of the third and final part
of the horizon-compatible web UI for Inception Cloud (the others are
[1] and [2]).  This commit draws heavily from the horizon tutorial[3]
and from the existing implementation for instance management[4] (the
latter because inception cloud management is by analogy a more complicated
version of it).

Because this effort seeks to operate alongside OpenStack in the
architectural and coding style of OpenStack but require minimal internal
changes to OpenStack it relies on a separate API server from nova
compute.  In addition, this meant that the entire horizon stack could not
be utilized directly and a layer had to be chosen at which to deviate.
Accordingly the code is more verbose (because of horizon generality) than
it might otherwise be.

Installation of this application proceeds by
1. installing the inception package
2. starting the inception API server per INSTALL.md
3. modifying a single line in the horizon config per INSTALL.md

[1] https://review.openstack.org/#/c/47008/
[2] https://review.openstack.org/#/c/58835/
[3] http://docs.openstack.org/developer/horizon/topics/tutorial.html
[4] https://github.com/openstack/horizon/ then
    openstack_dashboard/dashboards/project/instances

Partially implements: blueprint horizon-webui

Change-Id: Id14b30bbb5eafeac928d8e94aeb0553ae52fb661
2013-12-05 17:25:32 +00:00
Andrew Forrest 45d73ca7b6 Include scripts in package: chef + orchestrator
Add the 'data_files' and 'scripts' directives to the setup() call
in setup.py so as to make setuptools include the chef scripts
and orchestrator script in the package and install them in locations
suitable for the current code.

Change-Id: Iad2ca28224a60ec0cb23dcbb0f0b23fa8801f513
Closes-bug: #1226153
2013-09-18 14:45:49 -07:00
Changbin Liu ecc2a44429 Break multiple imports to multiple lines
Change-Id: I62ba21f4447fada5bf1b86c261d0f7a65681ba76
2013-08-28 19:32:45 -04:00
Andrew Forrest f00b99bb70 Remove fallback to distutils
Inception has dependencies that cannot be expressed using distutils so the
code that substitutes distutils if setuptools cannot be imported should be
removed lest it be invoked and lead to a confusing error case.

Change-Id: I8959855b3b48e6742b73770a32f7931ccc1c78ef
Fixes: bug #1210181
2013-08-28 14:34:10 -07:00
Andrew Forrest 911969985f Adds inception.utils to inception package.
Previously inception.utils was overlooked for packaging.

Note: the use of setuptools' "find_packages()" might appear to be
a poor choice since this setup.py is written to fall back to using
distutils which doesn't have a find_packages but in fact it cannot
usefully fall back to distutils anyway (see bug #1210181) so it is
not an issue.

Change-Id: I31b2b5f3952df0b8ecd0bc59f9978cf0bb9f03e5
Fixes: bug #1210180
2013-08-28 11:18:12 -07:00
Changbin Liu 641c97e2a4 Add license to *.py files
Change-Id: I8efb89fc65ed3da7bfef8c2573bff784f2c21bcc
2013-08-26 12:57:56 -04:00
Changbin Liu d0f14b4b3b Cleanup oslo.config
- Remove config opts and orchestrator ctor document redundancy

- Make "atomic" an attribute of orchestrator

- A bit reordering of opts

- Cleanup and rename inception.conf.sample

- Some other minors: Authors, setup.py

Change-Id: I9c501acf4a11c2fc0056130bd163bbccd2ec9e24
2013-07-09 15:42:42 -04:00
Andrew Forrest 03ed5b7e9f Incoporate oslo.config facilities in Inception
Convert Inception code to use a configuration file and command line options as
processed by oslo.config.

+ orchestrator modified to use oslo.config for options
+ sample config file introduced
+ dependency on oslo.config added to setup.py
+ version string moved from setup.py to module init for ready access
  for --version and others

Implements: blueprint Inception Configuration Blueprint
Change-Id: I984700867d8ddf5ee1602cc4ed6608f36a38a6be
2013-07-03 16:30:41 -07:00
Andrew Forrest 53e6f000dc Add 'install_requires=' parameter to setup.py.
Added install_requires= to setup.py to track Inception dependencies.

Initial value includes IPython and python_novaclient.

Change-Id: I36e1f1b9cb38acdad6c1f6e2148c1790d26788b4
2013-07-02 09:24:16 -07:00
Changbin Liu 0c78c99bc1 add meta project Info
* tox.ini and tools (requires, pep8, pyflaks)

* Authors

* modify a bit of README

* add setup.py
2013-05-15 15:40:12 -04:00