119 Commits

Author SHA1 Message Date
Julien Danjou
4d5330088f Replace oslo_utils.timeutils
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
2015-12-10 10:53:46 +00:00
OpenStack Proposal Bot
1c39949400 Updated from global requirements
Change-Id: Ice256325fb85da04dd24835a1b5b26ed71cf7aae
2015-12-09 07:05:18 +00:00
Bertrand Lallau
d0ad3e6d7d Remove iso8601 dependency
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
2015-12-08 20:56:24 +01:00
OpenStack Proposal Bot
23c9748569 Updated from global requirements
Change-Id: I2a1a60a348056527a637873d502875f3ce21d446
2015-12-06 10:39:11 +00:00
Hemanth Makkapati
e865adf2d2 Rename glance-store to glance_store
Renaming glance-store to glance_store

Change-Id: Ia0209a112759d35a3bcba0928f2e3a22c89f6e02
2015-12-03 12:36:26 -06:00
Jenkins
a82c9e2eca Merge "Remove anyjson useless requirement" 2015-12-01 14:39:15 +00:00
OpenStack Proposal Bot
c1a44c1d24 Updated from global requirements
Change-Id: Ide9c5c1d26346136d6a6515d00d605619ad436c7
2015-11-27 17:42:52 +00:00
OpenStack Proposal Bot
1f84009b13 Updated from global requirements
Change-Id: I88fd4c309e44819d02c19c8d6e44cd09671408a3
2015-11-26 17:09:32 +00:00
Jenkins
e87da54fa6 Merge "Rename semantic-version dep to semantic_version" 2015-11-16 13:49:03 +00:00
Bertrand Lallau
236fe913bf Remove anyjson useless requirement
This patch cleans up the requirement list to remove anyjson module
that is not used anymore directly by Glance.

Change-Id: I0eda4633211c74d3c40a03b0b2419d2c99ebe05a
2015-11-14 20:48:05 +01:00
OpenStack Proposal Bot
d40183a9c6 Updated from global requirements
Change-Id: I117ba48d37b44e70aca15baec20bcdc5323e82e7
2015-11-11 17:18:32 +00:00
OpenStack Proposal Bot
38b8631fd6 Updated from global requirements
Change-Id: Ia066d59e40ab33f86bb9631d23c10c69f7487ec2
2015-10-28 10:54:05 +00:00
Jenkins
b7703a4aab Merge "Rename glance-store dep to glance_store" 2015-10-23 17:41:58 +00:00
Dirk Mueller
9c5f21e71c Rename semantic-version dep to semantic_version
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
2015-10-21 12:17:30 +00:00
OpenStack Proposal Bot
ecefbf74cc Updated from global requirements
Change-Id: I3bdd250e3aac958ba848aba089eff3510ff2a81a
2015-10-20 00:49:10 +00:00
OpenStack Proposal Bot
80e842ad51 Updated from global requirements
Change-Id: I1777b0667c2877684d64c45e01f2bbcfdb8f755f
2015-10-17 00:23:00 +00:00
Gregory Haynes
03a606642e Rename glance-store dep to glance_store
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
2015-10-16 15:02:52 +00:00
OpenStack Proposal Bot
1524790794 Updated from global requirements
Change-Id: Iaabf0b9e1b48c0c2527ff3dbce611bef300cefb0
2015-10-16 00:56:00 +00:00
OpenStack Proposal Bot
87d58eb1ce Updated from global requirements
Change-Id: I4cd57263755777e3791e4d05594ef8fc6825539d
2015-10-14 09:28:30 +00:00
OpenStack Proposal Bot
53ca1759b2 Updated from global requirements
Change-Id: I26b565cfa86b57ef29be6d20cb9bda8867de7ab4
2015-10-13 05:25:12 +00:00
OpenStack Proposal Bot
43f924af84 Updated from global requirements
Change-Id: I7a75b922e61e615338cc148884964498ef628717
2015-10-05 23:13:52 +00:00
OpenStack Proposal Bot
4416608880 Updated from global requirements
Change-Id: I4571a53455786d2e501b8f535487ca683013a9a8
2015-09-24 01:01:31 +00:00
OpenStack Proposal Bot
020f18afbf Updated from global requirements
Change-Id: I507c5f03b2fd53406ff80fd0938aa87ac13a2b0b
2015-09-08 22:02:10 +00:00
Matthew Edmonds
5c58886113 clean up requirements
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
2015-09-04 13:48:49 -04:00
Jenkins
7f84adf1aa Merge "Updated from global requirements" 2015-09-03 20:19:05 +00:00
Brianna Poulos
484ef1b40b Add image signing verification
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
2015-09-02 17:02:03 -04:00
OpenStack Proposal Bot
ede41fb4a4 Updated from global requirements
Change-Id: I0956decb3a18a99a79772705bb25a51ed8c1a9a7
2015-09-01 23:20:34 +00:00
OpenStack Proposal Bot
42a9425384 Updated from global requirements
Change-Id: Ib6d6630bfba3ec9e3080dec0e9552c2bed9b728a
2015-08-15 17:09:58 +00:00
OpenStack Proposal Bot
3b7790eb33 Updated from global requirements
Change-Id: Ifec3b47695ecb0d1b58d2c1883cc3b0d0d07fa8f
2015-08-04 14:21:44 +00:00
Jenkins
9f52cb2e69 Merge "Move to using futurist library for taskflow executors" 2015-08-02 22:30:51 +00:00
Jenkins
ba26a1c7cf Merge "Update glance_store requirement to 0.7.1" 2015-07-31 18:10:59 +00:00
Harsh Shah
cb281c76c9 Move to using futurist library for taskflow executors
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
2015-07-28 00:45:00 +00:00
OpenStack Proposal Bot
f1f4cd067d Updated from global requirements
Change-Id: I0799fdcb7715474f71b9bb46beef0eb5b5e47266
2015-07-27 13:55:08 +00:00
Louis Taylor
16a686d012 Update glance_store requirement to 0.7.1
This release has support for py34, so we can stop using glance_store
directly from git.

Change-Id: I60777b464da28fae4b27bb3d575a07091cea6b45
Depends-On: I4b3fe87fa11465d784f1158142c52e4f09001d27
2015-07-20 13:19:57 +00:00
OpenStack Proposal Bot
e026b5a8a5 Updated from global requirements
Change-Id: Ia59961b0b4bbdc0be1037b364e273cc11181fe7d
2015-07-17 16:12:24 +00:00
Jenkins
aeb3c6aad9 Merge "Healthcheck Middleware" 2015-07-14 13:55:55 +00:00
Erno Kuvaja
562cb0429f Healthcheck Middleware
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
2015-07-07 11:55:21 +02:00
OpenStack Proposal Bot
145edc6b94 Updated from global requirements
Change-Id: I25974ab614ec89540059c8091ae3ca2376addb89
2015-07-07 09:31:02 +00:00
Robert Collins
2c4b084a3c Update requirements
- 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
2015-07-02 11:40:46 +12:00
Sergey Vilgelm
cdf8f5f7aa Switch to oslo.service
oslo.service has graduated, so glance should consume it.

Change-Id: I80487f559302b0e88953835ffb4a3bfe2a347501
Closes-Bug: #1466851
2015-06-23 00:06:53 +02:00
OpenStack Proposal Bot
9b8e2867d9 Updated from global requirements
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
2015-05-08 11:08:35 +02:00
Stuart McLaren
20ec82f18c Remove ordereddict from requirements
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
2015-04-20 14:00:05 +00:00
Louis Taylor
f53584c268 Move elasticsearch dep to test-requirements.txt
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
2015-04-08 10:59:44 -07:00
Lakshmi N Sampath
9911f962a4 Catalog Index Service
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>
2015-03-26 10:12:27 -07:00
Mike Fedosin
401e35e152 Fix metadef tags migrations
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>
2015-03-24 18:32:13 +03:00
Ian Cordasco
cb7d5a4795 Use graduated oslo.policy
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
2015-03-17 23:50:02 -05:00
Louis Taylor
0acff569e0 Move to graduated oslo.log module
This removes the log module from the oslo incubator directory.

Change-Id: Ib017cc2777e27c58b376c3138c9fba614783cc34
2015-03-12 11:48:24 +00:00
OpenStack Proposal Bot
6349d6d7df Updated from global requirements
Change-Id: Idcebb2a67930a35026f89a22961431f6f7996bd3
2015-03-11 16:00:50 +00:00
Jenkins
ab5dca9098 Merge "Updated from global requirements" 2015-03-10 03:33:16 +00:00
OpenStack Proposal Bot
35a5d81991 Updated from global requirements
Change-Id: I61d1a6b07fe384c49958dbf3f912a65e52cc4f6c
2015-03-09 22:42:03 +00:00