Commit Graph

291 Commits

Author SHA1 Message Date
Zuul 91e44b667f Merge "Fix wrong plugin name" 2024-04-23 15:43:36 +00:00
Takashi Kajinami e7f6443751 Fix wrong plugin name
The kmip_crypto secret plugin does not exist.

Change-Id: I2cd280e054cce30fd2cb76a2158d3d5bfb3e0c04
2024-04-22 20:41:01 +09:00
Takashi Kajinami ca57ef5436 Use explicit default instead of implicit fallback
[p11_crypto_plugin] mkek_length has no default but the logic uses
implicit default value (32) internally.

Change-Id: I8743457aab9f0ce4982fcb9255dc86050b791308
2024-03-29 14:03:50 +00:00
Takashi Kajinami 901cf2cc39 Prohibit certificate order resource
It was announced that this resource will be removed in Pike release.
Multiple cycles have passed since then, so we may be really ready to
remove it.

Note that this is the first step and removes only API layer logic.
Further logic removal will be done in the subsequent change.

Change-Id: Ib0eb3b11815b40237d42735097076b7c89cf9516
2024-02-22 13:16:49 +09:00
Zuul 8323ce32cd Merge "Fix expired links" 2023-12-15 16:09:02 +00:00
Zuul 90a1d5cc55 Merge "Add tempest to devstack how-to" 2023-10-14 20:52:15 +00:00
renliang cc14717f6a Fix expired links
update the address for
https://registry.hub.docker.com/r/jmvrbanac/simple-keystone

Change-Id: I095bbeed7bceffd273293defa814193c999df090
2023-09-06 17:15:59 +08:00
Douglas Mendizábal a54f18af5f Add tempest to devstack how-to
Depends-On: Icd99f467d47aaafaaf3ee8f2a3c4da08842cb672
Change-Id: I6fa1ec351a6b7ee22df213bb2c2a62bead7a055d
2023-05-25 14:04:17 +00:00
Grzegorz Grasza c65e4288f6 Migrate back to Launchpad
Change bug tracker link and other references to StoryBoard
back to Launchpad.

Change-Id: Ifedbf85d8cfbe3a5b439a579dcee1fc6f947f392
2023-05-15 14:22:00 +02:00
Grzegorz Grasza 5defb5c5d4 Fix typo
Change-Id: Ib0d6e5052bedc50911cf6f561dc5cc091b1096a4
2023-02-15 09:04:30 +00:00
Grzegorz Grasza f1046a6052 Secret consumers documentation
This also adds the requirements.txt to the docs tox env,
to fix the failing openstack-tox-docs CI job.

Change-Id: Id920d274100078ad922f8686d29c0b9a8612ac7d
2023-01-03 14:38:27 +01:00
Zuul aba0bd074e Merge "Microversions documentation" 2022-12-12 14:36:26 +00:00
Grzegorz Grasza 651c2a8f80 Microversions documentation
This adds contributor as well as user documentation, mostly based
on documentation from Nova.

Change-Id: Iead4f2971f0ef518f03b7cdfe8157fe9053e543a
2022-12-09 10:26:35 +01:00
Zuul 5aa1538586 Merge "Remove unnecessary unicode prefixes" 2022-10-28 11:07:19 +00:00
Douglas Mendizábal 33d42acb04 Update devstack plugin installation doc
This patch updates the installation doc for the devstack plugin.  It
also removes the Vagrant option as it has not been maintained in quite
some time.

Change-Id: I97fc2fac0cb29b1059b668bbe817a2778a8a4a70
2022-09-23 15:56:47 +00:00
Hervé Beraud b73046ff74 Remove unnecessary unicode prefixes
Change-Id: I87ee686a86be738ee96edf647a33fc3ce0510853
2022-05-09 19:49:40 +00:00
Douglas Mendizábal 2620d14c5f Allow secret delete by users with "creator" role
Users with the "creator" role on a project can now delete secrets owned
by the project even if the user is different than the user that
originally created the secret.  Previous to this fix a user with the
"creator" role was only allowed to delete a secret owned by the project
if they were also the same user that originally created, which was
inconsistent with the way that deletes are handled by other OpenStack
projects that integrate with Barbican.

This change does not affect the policy for delting private secrets
(i.e. secrets with the "project-access" flag set to "false").

Story: 2009791
Task: 44324
Change-Id: Ie3e3adc1ee02d770de050f5cfa8110774bb1f661
2022-01-31 14:21:58 -06:00
Pierre Riteau 95b7fb2842 [doc] Fix typos
Change-Id: I7322f64b20649770d84e42fcbd0fac2f44b0d8c0
2021-11-13 16:44:47 +01:00
wu.chunyang b5d10b3c03 docs: Update Freenode to OFTC
see: http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
Change-Id: Ibcaf9929c35dc62ff2aedbe9a3c21be5d3ae1b1d
2021-06-08 21:58:55 +08:00
Ghanshyam Mann d6c01bba59 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Idaa65dac1c97324d671b9a07a2f3d51bb128e8c2
2021-02-02 08:36:59 -06:00
Zuul 85257b5673 Merge "[doc] Fix hmac/mkek generation commands" 2021-01-19 13:33:43 +00:00
Dmitriy Rabotyagov 7562dda269 [doc] Fix hmac/mkek generation commands
Accidentally wrong lables were copy pasted into the doc. In the meanwhile
labels in sample commands should be the same as used in the sample
configuration block above the generation commands.

Change-Id: I3ddbd086815917cd0c124a88b31333fd366a574c
2021-01-12 13:58:41 -06:00
YuehuiLei cb64ae82e0 remove unicode from code
Change-Id: Ief261bf1f0def0cb1c27148740bf6e3a9837e590
2021-01-04 15:28:52 +08:00
Dmitriy Rabotyagov 960c5ef519 [doc] Adjust documentation for Thales Luna
Luna Network HSM configuration was not full which may raise unnecessary
questions during integration. Also worth mentioning, when store_crypto
has effect on the barbican behavior.

Change-Id: I33032226d0dd891b9c33c4705fd8627c66bd76d9
2020-11-12 14:05:25 +02:00
Zuul 218da1ee9b Merge "corrects typo in cp command" 2020-10-29 17:20:46 +00:00
Zuul edab434bb2 Merge "[doc] Add documentation for Vault plugin" 2020-10-29 16:37:11 +00:00
Douglas Mendizábal 69459a0ecf Use serial number or label for PKCS#11 tokens
The PKCS#11 standard does not make any guarantees about
slot numbering, so the slot ID alone should not be used
to identify a token.  Instead, the token's Serial Number
or Label should be used to ensure the correct token
is being used.

This patch adds two new config options to the p11_crypto
plugin: token_serial_number and token_label.

These new options allow for more flexibility in configuring
the PKCS#11 module.  The config may include either the token's
serial number or its label.

Serial numbers should be unique, so they take higher precedence.

Some devices allow tokens to have the same label, so this patch
ensures that only one token with the specified label is present.

If both serial number and label are given, only the serial number
will be checked and an error will be raised if it is not found.

slot_id continues to work as expected, although its use is discouraged
and may be deprecated in a future patch.  If the conf contains
only the slot_id, it will be used.  If the serial number or
label are also provided, the new logic will ignore the slot_id
and search for the serial number or label instead.

Change-Id: I115cf1a7006a6c85f37c5e50ded13134a3dfd1a3
2020-10-19 16:21:15 -05:00
Kafilat Adeleke 85b52526d7 corrects typo in cp command
The command:
cp etc/osloconfig-generator/barbican.conf /etc/
barbican/barbican.conf

Should be:
cp etc/oslo-config-generator/barbican.conf /etc/
barbican/barbican.conf

Change-Id: If35e0278f53b3efb0f1396e831325a9160b2980e
Story: #2008238
Task: #41081
2020-10-16 23:47:18 -07:00
Dmitriy Rabotyagov 4d017c4cc2 [doc] Add documentation for Vault plugin
Vault plugin has been added for a while, however it is still undocumented

Change-Id: I354a406799344a1577ba1a2d6a88df2a129bef1b
2020-10-09 16:01:25 +03:00
Ricardo Rocha 6642a60830 Set db_auto_create default to False
Change the default value for the db_auto_create option to False. This is
vital as the flag is managing upgrades as well if the databases already
exist.

It will prevent production deployments from having their databases
impacted if an API daemon is started for any reason pointing to
a production database.

Change-Id: Id7eac78737af76afe628deeca7c15c2ac969d47e
2020-09-25 14:34:07 +00:00
liushuobj 0edaaf2756 Fix kmip&dogtag level problem in the document hierarchy
Change-Id: I5a161abbfd4ac3b6cbc6304a4674e6abde0605b5
2020-08-18 08:56:01 -05:00
Moisés Guimarães de Medeiros 71bad5df06 Ussuri contrib docs community goal
This patch standardizes the CONTRIBUTING.rst file and adds the
required doc/source/contributor/contributing.rst

Task: 38514
Change-Id: I8a5d202f903e89e19106ccdda11fc30522892e7f
2020-06-24 10:26:22 +02:00
Moisés Guimarães de Medeiros df194df816 Fix PDF build
Do not include config sample since PDF building fails with the
large file. This fix PDF building of openstack-tox-docs job.

Change-Id: I69fd56ca1cdbae4c5442fb79fd3c1f5f79290044
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-06-23 16:37:17 +02:00
Zuul 87ba19b78b Merge "Fixes index.rst titles and add mascot" 2020-06-09 14:18:51 +00:00
Zuul 632e181e85 Merge "docs: Minor tweaks to DevStack guide" 2020-06-09 01:29:40 +00:00
Moisés Guimarães de Medeiros 5df6c0cf84 Fixes index.rst titles and add mascot
Change based on other services docs like Nova and Cinder.

Change-Id: If96ad0bedf469934c8e4c7fcbe8c880514ae9489
2020-06-08 16:14:18 -03:00
Stephen Finucane 146b6e6b9e docs: Minor tweaks to DevStack guide
Fix indentation so code blocks don't appear as quotes, properly title
case case project names and format literals as such.

Change-Id: I3db0e83e30469d7217126f18dce813bf00abc0ae
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-05-27 15:43:29 +01:00
Andreas Jaeger 138375ea23 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ibf877ecf4ee043017d0ca219595cee859b7092dc
2020-05-21 14:38:36 +02:00
Andreas Jaeger 02b82e5a4c Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Sync docs deps in tox.ini

Change-Id: Ie1fccdc777be978075e4689eda6c62578bd463e4
2020-04-29 19:10:48 +02:00
Douglas Mendizábal b8266ef402 Use Zuulv3 devstack jobs
This patch updates the gate jobs to stop using legacy
jobs and use the new Zuul v3 jobs instead.

The tempest tests will be re-enabled in a future patch.

Depends-On: I5d2bda5e653ee5d7c17cb7697247802916bdc5f7
Change-Id: Id91f44e8053cf4f40224959021d43736d5525107
2020-04-27 16:41:20 -05:00
Ade Lee ccb4265de5 Set correct names for Thales and NetHSM
Change-Id: I0f5dd8e9439449c19fca259e5c9f2725766b2795
2020-01-15 12:11:25 -05:00
Ghanshyam Mann ab6898aa7f [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Barbican is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I77bf25fedb45433c7dbe655b4fd0c24dcf030549
2020-01-10 17:22:04 +00:00
Zuul f00509e4f4 Merge "docs: Fix typo: barican" 2020-01-10 16:26:54 +00:00
Zuul d9a7597113 Merge "Update dev environment instructions for F30" 2019-10-25 19:20:55 +00:00
Tim Burke b49b6c877e docs: Fix typo: barican
Change-Id: Ia1449a778a8c5f3fc573c91b641adb20b7ad6039
2019-10-11 12:27:59 -07:00
Alexandra Settle 3db28fb81a PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Also, due to the opposing graphic format, the .gif file
had to be converted (not renamed) to .png so the LaTeX
builder would accept and read the images.

Change-Id: I6384e56222991d39f4fd1bc99e82be6c89fb16a3
Story: 2006072
2019-09-25 08:59:22 +00:00
Douglas Mendizábal 34d55597ae Update dev environment instructions for F30
Change-Id: I6057ccba5c6770a6aeba59d39fde073354fb90a8
2019-09-23 12:37:34 -05:00
Akihiro Motoki 2d2376397d Ensure doc/source/_static to fix docs gate
doc/source/_static directory is required by oslo.policy sample generator.
The recent sphinx complains if _static directory is missing.
This commit adds a placeholder file to ensure doc/source/_static directory.

Change-Id: Ied6cbc80c4b384ed45c927f2aea8e88604f457fe
2019-09-06 10:07:26 +09:00
Zuul d2a1b28c21 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-08-06 10:26:13 +00:00
Zuul e2c8b1b7f4 Merge "Added section for Utimaco HSM in documentation." 2019-08-06 09:01:33 +00:00