3005 Commits

Author SHA1 Message Date
Ade Lee
452d827074 Remove pycrypto from dogtag plugin
Change-Id: Ib9771f9d8ab5f49968d6ca328c28c94bba49066d
2018-04-27 12:47:11 -04:00
Zuul
e708ff3413 Merge "Imported Translations from Zanata" 7.0.0.0b1 2018-04-20 14:54:55 +00:00
Zuul
cdd5bbf9fa Merge "fix lower constraints" 2018-04-20 14:54:54 +00:00
OpenStack Proposal Bot
0a71c46577 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6a5201d5c93df954d2be85749fcb944a3aa098ac
2018-04-19 06:45:07 +00:00
Doug Hellmann
d36aeb40fd fix lower constraints
Update the lower constraints so they match the expected values.

Change-Id: Ifd267ba48087ec028e08a23b48b23a8314a241fa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-17 03:04:31 +00:00
Zuul
5da417afa5 Merge "Update the link in database_migrations.rst" 2018-04-16 20:24:26 +00:00
Zuul
ffee588a21 Merge "Set debug mode according to ENABLE_DEBUG_LOG_LEVEL" 2018-04-16 20:06:03 +00:00
Zuul
382c249ffa Merge "Use assertRegex instead of assertRegexpMatches" 2018-04-16 19:49:00 +00:00
Zuul
1688a2b856 Merge "Update auth_uri option to www_authenticate_uri" 2018-04-16 14:57:55 +00:00
Zuul
65dce37193 Merge "Configure control_exchange to match keystone" 2018-04-16 14:54:56 +00:00
Zuul
8722c1e412 Merge "Add os-testr as test dependency" 2018-04-13 09:25:55 +00:00
Jeremy Liu
aff00f016b Configure control_exchange to match keystone
keystone is using 'keystone' as default control_exchange [1], barbican needs
to match the value so it could consume related events notifications.

[1] https://github.com/openstack/keystone/blob/master/keystone/conf/__init__.py#L90

Change-Id: I16c0fb7e79545268b058eb6fd1a006a04e3fb61b
2018-04-13 15:53:28 +08:00
Zuul
184ac2700a Merge "Initialize db for Barbican Keystone listener" 2018-04-12 18:53:01 +00:00
Ade Lee
7061d65ca9 Initialize db for Barbican Keystone listener
Barbican keystone listener needs to have its db initialized.
Also adding barbican-keystone-listener to run in devstack.
Functional tests will be added in a subsequent commit.

Change-Id: Ie80a2e67a4ed4e62326b716b4925b7d4aa39eb77
Closed-Bug: 1750333
2018-04-12 00:05:24 -04:00
caoyuan
bbc0c6b923 Update auth_uri option to www_authenticate_uri
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: I98ce420a4cb886fc90c645236ddb388fa6865ff6
2018-04-11 22:32:47 +08:00
Jeremy Liu
4051160c9b Add os-testr as test dependency
This is necessary for running functional tests.
Also fix unmatched requirements following [1][2].

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html
[2] https://review.openstack.org/#/c/558610/

Change-Id: I67de85cf24d40ef5066e0a4668071e890eb65087
Closes-bug: #1762646
2018-04-11 18:29:56 +08:00
Vu Cong Tuan
a20315a1bb Apply pep8 check to app.wsgi
Because app.wsgi should meet pep8 standards,
this patch apply pep8 check to app.wsgi.

Change-Id: I570ebbe97dbd0d4cabb75c30e950e391b1276cf8
2018-04-11 14:38:06 +07:00
Zuul
2badc93408 Merge "Remove unused broker configuration in devstack" 2018-04-10 18:13:05 +00:00
Zuul
82d7f97275 Merge "Enable mutable config in Barbican" 2018-04-10 03:20:30 +00:00
Jeremy Liu
ac22e24782 Remove unused broker configuration in devstack
Change-Id: I25801c1d84dfe9d92874f45f4ec236506451384c
Closes-bug: #1738376
2018-04-04 11:00:19 +08:00
Juan Antonio Osorio Robles
55f803d9a8 Take context from environment instead of parsing headers
oslo.context can already parse the environment which should have been
filled by the wsgi engine. So lets use that instead.

Change-Id: Ie4b6e377f1b43c985ec47a47571e026e5285f92e
2018-04-03 14:57:45 +03:00
OpenStack Proposal Bot
9ad1f1824b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3ac8de0e606e355bc0cde8e2ffadbf5f900a6b76
2018-03-29 07:15:35 +00:00
Zuul
b33fed4e5f Merge "Indicating the location tests directory in oslo_debug_helper" 2018-03-26 04:12:01 +00:00
Jeremy Liu
a0dc790ed9 Enable mutable config in Barbican
Task: 6360
Story: 2001545

Change-Id: Ib6b54effa52c4c6b4b30abf5eb7b54c453b1d008
2018-03-26 10:07:49 +08:00
Zuul
f7b32c77f5 Merge "Update to fedora-27 for testing" 2018-03-23 19:07:41 +00:00
Zuul
9a30db8569 Merge "Add retries for Dogtag plugin" 2018-03-23 17:23:40 +00:00
Zuul
adf121eeeb Merge "Do not copy policy.json when installing barbican" 2018-03-23 15:24:58 +00:00
Zuul
f53ae553ba Merge "Remove use of unsupported TEMPEST_SERVICES variable" 2018-03-23 10:22:59 +00:00
Jeremy Liu
06578940b9 Do not copy policy.json when installing barbican
Default policies are registered in code now.

Change-Id: I9051e622d6f23803d8c18e87b2c33fb6b0ec88a6
Closes-bug: #1758257
2018-03-23 17:28:51 +08:00
Zuul
730c9a8705 Merge "Imported Translations from Zanata" 2018-03-23 07:02:52 +00:00
Zuul
a9acdc3398 Merge "Updated from global requirements" 2018-03-23 05:31:09 +00:00
ghanshyam
70aa7291f5 Remove use of unsupported TEMPEST_SERVICES variable
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf

Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4

This commit removes the TEMPEST_SERVICES setting.

Change-Id: I381dbd1c2887189333463eb75363937c7509613c
Related-Bug: #1743688
2018-03-23 04:35:45 +00:00
OpenStack Proposal Bot
f9b9d7b54f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id6e8582441d3c36b5f5b6811a58d338e475371dc
2018-03-23 04:35:12 +00:00
OpenStack Proposal Bot
835a48dd9d Updated from global requirements
Change-Id: If31f7a41686205c5202c533e5bae1ad6cbcb8e02
2018-03-23 03:56:30 +00:00
Zuul
4e00386e80 Merge "add lower-constraints job" 2018-03-23 03:44:09 +00:00
Zuul
50adb09403 Merge "Change restart the services command" 2018-03-23 03:22:32 +00:00
Zuul
f12ddaa0be Merge "Add default configuration files to data_files" 2018-03-23 03:09:01 +00:00
Zuul
3e1c54878d Merge "Handle URL reconstruction in PEP333 compatible fashion" 2018-03-23 00:34:36 +00:00
Ade Lee
d2ce5952dd Add retries for Dogtag plugin
Some Dogtag gate failures appear to be from memory issues
that show up in NSS.  The Dogtag plugin should be made more
robust by adding a retry mechanism.  Failures from Dogtag should
also be better reported.

Change-Id: I148b1c8e265b327d60d76f88c036b032af014930
2018-03-22 13:03:16 -04:00
Doug Hellmann
199381ea5e add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ib098a5cd8e4d119bea61d9b6c28d8274902fe4fd
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 09:01:01 -04:00
Paul Belanger
b5b66946f8 Update to fedora-27 for testing
We (openstack-infra) are in the process of removing fedora-26 from our
testing infrastructure. Update testing to use fedora-27 nodes.

Change-Id: I0a293849140bd2929dbcdb31fa08573802e5c61c
Depends-On: https://review.openstack.org/547107/
Depends-On: I148b1c8e265b327d60d76f88c036b032af014930
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-21 22:28:47 +00:00
Nguyen Van Trung
29d51fc493 Indicating the location tests directory in oslo_debug_helper
According to [1], we can passing a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solves ImportError exception.

[1] https://docs.openstack.org/developer/oslotest/features.html

Change-Id: I843af321242161d4febf8bbf4e22bd2aa0addeda
2018-03-21 07:52:06 +00:00
dommgifer
474abafd75 Change restart the services command
Remove service restart command for openstack-barbican-api.
Add service restart command for barbican-keystone-listener
, barbican-worker and apache2.

Change-Id: I7cd12f6dc8102f1cdde135abc44013f521cc41c6
Close-bug: #1750965
2018-03-20 17:56:33 +08:00
Jeremy Liu
bc51804837 Fix incomplete barbican configuration path in doc
Change-Id: I657622fa7530b468045f0dd6daebc80969877ca5
2018-03-16 15:54:17 +08:00
OpenStack Proposal Bot
2d58f23543 Updated from global requirements
Change-Id: I4c80c758983a60d237b93670dbcfc347640119a2
2018-03-13 06:47:20 +00:00
Zuul
5795c23e39 Merge "Update to use new stevedore backend option" 2018-03-08 07:36:17 +00:00
Zuul
24f1e74946 Merge "Update reno for stable/queens" 2018-03-08 03:21:32 +00:00
a3bcbc854e Update reno for stable/queens
Change-Id: Ic17c24a104ac4375353de3f78acc648946e22ef4
2018-03-08 01:13:47 +00:00
Nam Nguyen Hoai
af4637bcf2 Updating time for functional tests
Currenlty, some gates is being failed with logs like this

"""
b'Response: {"description": "Provided object does not match schema
\'Secret\': \'expiration\' is before current time.
Invalid property: \'expiration\'", "title": "Bad Request", "code": 400}'
"""

So it is necessary to update the time to create secrets successfully.

Change-Id: I59707cdf21f6843dbd7db30978e21cff72756e67
2018-03-08 13:38:23 +07:00
Kaitlin Farr
2fefb2d447 Update to use new stevedore backend option
Depends-On: I87926d6c95ac82b6f74c263c7441614f80348c1e
Change-Id: Ic31870a1aa458d283dcd6bfc4eeb2ad73832c8fa
2018-03-08 00:28:54 +00:00