Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)
This also removes the requirement for internet access during docs build.
This can cause docs jobs to fail if the project errors out on
warnings.
Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
1. The change exposed all options of store and driver by oslo.config
entry-point.
2. Refactor store and driver options registering logic to leverage this
unified option discover function.
Change-Id: Ibbd0f27abd0c0eb9a88d8d30de1e89264a11f53d
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
The store configure() method is being called two times: on one hand
in the store constructor and also explicitly in the create_stores()
method.
Since the configure() method can contain remote calls, it is better
to avoid calling it more than once, especially, when it doesn't add
any value.
Change-Id: I6f39dfa7fd3d0ef7ff4fc2a9ebbebdfb0cf114a1
The filesystem store kept returning the full file size even when
chunk_size was not None. This patch fixes that issue.
Change-Id: Ifa7d08cabe4485e1f9f4bf2d21ce7e307236104b
In this way the user other service used, e.g. Nova, who consumes the
image could be the exclusive member of the group that owns the files
created.
Closes-bug: 1264302
Related-Id: I4d543d205b0805fe00dcab1b0872c0a5e0f97a5f
Change-Id: Iec8396f92ed11531dccb82957da2455ca333430a
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Swift uses a function to wrap the final store instance and choose
between a SingleTenant/MultiTenant store. This patch adds the `OPTIONS`
attribute, found in all other store classes, in order to be able to
register the store options without actually creating an instance of the
Store - just like in every other store.
Iterate over swift/utils.py options, in order to add a deprecate options
for each one of those.
Change-Id: I581cdf5e8e5c112e129c2f0d62ad2a9caf19383b
Add the missing stores to setup.cfg and add the old stores to keep
backwards compatibility. In addition, raise an error if a store
entry_point is not found.
Change-Id: I41ffff47d26e2c1bf9b89ed3d0f459bca4d9f731
Deprecated options' group must be explicitly set, otherwise it'll lookup
the old option in the group the new one was registered in.
Change-Id: Idd0abd639373d9769ba6c520604f0e46a9b6f1ec
This patch completes the support for random_access for the filesystem
store. It adds the required tests and modifies `ChunkFile` in a way that
it keeps backwards compatibility and adds support for this feature.
Change-Id: Ifaf6488165616c87debbb86b9dffa780df8c4b5f
Implements-blueprint: restartable-image-download
Instead of invoking the each store to register the config options, we
should just load the class and access `OPTIONS` from there. The old
attempt for config options registration is kept for other purposes.
Change-Id: I5545c1bd0ff0fd613cd40aadd87aaa4cbf2685ac
Instead of requiring all storage driver options to be migrated
immediately, provide an upgrade path by supporting all config options
that used to be under the `DEFAULT` section.
Change-Id: Id978830c67f6c93b18e73cc16da92b99702357f5
Given the existing, known issues, with python namespaces, pip and
setuptools, we've decided to rename glance.store into glance_store.
Change-Id: I3f02ce78b3d64f34744e5116652bfbb4f3062cbf
A randomized PYTHONHASHSEED caused the glance API to return certain data
in a nondeterministic order, breaking some tests. This patch sorts the
returned data before testing against a pre-sorted expected values.
Change-Id: Ie294b64738bd33b31aea915183c30b5b8db2eb65
Instead of listing the glance.store subpackage, it should be done for
the entire `glance` package.
Change-Id: I592931b8e6c0d708b1e0f633fab6bef191b64879
Setup configuration for localization and add
initial translation template like it's done for all other OpenStack
projects. Once this is in, the translation bot job
will take care of syncing translations with transifex (already setup).
Note that the proper place for the template is for all python projects
$PROJECT/locale/$PROJECT.pot
Change-Id: If814bcf3e3e98c2d39bfcfd4ffefab308027672c