Justin Santa Barbara
be54e37bbd
Merged with trunk and fixed conflict. Sigh.
2011-03-07 15:30:58 -08:00
Justin Santa Barbara
8e0fd37ddf
Converted tabs to spaces in bin/nova-api
2011-03-07 15:22:59 -08:00
Justin Santa Barbara
f65867673e
Merge with trunk, resolve conflicts and refactor
2011-03-07 14:34:02 -08:00
Kevin L. Mitchell
f72366f007
Create --paste_config flag defaulting to api-paste.ini and mv etc/nova-api.conf to match
2011-03-07 19:33:24 +00:00
Vishvananda Ishaya
3368b32338
use default flagfile in nova-api
2011-02-25 12:16:58 -08:00
termie
3115a65f99
add help back to the scripts that don't use service.py
2011-02-23 15:26:52 -08:00
Justin Santa Barbara
fbfc2b2165
Alphabetize imports
2011-02-23 15:17:32 -08:00
Justin Santa Barbara
50e71cef14
Removed unused import & formatting cleanups
2011-02-22 18:59:23 -08:00
Justin Santa Barbara
dd6b9c21d3
Exit with exit code 1 if conf cannot be read
2011-02-22 18:57:04 -08:00
Justin Santa Barbara
e37e7b91a9
Support service-like wait behaviour for API service
2011-02-22 17:58:01 -08:00
Justin Santa Barbara
b6254db80c
Refactoring nova-api to be a service, so that we can reuse it in tests
2011-02-22 17:45:38 -08:00
Thierry Carrez
f80d4c859b
Merged trunk
2011-02-22 17:16:43 +01:00
Vishvananda Ishaya
f9f9bf52f5
Add flags for listen_port to nova-api. This allows us to listen on one port, but return another port (for a proxy or load balancer) in calls like describe_regions, etc.
2011-02-22 15:34:47 +00:00
Vishvananda Ishaya
3125d978fe
use a different flag for listen port for apis
2011-02-21 23:26:03 -08:00
Vishvananda Ishaya
29644fe5a9
switch to explicit call to logging.setup()
2011-02-21 13:46:41 -08:00
Vishvananda Ishaya
86b202f739
fix nova-api as well
2011-02-21 00:17:58 -08:00
Vishvananda Ishaya
eaddb9ea52
remove extra references to logging.basicConfig
2011-02-20 23:36:36 -08:00
Thierry Carrez
15d140992a
PEP8 fix
2011-02-18 16:23:52 +01:00
Thierry Carrez
27c2de313a
Port changes to nova-combined, rename flags to API_listen and API_listen_port
2011-02-18 16:21:14 +01:00
Thierry Carrez
a0145eed23
Set up logging once FLAGS properly read, no need to redo logging config anymore (was inoperant anyway)
2011-02-18 16:08:33 +01:00
Thierry Carrez
debfca9456
Switch to API_listen and API_listen_port, drop wsgi.paste_config_to_flags
2011-02-18 16:02:55 +01:00
Thierry Carrez
8001f33422
Fix DescribeRegion answer by using specific 'listen' configuration parameter instead of overloading ec2_host
2011-02-14 14:26:32 +01:00
Ed Leafe
09188c61d5
Resolved trunk merge conflicts
2011-01-21 16:10:26 -05:00
Thierry Carrez
6ef429d425
Also print version at nova-api startup, for consistency
2011-01-20 12:26:19 +01:00
Ed Leafe
68c9c89300
Completed first pass at converting all localized strings with multiple format substitutions.
2011-01-18 21:00:28 -05:00
Todd Willey
16a8f4a989
Merge trunk and fix how nova-combined works with paste.deploy.
...
Refactor some of the bits of nova-api into nova/wsgi for working with paste,
for a little bit of de-duplication between nova-api and nova-combined.
Makes a cleaner interface for how paste configs can set flags.
2011-01-13 18:23:18 -05:00
Todd Willey
038c9c7663
Merge trunk and handle flagfiles with kid-gloves in nova-api. Rename some flags for clarity.
2011-01-12 17:35:09 -05:00
Todd Willey
03c9f498e6
Merge trunk (logging, etc).
2011-01-12 14:20:05 -05:00
Sandy Walsh
3e9d08bded
change novarc template from cc_port to osapi_port. Removed osapi_port from bin scripts.
2011-01-12 14:16:51 -04:00
Todd Willey
2491c2484f
Make paste the default api pattern.
...
* get rid of the --use_lockout flag since it will be specified in paste config
(Example line is commented out in etc/nova-api.conf, factory is in place)
* remove old nova-api binary and promote nova-api-paste
* change how we store ec2 parameters to bin the the ApiRequest
* get rid of Router, since paste.urlmap is equally effective
(Requestify now gets passed the name of the controller requests are to.)
2011-01-04 18:16:16 -05:00
termie
40dd925070
merged from upstream
2010-12-15 11:02:33 -08:00
termie
a2a8406b5d
updates per review
2010-12-14 16:05:39 -08:00
jaypipes@gmail.com
a6645d8a43
Initial i18n commit for endpoints. All endpoints must install
...
gettext, which injects the _ function into the builtins.
2010-12-11 15:10:24 -05:00
Andy Smith
4d06429290
add back utils.default_flagflie
2010-12-09 16:45:51 -08:00
Andy Smith
a1640f3528
formatting and naming cleanup
2010-12-09 16:05:13 -08:00
Andy Smith
00f329d479
make nova binaries use eventlet
2010-12-09 14:36:23 -08:00
Eric Day
60c82177da
Fix for bug#613264, allowing hosts to be specified for nova-api and objectstore listeners.
2010-11-03 12:38:15 -07:00
Eric Day
2e2dce7ebf
Added support for OpenStack and EC2 APIs to run on different ports.
2010-11-02 11:28:14 -07:00
Eric Day
e012a2b737
PEP8 and pylint cleanup. There should be no functional changes here, just style changes to get violations down.
2010-10-21 11:49:51 -07:00
Eric Day
6460a2e9f8
Merged gundlach's branch.
2010-09-23 11:24:26 -07:00
Eric Day
54122c0a15
Various loose ends for endpoint and tornado removal cleanup, including cloudpipe API addition, rpc.call() cleanup by removing tornado ioloop, and fixing bin/* programs. Tornado still exists as part of some test cases and those should be reworked to not require it.
2010-09-22 17:54:57 -07:00
Soren Hansen
f2a3f9a622
Make the scripts in bin/ detect if they're being run from a bzr checkout
...
or an extracted release tarball or whatever and adjust PYTHONPATH
accordingly.
2010-09-08 10:45:39 +02:00
Eric Day
47e98cdae2
Removed old cloud_topic queue setup, it is no longer used.
2010-08-18 18:25:16 -07:00
Eric Day
46c0f66d12
Cleaned up pep8/pylint for bin/* files. I did not fix rsapi since this is already cleaned up in another branch.
2010-08-07 19:51:17 -07:00
Vishvananda Ishaya
a3ca587654
Massive refactor of users.py
...
Split users.py into manager.py and ldpadriver.py
Added tons of docstrings
Cleaned up public methods
Simplified manager singleton handling
2010-07-19 13:19:26 -05:00
Jesse Andrews
3ce6ec1a83
reorder imports spacing
2010-07-15 18:13:48 -05:00
Jesse Andrews
c8fdce0110
remove import of vendor since we have PPA now
2010-07-15 11:07:40 -05:00
Todd Willey
c88d1f033b
update copyrights
2010-07-15 01:28:51 -04:00
Todd Willey
ced951677c
Finish singletonizing UserManager usage.
2010-07-14 19:51:38 -04:00
Todd Willey
09f69254b5
Whitespace fix.
2010-07-14 19:38:41 -04:00