234 Commits

Author SHA1 Message Date
Brian Rosmaita
0b24dbd620 Multihash implementation for Glance
Partially implements blueprint multihash.

Requires glance_store 0.26.1

Co-authored-by: Scott McClymont <scott.mcclymont@verizonwireless.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: Ib28ea1f6c431db6434dbab2a234018e82d5a6d1a
2018-07-31 21:28:38 -04:00
Zuul
8a2d154234 Merge "Remove all usage of keystoneclient" 2018-04-25 08:33:28 +00:00
Nguyen Hai
623d914348 Fix incompatible requirement in requirement.txt
Requirement for package eventlet has an exclusion not found in
the global list: set(['<0.21.0', '!=0.20.1', '!=0.18.3'])
vs. set(['!=0.20.1', '!=0.18.3'])

Change-Id: Ieb6f40efde78fc0df42c395f0ed650df5b2d0f77
2018-04-11 15:02:18 +09:00
Gage Hugo
810417df86 Remove all usage of keystoneclient
A lot of keystoneclient has been long deprecated and is slated
for removal. This change removes two usages of keystoneclient
and replaces them with similar functionality in keystoneauth.

Change-Id: I0128a7bb42b0d691600fdd03aac287633c8b2451
2018-04-09 17:45:10 -05:00
OpenStack Proposal Bot
ca51cb8465 Updated from global requirements
Change-Id: I69cbca08813bf47892594d7485489a77e465c790
2018-03-26 08:02:30 +00:00
OpenStack Proposal Bot
ec81cb97ca Updated from global requirements
Change-Id: I371c316e1dcc2df092eb45af31033d5a8782a894
2018-03-17 08:28:33 +00:00
OpenStack Proposal Bot
3914fefd50 Updated from global requirements
Change-Id: I97c43ba4c7d0525ee11a51adbe75a8e43c6b3958
2018-03-13 01:04:44 +00:00
OpenStack Proposal Bot
0e1eceff91 Updated from global requirements
Change-Id: Ic2ab79ce8bdcd5410ee8aa8b1e2e94816990c7a1
2018-02-17 09:27:52 +00:00
Vladislav Kuzmin
6e82ea023a Replace xml defusedxml
xml was considered as vulnerable to different atacks.
It is recommended to replace this library with defused_xml

Change-Id: I2b146dc34ada37a3ed9ecf49513d024a8ca2fb19
Related-Bug: #1625402
2018-01-31 14:49:13 +00:00
OpenStack Proposal Bot
ec950dce83 Updated from global requirements
Change-Id: I6344cb40cc97ff29e2bfbb1fe0b7360b4c11d182
2018-01-16 12:27:26 +00:00
OpenStack Proposal Bot
6d31337bcd Updated from global requirements
Change-Id: I0762f59051cf26fbbd2be831b1bceaff8f1772a1
2018-01-08 12:35:21 +00:00
OpenStack Proposal Bot
3ac9fa6503 Updated from global requirements
Change-Id: Ife3812797612c25e155d15ff20ea3b0c374510e4
2017-12-19 01:15:58 +00:00
OpenStack Proposal Bot
f6c484b0f9 Updated from global requirements
Change-Id: I4fad8eeba220ab04772fb52696feed7fccfd647e
2017-12-07 13:21:28 +00:00
OpenStack Proposal Bot
09882441fa Updated from global requirements
Change-Id: Ic79e9a0f6660bb775f1143c61f4a9bc6496eb627
2017-12-05 03:02:18 +00:00
OpenStack Proposal Bot
02cce55999 Updated from global requirements
Change-Id: I56c96d1250ff35a38b6be50a08241d7493553318
2017-11-29 08:55:01 +00:00
OpenStack Proposal Bot
91779579f6 Updated from global requirements
Change-Id: I5ca05002f1a4d034f52b697b24c6aa347aabfddc
2017-11-16 11:03:18 +00:00
OpenStack Proposal Bot
dc32afe4da Updated from global requirements
Change-Id: Ifdb455b6d38d5310abb3fe4b5237f696bfbe7b61
2017-11-13 21:10:26 +00:00
OpenStack Proposal Bot
2da4cd85b3 Updated from global requirements
Change-Id: Ifabacc2ae03578ec81eeab5c2e0970685ac8dfaa
2017-11-03 13:39:48 +00:00
OpenStack Proposal Bot
14d209f2f4 Updated from global requirements
Change-Id: I09b72ed63e0ce951d8c0253427bb616bdb4bd170
2017-10-27 03:00:58 +00:00
OpenStack Proposal Bot
ff4974ddad Updated from global requirements
Change-Id: I7608e40e32914af9947ef531d405eeb4fba3c6c5
2017-09-26 15:45:52 +00:00
OpenStack Proposal Bot
6df72f9c98 Updated from global requirements
Change-Id: Ib377a75f372b4e89fa64affc1479f9dc31be9d7a
2017-09-16 23:11:44 +00:00
OpenStack Proposal Bot
86d4a76b47 Updated from global requirements
Change-Id: I7e60640967e78d0e43657101c3a9ce69bfdc31c4
2017-09-13 12:50:08 +00:00
OpenStack Proposal Bot
1041c1f983 Updated from global requirements
Change-Id: I02c3c09885290da1acbd7256a707f6c0cb324e65
2017-09-01 12:35:41 +00:00
OpenStack Proposal Bot
715101623f Updated from global requirements
Change-Id: If0f0f8570d0e9cba88d68945883a91e692965298
2017-08-24 05:49:05 +00:00
OpenStack Proposal Bot
d12d76a61b Updated from global requirements
Change-Id: Id3a5fc20649be1278649e460fb73cb14ba02a244
2017-08-08 12:11:49 +00:00
OpenStack Proposal Bot
b75d3938b3 Updated from global requirements
Change-Id: Iaf4d39d4122f2ad850be84313d163dfd42cefe31
2017-07-27 20:21:01 +00:00
OpenStack Proposal Bot
9f8bf3fe26 Updated from global requirements
Change-Id: Idafed98c839f06fbb173d9d2b6cc7377782e5d2f
2017-07-26 17:32:41 +00:00
OpenStack Proposal Bot
adb219cf45 Updated from global requirements
Change-Id: I07a6795dc0ac1facc8fe7612d07bb531d73caeea
2017-07-23 13:41:29 +00:00
OpenStack Proposal Bot
f45b78d82e Updated from global requirements
Change-Id: Idd4736a9a8f1f2d4f6aebb4e753fb3158d737641
2017-07-18 19:33:40 +00:00
OpenStack Proposal Bot
659f9826be Updated from global requirements
Change-Id: I276eafa3a00177eb7684b18ae880ca023ed64c1c
2017-06-22 00:11:37 +00:00
OpenStack Proposal Bot
bac5948d1a Updated from global requirements
Change-Id: I0ca13eb158a2de09402f606ada0dc93cb54ec510
2017-06-15 18:00:03 +00:00
OpenStack Proposal Bot
40a9e61f57 Updated from global requirements
Change-Id: Iee8ea4ec4fda4cc167258fe698c886958a75c4e8
2017-06-07 11:49:18 +00:00
OpenStack Proposal Bot
b1942e8e47 Updated from global requirements
Change-Id: I8291360ea5fadbe9111d9fd61d9fb1e40c0540e9
2017-06-02 11:32:48 +00:00
OpenStack Proposal Bot
0d1ec8fb45 Updated from global requirements
Change-Id: I7ddb7d0d2640cf143e49a8d48c22e475ef689c14
2017-06-02 02:25:23 +00:00
OpenStack Proposal Bot
223e04e19e Updated from global requirements
Change-Id: If7ec1f38f15e85ff642dd8b0e3d5032656ee748d
2017-05-26 17:18:49 +00:00
OpenStack Proposal Bot
5d80560d39 Updated from global requirements
Change-Id: Ia2ad40aef3c8cea4b25179157ffe2686c106abdc
2017-05-24 03:35:48 +00:00
OpenStack Proposal Bot
cfc2f92780 Updated from global requirements
Change-Id: Ieeeed33d76ce4aeccede30aaaaa7a785da7530a3
2017-05-20 04:35:18 +00:00
OpenStack Proposal Bot
519ad02f79 Updated from global requirements
Change-Id: I262863006d521a623f06a167dbe7785ba7d15a44
2017-05-03 12:12:44 +00:00
OpenStack Proposal Bot
985b35754e Updated from global requirements
Change-Id: Ie5ec6ae1bd523e792d7c13a54e21599b5add8390
2017-04-12 04:11:21 +00:00
OpenStack Proposal Bot
11b16baa11 Updated from global requirements
Change-Id: Ic4f72867fd65e48e5433053c9646764fad895bf3
2017-04-05 22:07:01 +00:00
Jenkins
9ed758a121 Merge "Use cryptography instead of pycrypto" 2017-04-04 18:00:27 +00:00
OpenStack Proposal Bot
7678c6343f Updated from global requirements
Change-Id: Idf6cba632890bf77951f22a9a695900bc5057ced
2017-04-01 15:23:21 +00:00
Brian Rosmaita
5ebde9079b Use cryptography instead of pycrypto
I was following up on [0] to see how much work would be required to
get Glance off pycrypto.  There's not much, so I decided to just do
it.  This patch rewrites the utility functions that were using the
pycrpyto library to instead use cryptography and removes pycrypto
from requirements.txt.

Note: PS1 included both the pycrypto- and cryptography- based
utilities in order to show that the new utilities can decrypt output
from the old utilities, and the old utilities can decrypt output from
the new utilities (needed for rolling upgrades).  You can look at the
earlier test results or download PS1 to run and verify.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html

Change-Id: Ib95644747e20bfd8ade5572d46651f9bd706e9da
2017-03-28 13:12:57 -04:00
OpenStack Proposal Bot
4a3c8651ed Updated from global requirements
Change-Id: Iea1588449319a61e77c49e4c71fc7943b67754d4
2017-03-15 12:42:18 +00:00
OpenStack Proposal Bot
d64eb83403 Updated from global requirements
Change-Id: If4c756fc20ae43ecd5be187a630e5995b596ec4a
2017-03-04 01:43:26 +00:00
Jenkins
1f55688ee0 Merge "Glare-ectomy" 2017-03-03 16:22:28 +00:00
Brian Rosmaita
4b8026714f Glare-ectomy
Glare became a separate project during Newton.  The code was copied
out of the Glance tree, but remained in the Glance repository.  It
is no longer being maintained, and that has begun to cause some
problems, for example, blocking a recent stevedore upper constraints
change; see I141b17f9dd2acebe2b23f8fc93206e23bc70b568

This patch removes the Glare code from the Glance repository.  It
includes Alembic database migration scripts, in both the all-in-one
and E-M-C format.  It also includes release notes.

Implements: blueprint glare-ectomy
Change-Id: I3026ca6287a65ab5287bf3843f2a9d756ce15139
2017-03-01 21:46:52 +00:00
OpenStack Proposal Bot
a62ed95f54 Updated from global requirements
Change-Id: I649450f1fb9983ef7214d82ebf7d32dc25c25746
2017-03-01 04:06:28 +00:00
OpenStack Proposal Bot
65dd7ae290 Updated from global requirements
Change-Id: I4e35087ca765f0aa182d15cbcfe531fb9f0d37c1
2017-02-10 09:39:49 +00:00
Hemanth Makkapati
21d431013f Port Glance Migrations to Alembic
This change proposes the use of Alembic to manage Glance migrations.
* Introduce new directory ``alembic_migrations`` under
  ``glance/db/sqlalchemy``. This directory is the home for all glance
  migrations henceforth. All the migration scripts reside under
  ``versions`` directory.
* All the migrations up to Liberty are consolidated into one migration
  called ``liberty_initial`` as those migrations are not supported
  any more. Mitaka migrations are retained but under a different naming
  convention.
* All the glance manage db commands are changed appropriately. They now
  use alembic to perform operations such as ``version``, ``upgrade``,
  ``sync`` and ``version_control``.
* The database versions are not numerical any more. They are the revision
  ID of the last migration applied on the database. Since we don't
  support migrations before Mitaka, the Liberty version ``42`` will now
  appear as ``liberty``. Migration ``43`` and ``44`` in Mitaka appear as
  ``mitaka01`` and ``mitaka02`` respectively.
* When one performs a ``sync`` or ``upgrade`` command, the database is
  first stamped with an equivalent alembic version before upgrading.
* The older migration scripts are retained so that users can correlate
  with the new migrations. Also, it is probably safe to retain them until
  the alembic migrations become stable. Similarly, the ``migrate_version``
  table is not removed yet.

Partially-Implements: blueprint alembic-migrations

Change-Id: Ie8594ff339a13bf190aefa308f54e97ee20ecfa2
Co-Authored-By: Alexander Bashmakov <alexander.bashmakov@intel.com>
Depends-On: I1596499529af249bc48dfe859bbd31e90c48a5e0
2017-01-31 22:42:43 -06:00