2c75ad02c5a025e2262cd3cd6c9ab42cd34b585c
3361 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Ewan Mellor
|
e8a8b14e6b | Merged with trunk revno 572. | ||
|
Todd Willey
|
8e6684a58e | Change where paste.deploy factories live and how they are called. They are now in the nova.wsgi.Application/Middleware classes, and call the __init__ method of their class with kwargs of the local configuration of the paste file. | ||
|
Todd Willey
|
b156f7d959 | Merge trunk | ||
|
Todd Willey
|
3b94033b06 | Further decouple api routing decisions and move into paste.deploy configuration. This makes paste back the nova-api binary. | ||
|
Todd Willey
|
e88bd8cd04 | Merge pep8 fixes from wsgirouter branch. | ||
|
Todd Willey
|
6906137b99 | Clean up openstack api test fake. | ||
|
Rick Harris
|
93deb2e9a3 |
The Openstack API requires image metadata to be returned immediately after an image-create call.
This is accomplished by having the ImageService create a 'queued' image in Glance.
When the image is subsequently uploaded, the image will go from 'queued' -> 'saving' -> 'queued'.
Related Future Work:
The ImageService needs to be cleaned up so that there is a canonical set of attributes (id, status, etc), and a canonical set of values ('queued', 'saving', etc). Right now, EC2 is fairly coupled to LocalImageService and S3ImageService while OpenStackAPI is coupled to GlanceImageService; ideally, we should be able mix-and-match from any of these.
|
||
|
Todd Willey
|
58c6475012 | merge trunk. | ||
|
Rick Harris
|
c947f4ed12 | Fixing whitespace | ||
|
Rick Harris
|
523d7788ac | Returning image_metadata from snapshot() | ||
|
Rick Harris
|
b5445da21b | Merging trunk | ||
|
Kei Masumoto
|
a56bc07078 | merged trunk rev569 | ||
|
Kei Masumoto
|
525544e689 | merged to rev 561 and fixed based on reviewer's comment | ||
|
Andy Smith
|
825652456a |
Adds a developer interface with direct access to the internal inter-service APIs and a command-line tool based on reflection to interact with them.
Example output from command-line tool:
(.nova-venv)termie@preciousroy:p/nova/easy_api % ./bin/stack
usage: stack [options] <controller> <method> [arg1=value arg2=value]
`stack help` should output the list of available controllers
`stack <controller>` should output the available methods for that controller
`stack help <controller>` should do the same
`stack help <controller> <method>` should output info for a method
./bin/stack:
-?,--[no]help: show this help
--[no]helpshort: show usage only for this module
--[no]helpxml: like --help, but generates XML output
--host: Direct API host
(default: '127.0.0.1')
--port: Direct API host
(default: '8001')
(an integer)
--project: Direct API project
(default: 'proj1')
--user: Direct API username
(default: 'user1')
Available controllers:
reflect Reflection methods to list available methods.
compute API for interacting with the compute manager.
(.nova-venv)termie@preciousroy:p/nova/easy_api % ./bin/stack help reflect
Available methods for reflect:
get_controllers List available controllers.
get_methods List available methods.
get_method_info Get detailed information about a method.
(.nova-venv)termie@preciousroy:p/nova/easy_api % ./bin/stack help reflect get_method_info
get_method_info(method):
Get detailed information about a method.
(.nova-venv)termie@preciousroy:p/nova/easy_api % ./bin/stack reflect get_method_info method=/reflect/get_method_info
{u'args': [[u'method']],
u'doc': u'Get detailed information about a method.',
u'name': u'get_method_info',
u'short_doc': u'Get detailed information about a method.'}
|
||
|
Andy Smith
|
9750e4ab3e | merge from upstream | ||
|
Andy Smith
|
69c11c27c2 | pep8 fixes... largely to things from trunk? | ||
|
Andy Smith
|
073336d206 | merge from upstream | ||
|
Andy Smith
|
731126b299 | pep8 | ||
|
Andy Smith
|
4f920a8316 | remove print statement | ||
|
Vishvananda Ishaya
|
34ceed1ce1 | This branch fixes two outstanding bugs in compute. It also fixes a bad method signature in network and removes an unused method in cloud. | ||
|
Vishvananda Ishaya
|
beec23614e | Re-removes TrialTestCase. It was accidentally added in by some merges and causing issues with running tests individually. | ||
|
Vishvananda Ishaya
|
d0713a6a21 | removed rpc in cloud | ||
|
Vishvananda Ishaya
|
9f84aff457 | merged trial fix again | ||
|
Vishvananda Ishaya
|
bf0d75e6f7 | fix bad function signature in create_networks | ||
|
Vishvananda Ishaya
|
f16030423d | undo accidental removal of fake_flags | ||
|
Vishvananda Ishaya
|
23332a6567 | merged lp:~vishvananda/nova/lp703012 | ||
|
Vishvananda Ishaya
|
e0dcd52b98 | remove TrialTestCase again and fix merge issues | ||
|
Vishvananda Ishaya
|
76e8754768 | import re, remove extra call in cloud.py. Move get_console_output to compute_api | ||
|
Josh Kearney
|
2639a17fb5 | Create and use a generic handler for RPC calls to compute. | ||
|
Josh Kearney
|
cf0e5bd3ee | Create and use a generic handler for RPC calls | ||
|
Ewan Mellor
|
b8c45af21d | Merged with trunk revno 565. | ||
|
Vishvananda Ishaya
|
47a2dc24b0 | use .local and .rescue for disk images so they don't make app-armor puke | ||
|
Ed Leafe
|
9fb1e7b1f6 |
Implements the blueprint for enabling the setting of the root/admin password on an instance.
It uses a new xenapi plugin 'agent' that handles communication to/from the agent running on the guest. |
||
|
Nachi Ueno
|
8a4eb03ec3 |
OpenStack Compute (Nova) IPv4/IPv6 dual stack support
http://wiki.openstack.org/BexarIpv6supportReadme Tested with unit test smoke test No conflict with current branch r 562. Fixed comment by Soren and Vish |
||
|
Koji Iida
|
449913debb | Merged to rev.563 | ||
|
MORITA Kazutaka
|
c468658d55 |
This change introduces support for Sheepdog (distributed block storage
system) which is proposed in https://blueprints.launchpad.net/nova/+spec/sheepdog-support Requirements: - libvirt 0.8.7 or later - qemu 0.13.0 or later How to test: 1. install Sheepdog The software is available from SourceForge.net: https://sourceforge.net/projects/sheepdog/files/ See also: http://wiki.qemu.org/Features/Sheepdog/Getting_Started#Install 2. run the sheepdog daemon on each hosts $ sheep /store_dir /store_dir is a directory to store sheepdog objects. The directory must be on the filesystem with an xattr support. 3. format the sheepdog storage $ collie cluster format --copies=3 4. run nova-volume $ nova-volume --volume_driver=nova.volume.driver.SheepdogDriver |
||
|
MORITA Kazutaka
|
600e397515 | Sort Authors | ||
|
MORITA Kazutaka
|
67f17444ab | Merge trunk | ||
|
MORITA Kazutaka
|
25ada0ee28 | Update Authors | ||
|
Andy Smith
|
eb6021ad94 | merge from upstream: | ||
|
Andy Smith
|
380a279809 | pep8 fixes | ||
|
Andy Smith
|
715b83a299 | update migration script to add new tables since merge | ||
|
Hisaharu Ishii
|
4ff82fe827 | sort Authors | ||
|
Hisaharu Ishii
|
f5f0819e1c | Merged with r562 | ||
|
Vishvananda Ishaya
|
14a42e45cf |
This modifies libvirt to use CoW images instead of raw images. This is much more efficient and allows us to use the snapshotting capabilities available for qcow2 images. It also changes local storage to be a separate drive instead of a separate partition.
I'm proposing this branch for review to get feedback. I may have inadvertently broken a few things. Comments and possible issues: 1. I haven't tested the other hypervisors. I may have broken libvirt xen support and uml support with this patch. 2. Is it useful to have a use_cow_images param, or should it just be automatic for qemu/kvm and turned off for everything else. 3. create_image is a large annoying method. I tried to clean it up a bit, but it could probably use a bit more refactoring. 4. disk.py seems to be only used by the hypervisors, so perhaps it should move into virt dir. 5. disk.py/partition() is unused now. Should we leave it in or throw it away? Comments welcome |
||
|
Todd Willey
|
500b268d0e | pep8. Someday I'll remember 2 blank lines between module methods. | ||
|
Kei Masumoto
|
fa5024b384 | remove ">>>MERGE" iin nova/db/sqlalchemy/api.py | ||
|
Kei Masumoto
|
c57ccba743 | checking based on pep8 | ||
|
Todd Willey
|
12a6e44015 | Merge trunk + wsgirouter. | ||
|
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. |