summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* corrects incorrect openstack api responses for metadata (numeric/string ↵Ken Pepple2011-04-083-8/+8
|\ | | | | | | conversion issue) and image format status (not uppercase)
| * merged trunkKen Pepple2011-04-0640-67/+246
| |\
| * | removed comment on API complianceKen Pepple2011-04-061-1/+0
| | |
| * | correct test for numeric/string metadata value conversionKen Pepple2011-04-041-2/+2
| | |
| * | openstack api metadata responses must be stringsKen Pepple2011-04-041-1/+2
| | |
| * | openstack api requires uppercase image format status responsesKen Pepple2011-04-041-5/+5
| | |
* | | Implement a mechanism to enforce a configurable quota limit for image ↵Dan Prince2011-04-082-0/+51
|\ \ \ | | | | | | | | | | | | metadata (properties) within the OS API image metadata controller.
| * | | Add missing underscore.Dan Prince2011-04-051-1/+1
| | | |
| * | | Merge w/ trunk.Dan Prince2011-04-0522-545/+348
| |\ \ \
| * | | | Limit image metadata to the configured metadata quota for a project.Dan Prince2011-03-312-0/+51
| | | | |
* | | | | Fixes issues with describe instances due to improperly set metadata.Vishvananda Ishaya2011-04-0812-121/+122
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |  * Removes image['properties']['type']  * Uses image['container_format'] to key display of type and create ec2 ids.  * Defaults to 'ami' if container_format cannot be deduced. This allows    bare images to show up in describe instances and be launched even though they    are not officially in 'ami' format.  * Changes nova-manage register to set proper container format  * Fixes tests  * Fixes _do_get_kernel_and_ramdisk in openstack api to only try to get them if it is a true 'ami' * Replaces 'owner_id' with 'project_id' since that is expected by glance code * Moves the filtering scheme to base image service so all services filter the same way
| * | | | | fix tests from moving access check into update and deleteVishvananda Ishaya2011-04-072-5/+8
| | | | | |
| * | | | | merged trunkVishvananda Ishaya2011-04-0751-223/+569
| |\ \ \ \ \
| * | | | | | check visibility on delete and updateVishvananda Ishaya2011-04-063-5/+9
| | | | | | |
| * | | | | | pep8Vishvananda Ishaya2011-04-051-0/+1
| | | | | | |
| * | | | | | fallback to status if image_state is not setVishvananda Ishaya2011-04-051-1/+5
| | | | | | |
| * | | | | | update and fix testsVishvananda Ishaya2011-04-053-9/+21
| | | | | | |
| * | | | | | unite the filtering done by glance client and s3Vishvananda Ishaya2011-04-056-80/+40
| | | | | | |
| * | | | | | merged trunkVishvananda Ishaya2011-04-0537-559/+397
| |\ \ \ \ \ \
| * | | | | | | makes sure s3 filtering works even without metadata set properlyVishvananda Ishaya2011-03-311-2/+3
| | | | | | | |
| * | | | | | | review cleanupVishvananda Ishaya2011-03-302-2/+3
| | | | | | | |
| * | | | | | | remove all references to image_type and change nova-manage upload to set ↵Vishvananda Ishaya2011-03-306-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | container format more intelligently
| * | | | | | | Key type values in ec2_api off of container formatVishvananda Ishaya2011-03-301-13/+31
| | | | | | | |
* | | | | | | | Keep guest instances when libvirt host restartsJustin Santa Barbara2011-04-073-19/+48
|\ \ \ \ \ \ \ \
| * | | | | | | | Log libvirt errcode on exceptionJustin Santa Barbara2011-04-071-2/+5
| | | | | | | | |
| * | | | | | | | Fix to correct libvirt error code when the domain is not foundJustin Santa Barbara2011-04-071-1/+1
| | | | | | | | |
| * | | | | | | | Removed commented-out old 'delete instance on SHUTOFF' codeJustin Santa Barbara2011-04-072-13/+1
| | | | | | | | |
| * | | | | | | | Fix unit test to reflect fact that instance is no longer deleted, just ↵Justin Santa Barbara2011-03-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | marked SHUTOFF
| * | | | | | | | Narrowly focused bugfix - don't lose libvirt instances on host reboot or if ↵Justin Santa Barbara2011-03-292-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they crash
* | | | | | | | | Added support for listing addresses of a server in the openstack api.Naveed Massjouni2011-04-075-11/+164
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now you can GET * /servers/1/ips * /servers/1/ips/public * /servers/1/ips/private Supports v1.0 json and xml. Added corresponding tests.
| * | | | | | | | | Controllers now inherit from nova.api.openstack.common.OpenstackController.Naveed Massjouni2011-04-061-1/+2
| | | | | | | | | |
| * | | | | | | | | Merge from trunkNaveed Massjouni2011-04-0625-53/+184
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Added support for listing addresses of a server in the openstack api.Naveed Massjouni2011-04-065-11/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now you can GET * /servers/1/ips * /servers/1/ips/public * /servers/1/ips/private Supports v1.0 json and xml. Added corresponding tests.
* | | | | | | | | | | This fixes how the metadata and addresses collections are serialized in xml ↵Naveed Massjouni2011-04-073-0/+61
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | responses.
| * | | | | | | | | | Merge from trunkNaveed Massjouni2011-04-071-1/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge from trunkNaveed Massjouni2011-04-0625-53/+184
| |\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | / | | | |_|_|_|_|_|_|/ | | |/| | | | | | |
| * | | | | | | | | Removing naughty semicolon.Naveed Massjouni2011-04-051-1/+1
| | | | | | | | | |
| * | | | | | | | | Merge from trunkNaveed Massjouni2011-04-0517-15/+63
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / | | |/| | | | | | |
| * | | | | | | | | Fixed the addresses and metadata collections in xml responses.Naveed Massjouni2011-04-053-0/+61
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Added corresponding tests.
* | | | | | | | | Automatically add the metadata address to the network host. This allows ↵Vishvananda Ishaya2011-04-072-1/+11
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guests to ARP for the address properly. I also uncovered an issue with moving the gateway. Apparently specifying route add 0.0.0.0 doesn't actually work, you have use route add 'default'. I also added a line to specifically delete the old gateway since it doesn't always automatically get deleted.
| * | | | | | | | | Simplify by always adding to loopbackVishvananda Ishaya2011-04-072-6/+3
| | | | | | | | | |
| * | | | | | | | | if we delete the old route when we move it we don't need to check for existsVishvananda Ishaya2011-04-062-6/+5
| | | | | | | | | |
| * | | | | | | | | Add automatic metadata ip to network host on start. Also fix race where gw ↵Vishvananda Ishaya2011-04-062-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is readded twice
* | | | | | | | | | This branch is a patch for fixing below issue.Kei Masumoto2011-04-072-12/+31
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Bug #746821: live_migration failing due to network filter not found Link a bug report
| * | | | | | | | | | fix pep8 violationKei Masumoto2011-04-081-1/+1
| | | | | | | | | | |
| * | | | | | | | | | fixed based on reviewer's comment - 1. erase unnecessary blank line, 2. ↵Kei Masumoto2011-04-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding LOG.debug
| * | | | | | | | | | fix bug 746821Kei Masumoto2011-04-052-12/+29
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Update instances table to use instance_type_id instead of the old ↵Dan Prince2011-04-0723-104/+261
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance_type column which represented the name (ex: m1.small) of an instance type. This allows the various subsystems to cleanly reference instance types by their IDs instead of using the name as the key and provides a clean way to do the outer join to the instance types table in several SQL queries. Updated the instance_types module so that all methods now return instance_type dictionaries for consistency. Updated the Openstack API so that flavor ID is returned correctly.
| * | | | | | | | | | Drop extra 'None' arg from dict.get call.Dan Prince2011-04-071-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Some i18n fixes to instance_types.Dan Prince2011-04-071-11/+11
| | | | | | | | | | |