3005 Commits

Author SHA1 Message Date
Andreas Jaeger
1d1a6f3729 Use openstackdocstheme 1.11 everywhere
Switch to use openstackdocstheme 1.11 for all documents and set it up
following correctly.

Change-Id: If312a985702b1b591d3ca7346c5349905b23a66a
2017-06-30 20:12:52 +02:00
Andreas Jaeger
b86d6b5660 move documentation into the new standard layout
This change moves existing files.
It is not meant to be the final word on how the main page looks or how the
other files are organized, but it gets everything roughly into shape. If
the barbican team wants to make changes, please do those as follow-up patches.

Note this does not touch the api directory, this one needs to be
migrated to the api-ref.

This is part of the docs migration work for Pike.

Change-Id: Ibb9d971806964ac185882272514ee9563089d69d
2017-06-30 20:12:52 +02:00
Jenkins
d16d932b77 Merge "Update installation guide" 2017-06-30 18:08:33 +00:00
Nam Nguyen Hoai
be955bbf27 Using openstack command
This patch updated some points that it will use
openstack command instead of barbican command.

Change-Id: I164f57eae4cc5df18bfe5a95465a617870924759
Closes-Bug: #1697333
2017-06-29 11:21:44 +07:00
Jenkins
58838ce6c2 Merge "Maintain policy in code" 2017-06-23 12:23:51 +00:00
Jeremy Liu
798a3b3ee5 Update installation guide
We have already changed barbican default to keystone authentication [1], so
this guide isn't needed now. Also update `overview` section.

[1] https://github.com/openstack/barbican/blob/master/etc/barbican/barbican-api-paste.ini#L4

Change-Id: I96744a6dc48d66ab4caaa3f2d3e35b6ed18fa9e2
2017-06-23 17:26:50 +08:00
Jenkins
da34d552d3 Merge "Remove translation logging prefixes from i18n" 2017-06-22 19:04:29 +00:00
Jenkins
c4dcb5a160 Merge "Fix html_last_updated_fmt for Python3" 2017-06-22 18:48:03 +00:00
OpenStack Proposal Bot
f79a2b2a0b Updated from global requirements
Change-Id: I73accbeb60da194c454d96a646beb960d0574924
2017-06-19 21:00:51 +00:00
M V P Nitesh
3e2f35f88e Replaces uuid.uuid4 with uuidutils.generate_uuid()
Change-Id: I9a83e63622c352ea39bf43f7ae181cf8a696a999
Closes-Bug: #1082248
2017-06-19 18:01:52 +05:30
lingyongxu
66e1dfa745 Fix html_last_updated_fmt for Python3
gitsha  and pwd options are interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I9541793b4e979ce7637ee5a0e61a881826b3f86f
2017-06-16 09:14:55 +08:00
OpenStack Proposal Bot
bc963d55aa Updated from global requirements
Change-Id: I7fa5bb31eb5fca18f58ba8e85e7915cca53e685c
2017-06-10 21:35:15 +00:00
Jenkins
6fdead9593 Merge "Fix grenade test related to encrypt volume/image" 5.0.0.0b2 2017-06-08 18:34:07 +00:00
Hieu LE
f6489d8355 Fix grenade test related to encrypt volume/image
DevStack Ocata version and master use different default images
(Ocata:uec and master:qcow2), this will lead to tempest encrypt test
failure in grenade gate.

This patch hard-code default images in base version and will be
removed if devstack master and ocata patches are proposed.

Change-Id: I997c759fc026366fe48de9ac7e8c58941622c9cd
Co-Authored-By: Nam Nguyen Hoai <namnh@vn.fujitsu.com>
2017-06-09 14:04:53 +07:00
Jenkins
9a55ac0dd4 Merge "Use get_rpc_transport instead of get_transport" 2017-06-08 06:58:51 +00:00
Jenkins
e5d0a34b81 Merge "Fix html_last_updated_fmt for Python3." 2017-06-08 06:58:45 +00:00
Kaitlin Farr
c7441f030a Remove translation logging prefixes from i18n
Related-Bug: #1694193

Change-Id: I3c2ab7e1838dc750f201f4bdf0063f5526885d09
2017-06-08 03:13:19 +00:00
Nam Nguyen Hoai
aa3c903441 Fix pep8 gate failure because of missing dependency
Change-Id: I237ba7e31f3e2d2bdb48be24e22abd60397da9d7
Closes-Bug: #1696299
2017-06-08 11:37:24 +07:00
Jenkins
5f411632e3 Merge "Update installation guide" 2017-06-08 02:54:03 +00:00
Jenkins
c3ffbf14d2 Merge "Remove translation of log messages" 2017-06-08 02:53:53 +00:00
Vu Cong Tuan
a0c2d904fd Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I5f529e5f15341e28b257cd42766e66390469d3f6
Closes-Bug:#1693670
2017-06-07 10:20:37 +00:00
deepakmourya
6b89fab7d7 Use get_rpc_transport instead of get_transport
With the added get_rpc_transport() function in oslo.messaging [1]
and the recent version bump of oslo.messaging to 5.24.2, we can
safely replace get_transport() with get_rpc_transport() which is much
cleaner.

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

Change-Id: Ib7e204a40e88aecfbd9b024feefdc7aa45e943e2
2017-06-07 14:18:43 +05:30
Jenkins
014cc17be5 Merge "Unification content of the index.rst file" 2017-06-06 16:24:03 +00:00
OpenStack Proposal Bot
6bd3ff3558 Updated from global requirements
Change-Id: I61c73160ced945a3637e4dd8d64b305f7e5b660d
2017-06-06 05:59:55 +00:00
Jenkins
3a94e1a0f7 Merge "Fix some syntaxes in the upgrade guide" 2017-06-06 02:46:44 +00:00
Nam Nguyen Hoai
76f860abab Fix some syntaxes in the upgrade guide
Change-Id: Idde0b4f0699ff293afcaf8532a6b1ec1cbb0d6d3
2017-06-06 16:33:56 +07:00
Jenkins
eaa426ff23 Merge "DevStack plugin set tempest options in test-config section" 2017-06-05 16:19:40 +00:00
Nam Nguyen Hoai
91014f05cc Remove translation of log messages
The i18n team has decided not to translate
the logs because it seems like it not very useful;
operators prefer to have them in English so that
they can search for those strings on the internet.

Closes-Bug: #1694193

Change-Id: I5b215eabd833c6e175168e7184944017815b0107
2017-06-03 10:18:55 +07:00
Nam Nguyen Hoai
341fb3c4f3 Unification content of the index.rst file
In the index.rst file, sometime, we declare that name_of_file.rst,
sometime is name_of_file.

For example. the content of the barbican/doc/source/api/index.rst
is that:

"""
    ./reference/secrets
    ./reference/secret_types
    ./reference/secret_metadata
    ./reference/store_backends.rst
    ./reference/containers
    ./reference/acls
    ./reference/quotas
    ./reference/consumers
    ./reference/orders
"""
That is confusing, it should be like below:

"""
    ./reference/secrets.rst
    ./reference/secret_types.rst
    ./reference/secret_metadata.rst
    ./reference/store_backends.rst
    ./reference/containers.rst
    ./reference/acls.rst
    ./reference/quotas.rst
    ./reference/consumers.rst
    ./reference/orders.rst
"""

Change-Id: I54ca41bb27f59caaaddab977ef4a3cf7f66bb5f3
Closes-Bug: #1694180
2017-06-03 08:11:52 +07:00
Jenkins
1a9dcc1261 Merge "Trivial fix typos" 2017-06-02 03:42:43 +00:00
Jenkins
a6f49f94b4 Merge "Add guideline to upgrade for Operators" 2017-06-01 21:10:21 +00:00
liyanhang
8111bddd01 Update installation guide
The link of Red Hat certificate system release notes is out of date, replace it with
the latest link. Also specify the absolute path of barbican.conf to follow the convention.

Change-Id: I94b636eb77cc5cac7df8f12c9917a3a1a48d3ee5
2017-06-01 15:39:34 +08:00
Nam Nguyen Hoai
57e2f8943a Add guideline to upgrade for Operators
This patch set will add a document guideline
to upgrade for Operators.

Change-Id: Id405801b58e3d8c799794b29dbcb8e14cf4f0cc6
2017-06-01 08:43:39 +07:00
Jenkins
44c671d8b4 Merge "Remove usage of parameter enforce_type" 2017-05-31 03:31:38 +00:00
Vu Cong Tuan
0ea7734c5d Trivial fix typos
Change-Id: I03f468b000a8d648adb83582bfddef5e2ddb5ad6
2017-05-31 09:08:40 +07:00
rajat29
47f84d8265 Remove usage of parameter enforce_type
Oslo.config deprecated parameter enforce_type and change its default
value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0. Remove
the usage of it to avoid DeprecationWarning: "Using the 'enforce_type'
argument is deprecated in version '4.0' and will be removed in version
'5.0': The argument enforce_type has changed its default value to True
and then will be removed completely."

Change-Id: Ic43a2c76354da9749ecad1bddb9590d8b4e0bf95
2017-05-29 09:55:15 +05:30
Jenkins
57535a5dec Merge "Updated from global requirements" 2017-05-27 02:37:45 +00:00
Nam Nguyen Hoai
1896eb8c5f Creating redundancy files when running tox
After running tox -e py2, then there are many files named .coverage.*.
They should not have in the result of "git status" command.

Change-Id: I3ec3f9b8582f6a335ac42621c2273f6fb3433653
Closes-Bug: #1690002
2017-05-28 00:11:37 +07:00
OpenStack Proposal Bot
f661f0e177 Updated from global requirements
Change-Id: Ifaf7c3d1a9a59c28eadef42d450d6a26cdcd70cb
2017-05-26 17:17:27 +00:00
OpenStack Proposal Bot
e7a58c7486 Updated from global requirements
Change-Id: I5cdf05ecb9ad9ea87a7920ca941adfbf247ea673
2017-05-24 03:34:29 +00:00
Kaitlin Farr
eb18c70d3b DevStack plugin set tempest options in test-config section
TEMPEST_CONFIG options should be set in the test-config section,
otherwise they get overridden.

Also adds the creator role to the tempest user.

Change-Id: I6816c1b699e140600e5bb47a251cd0788125f8d0
2017-05-23 13:14:20 -04:00
Jenkins
83e3cec08f Merge "Updated from global requirements" 2017-05-23 14:29:17 +00:00
Jenkins
8e9b0601d5 Merge "Remove Certificate Orders and CAs from Documentation" 2017-05-23 13:34:57 +00:00
OpenStack Proposal Bot
68aacd5310 Updated from global requirements
Change-Id: Icbe08ddd462542acaeccf8cc6b6e9eb82aa45536
2017-05-23 11:47:59 +00:00
Jenkins
e6b21ed6e4 Merge "Clean up a stray secret in the functional tests" 2017-05-19 03:55:15 +00:00
Jenkins
1251948699 Merge "Fix bug in barbican-plugin-grenade" 2017-05-18 14:30:39 +00:00
Jenkins
4ce031661b Merge "Updated from global requirements" 2017-05-18 05:17:04 +00:00
Kaitlin Farr
15dbccb9d3 Remove setting DEVSTACK_LOCAL_CONFIG in test_hook.sh
In the old version of the gates, we already set DEVSTACK_LOCAL_CONFIG
47d2d8e9ec/jenkins/jobs/barbican.yaml (L21)

In the new (experimental) version of the gates (see
I68810330dbee4033f8198f39aba5b75cd3357399), we use thew new recommended
local_conf instead of DEVSTACK_LOCAL_CONFIG (see
http://lists.openstack.org/pipermail/openstack-dev/2017-February/112872.html)

When we use local_conf in the new gates, DEVSTACK_LOCAL_CONFIG is not
needed and is not set. Thus, when test_hook.sh also sets
"enable_plugin barbican" in DEVSTACK_LOCAL_CONFIG, DevStack attempts to
use both DEVSTACK_LOCAL_CONFIG and local_conf, and a duplicate config
error is thrown during the stacking.

Change-Id: Idd94b900b238c865a4074ec7d1f9c1c16ef8d434
2017-05-17 13:42:04 +00:00
OpenStack Proposal Bot
475b6e0d6a Updated from global requirements
Change-Id: Ie49bba95f21a2a067f2f14808f107de54c5d1a20
2017-05-17 13:37:28 +00:00
Jeremy Liu
5e3662000e Maintain policy in code
This patch adds the basic framework for registering and using
default policy rules. Rules should be defined and returned from
a module in barbican/common/policies/, and then added to the
list in barbican/common/policies/__init__.py.

Also adds tox env to generate policy sample file.

Change-Id: If25b17ae7eed3f1a8e8e6f29701552a39d5a603f
2017-05-17 10:02:03 +00:00