| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I074b744cbdfdcde176df4976fee3d97206d09134
|
|/
|
|
|
|
|
|
|
|
| |
Fixes Bug: 1447327
Backport change:-
Has been cherry picked from
commit 1bfbcf7cc0c12b65ea323231b3243953cc31d4b8
Change-Id: I98e182aaee3d3577764ec957dfbbd898a1137ea9
|
|
|
|
| |
Change-Id: Ia0ce51683a21b7d9acd465d6e43da0808ea258cc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are a couple of places where an UnknownScheme
exception could be raises but was not being caught.
Change-Id: I25af9a762c49a1bbea661c3858ffb46cff891ee2
Closes-bug: #1379308
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | | |
resource_type_associations"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I070e358befee236a39cdacfd3ecc29a7dd4ac871
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \ |
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ic7d5986ed2133fb333d62b47910025ed75967e81
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | /
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \ |
|