summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Release Import of Translations from Transifex" into stable/kilo2015.1.0rc22015.1.0Jenkins2015-04-246-1458/+489
|\
| * Release Import of Translations from TransifexAndreas Jaeger2015-04-206-1458/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual import of Translations from Transifex. This change also removes all po files that are less than 66 per cent translated since such partially translated files will not help users. This updates also recreates all pot (translation source files) to reflect the state of the repository. This change needs to be done manually since the automatic import does not handle the proposed branches and we need to sync with latest translations. Change-Id: I14c42886cbeef94ba8cfcaf5ec36d30e5cf22500
* | Merge "Metadef JSON files need to be updated" into stable/kiloJenkins2015-04-246-72/+185
|\ \
| * | Metadef JSON files need to be updatedWayne Okuma2015-04-236-72/+185
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Juno, some new hardware properties have been added to Nova that should be included in the Kilo versions of the metadef JSON files. This bug, would add in new properties or objects found in Nova and update properties or objects if the definitions have changed. Closes-Bug: 1436877 Backport change:- Has been cherry picked from commit 1af8cd5745d9fcf0e10441fdc33266270defc1c3 Change-Id: I582827e666bece539674e4a191963ecf8ebf599f
* | Merge "Plugin types are not exposed to the client." into stable/kiloJenkins2015-04-247-12/+138
|\ \
| * | Plugin types are not exposed to the client.Lakshmi N Sampath2015-04-237-12/+138
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glance Search clients currently don't have anyway to know what "types" are available. Search clients need to know the "type" to include in the search request for the particular resource. Backport change:- Has been cherry picked from commit d6d5c501c16ed7df64944f6646ad32aca345adcd Change-Id: I8baed7c5183752b1f52f8050ce321aacec701f1c Closes-Bug: #1439061
* | Merge "Read tag name instead of ID" into stable/kiloJenkins2015-04-241-1/+1
|\ \
| * | Read tag name instead of IDPawel Koniszewski2015-04-231-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current version of db load_metadefs looks for tag id instead of tag name. In result user needs to provide additional unnecessary tag ID in .json file and also it may lead to conflicts in DB and unhandled exceptions. This change fixes this issue. Backport change:- Has been cherry picked from commit 2b556b2f8dd623844d0e6dffddbec5d01dd20399 Change-Id: Ie0192f87dce120221d09dba49d2eb33094464cef Closes-Bug: 1445026
* | Merge "Updated from global requirements" into stable/kiloJenkins2015-04-241-4/+4
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2015-04-201-4/+4
| |/ | | | | | | Change-Id: I074b744cbdfdcde176df4976fee3d97206d09134
* | v1 API should be in SUPPORTED statusFei Long Wang2015-04-233-6/+6
|/ | | | | | | | | | Fixes Bug: 1447327 Backport change:- Has been cherry picked from commit 1bfbcf7cc0c12b65ea323231b3243953cc31d4b8 Change-Id: I98e182aaee3d3577764ec957dfbbd898a1137ea9
* update .gitreview for stable/kiloThierry Carrez2015-04-171-0/+1
| | | | Change-Id: Ia0ce51683a21b7d9acd465d6e43da0808ea258cc
* Merge "Fixes glance-manage exporting meta definitions issue"2015.1.0rc1proposed/kiloJenkins2015-04-091-2/+1
|\
| * Fixes glance-manage exporting meta definitions issueAshish Jain2015-04-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While using glance-manage db_export_metadefs the command fails with NoSuchColumnError for column 'name'. The issue is with calling function _export_data_to_file populating the values for resource_type_associations. This resource_type_associations expect one of the fields as 'name' whereas the function call _get_resource_type is returning an 'id'. Modified the _get_resource_type method to return whole resource type object. Change-Id: I1fb3f8eb60fec354d4897debd9034bf61d1a57b4 Closes-Bug: #1434237
* | Merge "Catch UnknownScheme exception"Jenkins2015-04-091-5/+6
|\ \
| * | Catch UnknownScheme exceptionStuart McLaren2015-04-091-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | There are a couple of places where an UnknownScheme exception could be raises but was not being caught. Change-Id: I25af9a762c49a1bbea661c3858ffb46cff891ee2 Closes-bug: #1379308
* | | Merge "Refactor API function test class"Jenkins2015-04-091-64/+86
|\ \ \ | |_|/ |/| |
| * | Refactor API function test classmarianitadn2015-04-091-64/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move API requests to separate methods - Update setUp to create a stable background for each test - Update assert order. Continuing to use httplib2 as before. Future changeset expected for moving to use requests instead. Co-Authored-By: Steve Lewis <steve.lewis@rackspace.com> Closes bug: #1293210 Change-Id: I0ae51c64bd24457276ad3d7f9eb73fca7f354e49
* | | Merge "Creating metadef object without any properties"Jenkins2015-04-092-2/+22
|\ \ \ | |/ / |/| |
| * | Creating metadef object without any propertiesKamil Rykowski2015-03-302-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating a metadef object without any properties associated with it raises an Internal Server Error. It is easily reproducible by running following glanceclient command: glance --os-image-api-version 2 md-object-create --name obj_name --schema '{"description": "some desc"}' OS::Software::DBMS The metadef object itself is created successfully, but the notification is not fired and the response has code 500. Proposed patch fixes it by making sure that notification system won't iterate over None value. Change-Id: I591801d80d9cb2738dc3d27d7719fcc53a3d0645 Closes-Bug: 1438154
* | | Merge "Move elasticsearch dep to test-requirements.txt"Jenkins2015-04-084-5/+58
|\ \ \
| * | | Move elasticsearch dep to test-requirements.txtLouis Taylor2015-04-084-5/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move experimental feature deps to test-requirements Optional and experimental features should not make glance dependant on the libraries they require. This change moves the python bindings for elasticsearch from the main requirements.txt to test-requirements.txt. semantic_version should potentially also be moved here, but it is currently required to do a db sync and is generally less alarming than an elasticsearch dependency. It is instead moved to the bottom of requirements.txt and marked as being artifacts related. Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com> Change-Id: I7f8dfafdb11dbf7ba258e907fbd17d92319d0f52 Closes-bug: #1441239
* | | | Update openstack-common reference in openstack/common/READMEKamil Rykowski2015-04-081-6/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | The README file under the openstack/common directory references to openstack-common, but the link points to oslo-incubator (which is correct). Update the file, so it use oslo-incubator instead of openstack-common. Change-Id: I0a8e9beb43a0296bd5d1c94460a3e7e0e685138b Closes-Bug: 1434370
* | | Merge "glance-manage db load_metadefs does not load all ↵Jenkins2015-04-071-21/+31
|\ \ \ | | | | | | | | | | | | resource_type_associations"
| * | | glance-manage db load_metadefs does not load all resource_type_associationsWayne Okuma2015-04-011-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glance-manage db load_metadefs should create metadef_namespace_resource_types entries for all resource_type_associations listed in a given .json file. Unfortunately, load_metadefs currently, only creates a metadef_namespace_resource_types entry if the associated resource_type is new. There are 6 resource_types and as a result only 6 metadef_namespace_resource_types records are generated instead of the expected 31 (as of this writing). The fix will now generate all metadef_namespace_resource_types. Change-Id: I645f05620c134eac816cd9baf739b4305b307667 Closes-Bug: 1434761
* | | | Zero downtime config reload (glance-control)Stuart McLaren2015-04-072-2/+37
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update glance-control to send a SIGHUP rather than perform a start/stop for the 'reload' operation. This allows picking up new configuration values without interrupting the service. Closes-bug: 1436275 Change-Id: I5a653daa3e582b665c0a2c402cf2d7c9e47e1c38
* | | Imported Translations from TransifexOpenStack Proposal Bot2015-04-0310-76/+477
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I070e358befee236a39cdacfd3ecc29a7dd4ac871
* | | Merge "Glance cache to not prune newly cached images"Jenkins2015-04-022-12/+21
|\ \ \
| * | | Glance cache to not prune newly cached imagesHemanth Makkapati2015-04-012-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sqlite driver doesn't set the last accessed time when an image is first added to cache. This makes the newly cached images susceptible to pruning first instead of older images. Change-Id: I46973a921c7cfb42811c58383e1b7a4004e70f27 Closes-bug: #1438564
* | | | Merge "Remove is_public from reserved attribute in v2"Jenkins2015-04-022-3/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Remove is_public from reserved attribute in v2Fei Long Wang2015-02-112-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v2, we're using 'visibility' instead of 'is_public', so seems there is no good reason to keep 'is_public' as a reserved attribute. Closes-Bug: #1420501 Change-Id: Iba677979a2c1e8d45dcdc66394c5c9add51b7289
* | | | Merge "Fix common misspellings"Jenkins2015-04-022-3/+3
|\ \ \ \
| * | | | Fix common misspellingsMartin Kletzander2015-03-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wikipedia's list of common misspellings [1] has a machine-readable version. This patch fixes those misspellings mentioned in the list which don't have multiple right variants (as e.g. "accension", which can be both "accession" and "ascension"), such misspellings are left untouched. The list of changes was manually re-checked for false positives. [1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines Change-Id: I6f549eb78998ead9b2f1a04e196e65b3f08f1be7 Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* | | | | Merge "Fix intermittent test case failure due to dict order"Jenkins2015-04-021-1/+2
|\ \ \ \ \
| * | | | | Fix intermittent test case failure due to dict orderJames Carey2015-04-011-1/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test case expected output relies on the order of strings generated from the arbitrary ordering of dictionaries. Change to be resilient to ordering by using assertIn on each item instead of assertEqual on the generated list. Change-Id: Ib4f0586a24846660aedc20517f58fa7ff0dd6cc6 Closes-Bug: 1436424
* | | | | Merge "A mixin for jsonpatch requests validation"Jenkins2015-04-023-0/+210
|\ \ \ \ \
| * | | | | A mixin for jsonpatch requests validationInessa Vasilevskaya2015-03-303-0/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A JSONPatch-enabled API requires validation logic which will check the correctness of incoming request body according to schema. A mixin is added which will do such validations. Such validation logic may be useful not only for Artifacts API but also for regular v2 images API, as it also uses JSONPatch notation in its update calls. So this mixin may be used in future in Images API as well. Implements-blueprint: artifact-repository Change-Id: I1b7b72bcc0a0455803a4e99dd17a9732b0dd7a8d
* | | | | | Merge "Fix intermittent unit test failures"Jenkins2015-04-011-0/+6
|\ \ \ \ \ \
| * | | | | | Fix intermittent unit test failuresStuart McLaren2015-04-011-0/+6
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following tests have been failing recently: test_update_add_locations_status_exception test_update_replace_duplicate_locations test_update_replace_locations_status_exception They were querying storeurl.com which redirected to www.hugedomains.com, and unexpected exchanges, eg: HTTP/1.1 302 Found. Cache-Control: private. Content-Length: 183. Content-Type: text/html; charset=utf-8. Date: Wed, 01 Apr 2015 19:05:15 GMT. Location: http://www.hugedomains.com/domain_profile.cfm?d=storeurl&e=com. Server: Microsoft-IIS/8.0. X-Powered-By: ASP.NET. Connection: keep-alive. Mocking out the get_size function prevents these real connections. Change-Id: Ia5d867f98ac60479c70362b0477c2a0571ac6e4f Closes-bug: 1437346
* | | | | | Merge "Artifact Plugins Loader"Jenkins2015-04-0126-34/+726
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | Artifact Plugins LoaderInessa Vasilevskaya2015-03-3026-34/+726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a Stevedore-based plugin loader which is capable to load custom Artifact Types implemented as classes or lists of classes. The Loader validates if entry-points' names match the type names of the ArtifactTypes, ensures that no version conflicts occur (i.e. there are no Artifact Types which have identical combination of Type Name and Type Version), maintains the mapping of Type Names to the actual classes and also keeps an index of Artifact Types by their endpoint aliases. Modifies the Serialization utility of Declarative framework to use the actual set of plugins instead of synthetic type dictionary. Adds several example plugins to glance/contrib directory. Implements-blueprint: artifact-repository Co-Authored-By: Inessa Vasilevskaya <ivasilevskaya@mirantis.com> Co-Authored-By: Alexander Tivelkov <ativelkov@mirantis.com> Change-Id: I5ff5d4c257a1c42885068f4343f52e55189265a5
* | | | | Merge "Declarative definitions of Artifact Types"Jenkins2015-04-016-0/+2719
|\ \ \ \ \ | |/ / / /
| * | | | Declarative definitions of Artifact TypesAlexander Tivelkov2015-03-306-0/+2719
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a notation which allows to declaratively define schema of Artifacts' type-specific metadata fields, with appropriate constraints and validators. The classes utilizing this declarative notation will be used to define artifact types and will be imported using the plugin system. The generated classes provide input validation in both initializers and property setters. At the same time the model contain meta-definitions defining attributes of the properties, such as immutability, internal access etc, which may be used by other layers of code. Co-Authored-By: Alexander Tivelkov <ativelkov@mirantis.com> Co-Authored-By: Inessa Vasilevskaya <ivasilevskaya@mirantis.com> Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com> Implements-blueprint: artifact-repository Change-Id: Ie0deb84d5fbe0397c047862b7cfbaecd31603e70
* | | | | Merge "Imported Translations from Transifex"Jenkins2015-03-3110-853/+1627
|\ \ \ \ \
| * | | | | Imported Translations from TransifexOpenStack Proposal Bot2015-03-3110-853/+1627
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ic7d5986ed2133fb333d62b47910025ed75967e81
* | | | | Merge "Catalog Index Service - Index Update"Jenkins2015-03-318-0/+622
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Catalog Index Service - Index UpdateLakshmi N Sampath2015-03-268-0/+622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provides a listener service for notifications.info topic and handlers which update the index. Partially Implements: blueprint catalog-index-service * Listener and Handler for Glance Images * Listener and Handler for Glance Metadata Definitions Change-Id: Ia4dc7e7ae93209d368858d6c78b8d9b2490c43a1
* | | | | Merge "Catalog Index Service"Jenkins2015-03-3021-1/+2903
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | Catalog Index ServiceLakshmi N Sampath2015-03-2621-1/+2903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint catalog-index-service * Glance Index and Search API Implementation * Tool for indexing metadefinition resources and images from Glance database into Elasticsearch index Change-Id: I6c27d032dea094c7bf5a30b02100170e265588d9 Co-Authored-By: Lakshmi N Sampath <lakshmi.sampath@hp.com> Co-Authored-By: Kamil Rykowski <kamil.rykowski@intel.com> Co-Authored-By: Travis Tripp <travis.tripp@hp.com> Co-Authored-By: Wayne Okuma <wayne.okuma@hp.com> Co-Authored-By: Steve McLellan <steve.mclellan@hp.com>
* | | | Merge "Make sure the parameter has the consistent meaning"Jenkins2015-03-291-2/+2
|\ \ \ \