792 Commits

Author SHA1 Message Date
Corey Bryant
b5f4d46136 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Iae860f4db0da99cf8fc564c085cba7b234606751
Story: #2004073
Task: #27415
2019-02-14 22:40:49 -05:00
Zuul
db75918208 Merge "Fix some types in the FS and VMware drivers" 2019-01-28 06:14:25 +00:00
Zuul
7cdda1be12 Merge "Remove moxstubout usage" 2019-01-24 05:23:15 +00:00
Cyril Roelandt
ac5abddb6f Fix some types in the FS and VMware drivers
The _get_datadir_path_and_priority and _parse_datastore_info_and_weight methods
may return the priority (or weight) as an integer or a string. This causes a few
issues:

- the caller must cast the result to an integer
- the code is harder to read
- static checkers such as mypy have a hard time processing these methods

We make sure that both methods now return the priority as an integer.

Closes-Bug: #1813092
Change-Id: I9435c88560b01737f9310fe2cba1ca4c84e0f3fa
2019-01-24 01:14:26 +01:00
Zuul
8814fe8273 Merge "Fix defaults for ConfigParser" 2019-01-15 12:57:15 +00:00
Zuul
5f983942e0 Merge "Imported Translations from Zanata" 2019-01-15 12:57:14 +00:00
Zuul
ebca8475a7 Merge "Use template for lower-constraints" 2019-01-15 12:57:13 +00:00
OpenStack Proposal Bot
f5843e4dee Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1072be24590ceb10911042ba1bcef7bec5be1f19
2019-01-13 08:16:01 +00:00
Zuul
de27161e78 Merge "Update deprecation notices" 2019-01-08 16:21:43 +00:00
Zuul
8f3668d846 Merge "Catch rbd NoSpace exception" 2018-12-26 23:24:49 +00:00
yfzhao
4c328e7630 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Co-authored-by: LeopardMa <mabao@inspur.com>

Change-Id: I06acef3eafe1b9f7842636e9bcb5a637f2d78cc3
Closes-Bug: #1808929
2018-12-21 11:11:48 +08:00
Andreas Jaeger
86927ea13c Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Iebc92d703af81053547c7b09c863e580e803381c
Needed-By: https://review.openstack.org/623229
2018-12-20 20:59:06 +01:00
Brian Rosmaita
429402b541 Update deprecation notices
Removal of 'stores' and 'default_store' has been postponed until
Train; update the deprecation text and add a release note.

Change-Id: Ib01be1746f9a1b414d6a9436032c34034a2e6f45
2018-12-20 11:24:44 -05:00
Liang Fang
7377cf2638 Catch rbd NoSpace exception
Unhelpful error (HTTP 500, Internal Server Error) received if image
creation failed due to insufficient free space. This patch catches rbd
NoSpace exception and re-raise the exact exception
glance_store.StorageFull, and the http client will receive "HTTP 413
Request Entity Too Large".

Closes-Bug: #1808456
Change-Id: Id787d3ae6f761aaa31d2fc7dd26d2f7d327367d4
Co-authored-by: Stefan Dinescu <stefan.dinescu@windriver.com>
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-12-14 10:45:47 +08:00
Chuck Short
aefad17de8 Remove moxstubout usage
As of version 3.5.0 moxstub will be deprecated, so remove it where it has
been used.

Change-Id: I2622c457871815311241d2eea562d7a3c70b0795
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-29 10:22:05 -04:00
Zuul
b8b873433e Merge "Provision to add new config options in sample config file" 2018-10-25 17:19:11 +00:00
Brian Rosmaita
ad46c752ef Add statement explaining "tips" job configuration
The configuration of the periodic "tips" jobs in .zuul.yaml may
be confusing, particularly after a stable branch is cut.   Add a
comment explaining what we're doing and why to reduce confusion.

Change-Id: I7bf676ac972af835c7a6b8d04815629752685765
2018-10-11 12:03:44 -04:00
Zuul
fb5bd5db32 Merge "Imported Translations from Zanata" 2018-09-18 13:27:29 +00:00
Abhishek Kekane
da494d4abb Provision to add new config options in sample config file
In Rocky we have added support for multiple backend as a EXPERIMENTAL
feature. However configuration options related to multiple backend
are not generated in sample config file due to some issue. We have
added below 2 new config options for multiple backend.

1. enabled_backneds (added in glance)
2. default_backend (added in glance_store)

Made provision to add option 2 from above to sample config
file.

Change-Id: I63571e4a8f85003e304f16653d60cbd38e6b6bde
Partial-Bug: #1793057
2018-09-18 10:18:54 +00:00
OpenStack Proposal Bot
bb965c7037 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I28a2c529cd63db05e7a08ab433ff3aba25bd4146
2018-09-18 06:07:16 +00:00
Nguyen Hai
63c730e53b add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3a9fd029aa958761990aea6d10b20c7904b3ea05
Story: #2002586
Task: #24297
2018-09-18 04:15:07 +00:00
Nguyen Hai
969f81ef48 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie77088a8539ad1f6a83db0a6e57a023977e15a52
Story: #2002586
Task: #24297
2018-09-18 04:15:01 +00:00
Nguyen Hai
ce9d742ad1 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I92412e449b0c42099698870d2c3000aa70d320da
Story: #2002586
Task: #24297
2018-09-18 04:14:54 +00:00
Cyril Roelandt
6ce857397d Fix defaults for ConfigParser
As of 3.7, the configparser module will not allow defaults values to be None.
This patch replaces such values with "default".

Change-Id: Id5a414412cd66d479fb8f8784cba5deddc628dfd
Closes-Bug: #1785641
2018-09-04 18:47:31 +02:00
Nguyen Hai
c7f78ef6b3 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ic16227b9c5b30dcb8c400e392536774ff40aded1
Story: #2002586
Task: #24297
2018-08-23 14:34:07 +00:00
Brian Rosmaita
11db636c34 Refactor periodic "tips" jobs
Two changes:
1 - declare the abstract base tips jobs 'abstract'
2 - add a branch matcher to where the periodic tips jobs
    are invoked in the project definition so that they only
    apply to the master branch

Change-Id: I1093de2583da862f58372e6c03b2d9b604dbd630
2018-08-15 15:40:07 -04:00
Zuul
5b09ab7472 Merge "Move doc8 to test requirements" 2018-08-15 14:58:15 +00:00
OpenStack Proposal Bot
045dc83718 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3271db43146fa028e9f1507d47366b4785a8ed09
2018-08-15 06:21:39 +00:00
James Page
ef44579c35 Move doc8 to test requirements
doc8 is not required to use this module, only for style
checking of RST documentation.

Move from requirements.txt -> test-requirements.txt to avoid
generating a run-time dependency on doc8.

Change-Id: I3ae3909401eb53d4442e6d369228e235e1d5d60e
2018-08-14 14:23:44 +01:00
zhangbailin
f49c211fbd Remove team diversity tags note in README
In this commit(https://review.openstack.org/#/c/579870/) removed
diversity tags, it should also be updated here.

Change-Id: I461e724d5880dc4fa4784d50749f25c4b54f474a
2018-08-10 10:01:52 +08:00
Brian Rosmaita
4d4cf1559c Wrap interface function for multihash correctly
The store_add_to_backend_with_multihash() function was not wrapped
correctly so that Glance could consume the secure hash value.  This
patch adds the correct wrapping.

Closes-bug: #1784420

Change-Id: I7a94dfffb61fc212abb58c1e1aec5884474b6aa8
2018-07-31 12:50:18 +00:00
Tomoki Sekiyama
c369ba013f cinder: Support os-brick privsep filters
Currently os-brick that glance_store depends on uses oslo-privsep
to execute commands with root privileges, so we do not need to
maintain each command for os-brick in the rootwrap filters, but
only need to add the privsep-helper command.

This replaces the filters for os-brick with the privsep helper.

Related changes in Nova:
  I4e333e73ddfd45c045b9d32dac1506fc25858c4d
  # nova: Add os-brick rootwrap filter for privsep
  I3a52f762deb176fe9201b2a0f0da363057f8aaec
  # nova: Initialise oslo.privsep early in main
Related changes in Cinder:
  I3b2e337321875cf4abc0ab9b44fe17cf9327d88b
  # cinder: Add os-brick rootwrap filter for privsep
  Id9652ccf001a707fbd59e277c36817bd6d58e7b3
  # cinder: Initialise oslo.privsep early in main

Change-Id: Idbebaf796eaf89189f64f64167371b81e56b366e
2018-07-22 10:10:49 -04:00
df0780bd0e Update reno for stable/rocky
Change-Id: I992873b9e1f74cf57d9a749395a1928e28586b97
2018-07-19 20:41:01 +00:00
Zuul
7141c77f18 Merge "Consider Cinder back-end as production ready" 2018-07-19 18:04:46 +00:00
Zuul
87c35999cd Merge "Remove config option help translation" 2018-07-19 17:40:04 +00:00
Zuul
f84d3044df Merge "Address multi store nits" 2018-07-19 17:25:15 +00:00
Erno Kuvaja
2c35f16ff1 Consider Cinder back-end as production ready
Closes-Bug: #1780764
Change-Id: I02153190d72bd861c509f61caad92c20a787f848
2018-07-19 13:56:40 +00:00
Sean McGinnis
1bbe9b3f8a Remove config option help translation
Config option help is used to generate sample config files.  This
is done statically and only in English. Translation is done
dynamically at runtime by loading the translation catalogs. So
putting the _() translation around config option help creates
unnecessary work for the translators as this will never be loaded
and translated.

This removes translation markers from config option definitions.

Change-Id: I0597a5b69ef4e179324885cb35bbb72fceb2b830
2018-07-19 13:53:32 +00:00
Brian Rosmaita
90f4b82aec Deprecate store_add_to_backend()
A replacement, store_add_to_backend_with_multihash(), has been
introduced in Rocky.  The old function is kept in Rocky for
backward compatability.  This deprecation notice registers our
intent to remove it in Stein.

Change-Id: If09ae10ee160e3fbfafce94e4f3607994af63ec5
2018-07-18 12:02:43 -04:00
Scott McClymont
ba9808cebb Multihash Implementation for Glance
Adds the ability to compute a "multihash" (see the Glance spec
for what this is exactly).  To maintain backward compatability,
a new store_add_to_backend_with_multihash function is added.
Backward compatability for each store's add() method is achieved
by a back_compat_add wrapper.

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

Change-Id: I063d0900b7dc7e0d94dfb685971eb9b17ed67c7b
Partially-implements: blueprint multihash
2018-07-18 09:27:54 -04:00
Zuul
baa663ec5c Merge "Add release notes for 0.25.0" 2018-07-17 14:53:06 +00:00
Zuul
74a0479078 Merge "Multi store support for cinder driver" 2018-07-17 14:53:06 +00:00
Sean McGinnis
d4c5fa95e5 Address multi store nits
This addresses some nits from I1f2e8fa61d6dfecd8395a1f894f74ec5bcb5573c
that were not worth holding up that review to address.

Change-Id: Iab60d5622dddf29871fbbc9f51deb93de26235e8
2018-07-17 08:01:17 -05:00
Zuul
7426ad990e Merge "Update conf.py to align with openstackdocstheme" 2018-07-17 12:48:11 +00:00
Zuul
bc9178a140 Merge "Multi store support for http, swift, sheepdog and vmware driver" 2018-07-17 12:48:10 +00:00
Erno Kuvaja
f8ee2fc9ad Add release notes for 0.25.0
Change-Id: I88ee7947d34512276ac5866bf1ada0666f2eaac9
2018-07-17 11:51:37 +00:00
Abhishek Kekane
a114c41d11 Multi store support for cinder driver
Added multi store support for cinder driver. The default behavior is
maintained for backward compatibility.

DocImpact
Partial-Implements: bp multi-store

Change-Id: I094d315a5f3968cac2056a42f0a4ac236323f36d
2018-07-17 03:50:46 +00:00
Zuul
e5d8f5bf91 Merge "Update links in README" 2018-07-16 22:58:59 +00:00
Zuul
b16a0fdeda Merge "Deprecate stores, default_store config options" 2018-07-16 22:58:59 +00:00
Zuul
0d0e4100e2 Merge "Update tox.ini to conform to the PTI" 2018-07-16 21:27:16 +00:00