This change introduces glance.common.timeutils that provides the
timeutils previously consumed from oslo_utils.
Oslo is deprecating some timeutils functionality which of Glance
depends on. Suggested replacement (isoformat) would break glance APIs
so it's cleaner to carry this functionality in Glance rather than
re-invent the wheel.
Co-Authored-By: Erno Kuvaja <jokke@usr.fi>
Co-Authored-By: Sabari Kumar Murugesan <smurugesan@vmware.com>
Change-Id: I91e1cc9a273249fd88749cecf21200f3f5e2bab1
Glance does not import and use this module directly, no need to list
it in the requirements and no need to set debug level.
Closes-Bug: #1520358
Change-Id: Idc7581903b8b6962c3fb6c51dace3142c707d420
This patch cleans up the requirement list to remove anyjson module
that is not used anymore directly by Glance.
Change-Id: I0eda4633211c74d3c40a03b0b2419d2c99ebe05a
The package is actually named semantic_version, not semantic-version. This is
known to cause errors in old pip versions and with non standard setups,
so lets name it correctly.
Change-Id: I119d47afc8106cfe9a15e939cd1d425e8a1b2746
The package is actually named glance_store, not glance-store. This is
known to cause errors in old pip versions and with non standard setups,
so lets name it correctly.
Change-Id: I060d60b3df41c35311329835a17870acb112de9b
Backend store-specific requirements are not hard requirements, since
the choice of backend store is up to the operator. The
python-swiftclient and oslo.vmware modules are herein moved out of
requirements.txt and instead listed as optional requirements using
the extras functionality in setup.cfg.
Removed unnecessary import of swift backend in db migration, to allow
python-swiftclient to move out of hard requirements.
Cleaned up other requirements that are no longer used.
Change-Id: I9edbf8a614b5caaf38b4c59bd864b7baa55bf36b
Depends-On: I94d75e3d52c9e3e9f7a741a079d25b1bdff29b27
Closes-Bug: #1475737
This patch adds support for the image signing feature by adding the
ability for glance to verify a signature.
This patch still needs:
* castellan added to global requirements (see Depends-On below)
Depends-On: I2283d2853d4ccd6d41d706db5b02cf6c74c5ba93
Change-Id: I0b0592a3526a4e4f5b39ae6ce8b4dedd0ccc31d9
Implements: blueprint image-signing-and-verification-support
Move to using the futurist library instead of built-in taskflow
types and utils as it replaces the taskflow library.
Closes-Bug: #1477260
Change-Id: I39761b390198967e65ebda1be45d920195491114
This release has support for py34, so we can stop using glance_store
directly from git.
Change-Id: I60777b464da28fae4b27bb3d575a07091cea6b45
Depends-On: I4b3fe87fa11465d784f1158142c52e4f09001d27
Provide healthcheck middleware from oslo_middleware to be able to
disable given nodes from loadbalancer. It's achieved by adding a new
pipeline which depending on existing of the
/etc/glance/healthcheck_disable file can return one of the following
results:
- 200 OK (if file does not exist)
- 503 DISABLED BY FILE (if file exist)
The healthcheck is available under /healthcheck URL, and the whole
mechanism behave similar to the Swift healthcheck system.
implements bp: healthcheck-middleware
Co-Authored-By: Erno Kuvaja <jokke@usr.fi>
Co-Authored-By: Kamil Rykowski <kamil.rykowski@intel.com>
DocImpact
Change-Id: I45f6a8c59ec3040aaf06f8bab46d8001c44dac7a
- current global requirements
- merge py3 req files into markers
The one eww moment is the -e line for glance store, which only got in
because the infra check-requirements job wasn't checking -py3 files at
all until recently.
Change-Id: I748e9e1bb698085a19c5d8d6060f4d377695dc89
In newer versions of oslo.db, a sanity check is run to verify table's
collations and ensure they're utf8. In order to un-block the gate, we
need to land this patch, which is broken by this sanity check.
I've disabled the sanity_check in this patch to help moving it forward
and I've filed an issue on LP (#1453047) to track the explicit switch to
utf-8. I preferred not to do the switch in this patch because it
deserves its own commit so we can track it properly (and revert if
needed).
Partially-Fixes: #1453047
Change-Id: Ifffbdd50c38a1d25215faa6a966c2d2a63935711
Ordereddict was required for py26 support. Since we have
dropped support for py26 (we are no longer gating on it) we
should remove it as a requirement and remove references
to it in the code.
Change-Id: I648edbb5d0b51c003f08f5f5c4ce700128032b38
Partial-bug: 1445827
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
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>
Adds new migration to fix an issue with an index created by
mysql.
Also includes patch I00da67ab06cd0a3c46aa8a6cd815d0559408c2f0,
because without it tests won't pass.
Change-Id: Iffb54d5ee404889d49c40dbe0401d61e55723872
Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>
Co-Authored-By: Andreas Jaeger <aj@suse.de>
Co-Authored-By: Oleksii Chuprykov <ochuprykov@mirantis.com>
This change:
- Adds oslo.policy to the requirements list
- Accounts for changes in Enforcer initialization
- Accounts for changes to config options
- Removes incubated version of oslo.policy
- Updates the in-tree etc/config files
UpgradeImpact
Partially Implements Blueprint: graduate-policy
Change-Id: I5acb1e0f809098991f05ca3b6d78d4d88d98f2db