Commit Graph

537 Commits

Author SHA1 Message Date
fprzewozn 56778d2697 Changed /tmp/migrate-db.rc to /root/migrate-db.rc
Change-Id: Ibdb411b3d3cfea48d4847887f19c2ae00a3231c8
Closes-Bug: #2018592
2023-05-05 12:26:54 +00:00
Zuul e2cd4a28c0 Merge "Bugtracker link update" 2023-04-18 06:38:17 +00:00
Amit Uniyal 972dfd4825 Bugtracker link update
As discussed in the upstream meeting, update the placement bug tracker,
link from storyboard to launchpad, so new bugs should be reported in
launchpad instead storyboad.

Whats not updated:
- all links of storyboard which do not point to bugs
- links of existing stories, features, docs etc

Change-Id: I64b9d6feb4fb35f36c5a290b8b79d9b78736efd2
2023-03-30 05:36:29 +00:00
Takashi Natsume ed6e84aad7 Move implemented specs for Xena and Yoga release
Move implemented specs from 'in progress' to 'implemented'.

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: Ia916e050f8aa790a787efea5f9c9f295c8d7558f
2023-03-26 09:43:24 +00:00
Ghanshyam Mann bacd2c0393 Policy defaults improvement spec
This spec is to improve the policies default
as per the community wide goal
- https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html

APIImpact

Partial implement blueprint policy-defaults-improvement

Change-Id: I12dce16a7f18bb065e1412d2f2d9bd91452d8672
2022-11-30 04:08:27 +00:00
Zuul b9c1167fac Merge "Fix typos" 2022-09-19 13:42:15 +00:00
Zuul d0e05e89ac Merge "Remove unicode literal strings" 2022-08-05 14:36:10 +00:00
anguoming 5fbb22901b Remove unicode literal strings
Python 2 has been deprecated. This patch removes all unicode strings.

Change-Id: Ie323d459923b36de544c15c45d61eb89866fc550
2022-08-05 02:15:19 +00:00
Rajesh Tailor 4fff36d52b Fix typos
This change fixes typos in comments, log messages and tests.

Change-Id: Ic035853facfad866be5f99ac28247b2864ca5f8b
2022-07-08 21:46:57 +05:30
Balazs Gibizer d8241aac9c Add WA about resource_providers.can_host removal
We made a mistake and not added resource_providers.can_host to the new
DB schema of Placement when Placement was split out of Nova. This patch
documents that as can_host is not in the DB model it is safe to drop it
from the DB to remove the schema inconsistency.

Related-Bug: #1978549
Change-Id: Icfe83313e86969b0b9d34c19b6b82a47d685d4d7
2022-06-14 13:33:43 +02:00
Takashi Natsume e600254d54 Add zed spec directory
Change-Id: If4384292ee94be9bb27cc650b31f5f8c70c119ed
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-03-19 08:23:55 +00:00
Balazs Gibizer b2afade159 Add microversion 1.39 to support any-trait queries
The new microversion adds support for the ``in:`` syntax in the ``required``
query parameter in the ``GET /resource_providers`` API as well as to the
``required`` and ``requiredN`` query params of the
``GET /allocation_candidates`` API. Also adds support for repeating the
``required`` and ``requiredN`` parameters in the respective APIs. So

  required=in:T3,T4&required=T1,!T2

is supported and it means T1 and not T2 and (T3 or T4).

Story: 2005345
Story: 2005346
Change-Id: I66543c0c5509739d1461af2fb2c327a003202d74
2022-02-10 11:09:20 +01:00
Chris Dent fb71123aa1 Spec: support mixing required traits with any traits
This is a reproposal of a nova spec to placement, originally
proposed in I9695f0cb2c0263cd0e8ca552d3a9dd720690e466.

Previously-Approved: Stein
Story: 2005345
Task: 30295
Change-Id: Ibada21dcabbb3824c8d9fdb7584d45abf844be68
2021-11-30 15:17:11 +01:00
Chris Dent f7422e277b Spec: support any trait in allocation candidates
This is a reproposal of a nova spec to placement, originally
proposed in I57c5611d7443070c176d213118857261b37eca0c

Change-Id: I0e47b654d5bdae1125737cf54d9c301bdba3236f
Previously-Approved: Stein
Story: 2005346
Task: 30296
2021-11-30 15:17:11 +01:00
Balazs Gibizer a5f31071ac Add yoga spec directory
Change-Id: Idf9c491542d3e03498e2b8f4c7247d9477e606d5
2021-11-30 15:17:01 +01:00
Balazs Gibizer 4fa74c24e7 Move placement specs from nova
Mistakenly the computing team merged two specs in nova that actually
targeting the placement service. Placement has its own specs directory
to store these. So this patch adds the these specs to the placement
repository.

The only change in the two specifications compared the ones approved in
nova-specs repository is the removal of the note from the top that they
are targeting placement service as it is now obvious.

Change-Id: Ie0d4df94ae16de60394438878e5a1568e29e03a5
2021-07-14 12:46:29 +02:00
Balazs Gibizer 024133eb2d [doc] Redirect people to #openstack-nova
Change-Id: Ia870b82ca12b150668d1bc28823526d94077b235
2021-06-01 16:07:39 +02:00
Balazs Gibizer 5fd570d625 Fix webchat link in the doc
Change-Id: Ice86bedc7b14dbc76e18db6803cede6f0c930605
2021-05-31 14:25:03 +02:00
Balazs Gibizer 0e970d7141 Update doc after freenode -> OFTC move
Change-Id: Ib07d1268b4000aa670b8c22c02b75743923ba429
2021-05-31 10:45:52 +02:00
Ghanshyam Mann fa95ef8772 [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: Ia7365cc3ae09e2ff916ab9f9ff0ba4fef0dc446b
2021-01-15 20:34:51 +00:00
Ghanshyam Mann 0c8cc6eef9 Remove deprecated [placement]/policy_file config option
[placement]/policy_file config option is deprecated since Train
release in favor of ``[oslo_policy]/policy_file`` config option.

In wallaby cycle, default value of ``[oslo_policy]/policy_file``
is going to change to 'policy.yaml' so it is better to remove
the old deprecated config option to avoid confusion for operator.

Change-Id: I427f1f5a82dc1b2e27fa29b68db9ab549df92289
2020-12-21 18:13:09 +00:00
liupeng c02a073c52 Fix Placement Doc
fix a small errors.

Change-Id: I96c16e137a0c32552b8985b1444aecc86e816e3f
2020-11-13 18:55:04 +08:00
Zuul 5bae4f192e Merge "Update verification for Python3" 2020-09-11 07:54:18 +00:00
songwenping b1ff4aff02 Correct spell error from `seperate` to `separate`
Change-Id: I86c156e13b3648704039462570a4d9f171d6e7f8
2020-09-02 15:38:08 +08:00
Amy Marrich (spotz) f58c3d9fa8 Update verification for Python3
osc-placement was still using python2.7 pip command. Also added
name for distro package.

Change-Id: I66218a57d1adbc35e05e36117e238a1d891cd6f3
2020-07-08 19:35:11 -05:00
Zuul df56e21c90 Merge "[Community goal] Update contributor documentation" 2020-07-03 13:26:06 +00:00
Andreas Jaeger 2009e61335 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: I4e3fe772adffbd70d55ce1b73d9161a6de5b9c11
2020-05-21 16:23:00 +02:00
Tetsuro Nakamura ae202d2309 [Community goal] Update contributor documentation
This patch updates the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Change-Id: Ibe1a6a3281ae7ce9fc06293f94bc1fd44a3f63be
2020-04-21 05:45:05 +00:00
ericxiett 971c7aa76e Provide more accurate links in doc/source/user/provider-tree.rst
Change-Id: Ied6223a7922566593d51a61790e693efd4588d14
Story: #2007231
Task: #38507
2020-01-29 17:50:06 +08:00
Tetsuro Nakamura 702c78bfd9 Remove py2 specific requirement for docs
This patch drops the py2 specific requirement for sphinx.

Change-Id: If5b6cfd47d30d3e9054c061dcbbdd69bb57a1154
2019-12-04 01:23:19 +00:00
Zuul 5e76d31f92 Merge "Fix domain name in install doc (2)" 2019-10-08 08:35:05 +00:00
Corey Bryant 47e31b894e Add --skip-locks flag to mysql-migrate-db.sh
The --skip-locks flag can be used along with --migrate in
deployments where table locking operations can't be performed.
For example, Percona XtraDB Cluster only has experimental support
for explicit table locking operations and attempts to use locking
will result in errors when PXC Strict Mode is set to ENFORCING.

Change-Id: I3df5686d13c1ce0cc38402a1317acb661ad74cec
Story: #2006670
2019-10-07 09:59:07 -04:00
Tetsuro Nakamura 81da427b33 Fix domain name in install doc (2)
Commit 3f1a89c7dd changed most of the
install docs to use "Default" instead of "default" for project/user
domain names according to the keystone docs, but the install doc for
PyPI has been missed. This patch fixes it accordingly.

Change-Id: I2e92730ff5819bf49cf1b286356870fdb9c6ece5
Story: #2006652
Task: #36894
2019-10-07 11:47:26 +00:00
Balazs Gibizer dbd0386711 Fix domain name in install doc
Based on the keystone install docs [1][2][3] the domain created by the
bootstrap is named 'Default' (with the id 'default'). This patch fixes
the placement install docs accordingly.

[1] https://docs.openstack.org/keystone/stein/install/keystone-install-obs.html#finalize-the-installation
[2] https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html#finalize-the-installation
[3] https://docs.openstack.org/keystone/stein/install/keystone-install-ubuntu.html#finalize-the-installation

Story: #2006652
Task: #36894
Change-Id: Ia2a4b982d6146a275f433a73b6a8a13acab1e00a
2019-10-02 18:21:38 +02:00
Zuul 2bf7ad034e Merge "Add Train upgrade notes" 2019-09-25 18:20:25 +00:00
Chris Dent 7a6403c603 Add Train upgrade notes
This reminds people that they must first switch to Stein extracted
placement and explains the upgrade status and db sync steps.

Change-Id: I1383e845aaa7caf15b0e2f36038b4b612cffca5b
2019-09-25 10:30:04 +01:00
Tetsuro Nakamura 04b6c2fb91 Clean up contributor document
The contibutor document had subpages section on the top, but it was
weird (especially in pdf) that subpages were before sections of
"overview" and "big picture".

This patch sorts it out creating a new section of "architecture".

Change-Id: Iea2307774e7f6f778c72f5b07b526fad18dc4cc5
2019-09-24 15:45:21 +00:00
Tetsuro Nakamura ac1e0f8afe Clean up document's index
In the top index page of the document, some sections had actual
contents and some had only links to the contents. However, this
makes it difficult for readers to get what is in the document and
what isn't at a glance.

This patch cleans it up to simplify the top index. This patch also
renames some of the directories to follow the doc layout rules[1].

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Note that the following ToDo is left for further cleanup:

 * Publish the api guide and move the microversion history to
   the `/api-guide` directory

Change-Id: Ideb1d5e7c74d1d564d07bac1a1e7c86c55ede873
2019-09-24 15:45:11 +00:00
Tetsuro Nakamura 13da0bff02 Fix section structure for pdf docs
In the document source, we had a hidden toctree to avoid an error
when creating an html document. However, the contents in the hidden
toctree appears explicitly as actual subsections. This resulted in
having wrong subsection structures when creating a pdf document.

This patch fixes it by adding explicit sections for the contents
in the (previously) hidden toctree.

Change-Id: I8420835c19856953c65513914362bf402ff0f08b
Story: 2006110
Task: 35398
2019-09-20 13:50:56 +00:00
Chris Dent b93200d7d6 Build pdf docs
This follows the instructions [1] in an attempt to build pdf docs.

Several doc/source/conf.py changes are required to get this to work.
The most important one is

    'maxlistdepth': '10',

which prevents the build process from stalling out and dropping the
caller into an interactive session.

[1] https://etherpad.openstack.org/p/train-pdf-support-goal

Change-Id: Icf7c22bf9d1de6fb2a74a756c370930d4c00b0b9
Story: 2006110
Task: 35398
2019-09-20 13:50:56 +00:00
Chris Dent 76a5c83c2f Update nested-magic spec for root_member_of
root_member_of was not implemented (as we thought it might not be).
The spec is updated to make this explicit.

Change-Id: I2a60bff04b0837bcac7037d766c675ef3896692f
2019-09-12 11:03:44 +01:00
Chris Dent 15ab82809f Move nested magic spec to implemented
We've done what we decided we'd do.

A redirect and redirect test is included.

Change-Id: Idef9c5c9cdc84c3aa9ad1aef5aea55843ad9f13e
2019-09-12 09:32:05 +01:00
Jens Harbott 8272dfee98 Fix links to migration scripts
The migration scripts have moved, gitea doesn't handle the redirects
properly, so update the links to point to the correct locations
directly.

Change-Id: I73a47c862606fa27158e0b7af9f111b5df8a065d
2019-08-29 08:44:12 +00:00
Chris Dent 768cc88902 Add place-held _static dir for Sphinx 2.2.0
Sphinx 2.2.0 gets upset when a directory it is configured for does
not exist.

The _static directory is only used for automatically generated
configuration and policy sample files.

Change-Id: I5ee07a2cb118e5c9b16aefee73c9274ecace1d44
2019-08-27 15:24:05 +01:00
pengyuesheng 835081ac36 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: I2809c6be60ac102b40c942483a6cdbc0d113117f
2019-07-31 16:42:51 +08:00
Andreas Jaeger 7b3c179fe4 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Iccddd4356b5d7c28977ad954654d0875972dae97
2019-07-22 19:17:01 +02:00
Tetsuro Nakamura 3f786431a4 Doc `same_subtree` queryparam
This patch adds usage documents for the new `same_subtree` queryparam
in `Modeling with Provider Trees` page.

Change-Id: I52a48692aa7069eb16ce4f078cc671fe38728729
Story: 2005575
Task: 30784
2019-07-09 11:50:49 +00:00
Stephen Finucane 4b4dd5ecf8 Add whereto for testing redirect rules
Use whereto to test that the redirect rules do what we expect.

Change-Id: Id3a8f3b9f372ebe9176f1df917f7a6aac30a8e92
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-07-08 09:18:18 +01:00
Chris Dent 3659df6e75 Update implemented spec and spec document handling
Forbidden aggregates was added in microversion 1.32 (part of Train)
and allocation candidates mappings was added in 1.34 so those specs
have been moved to implemented.

An _extra/.htaccess is added to redirect the approved spec to the
implemented spec. If we're experiencing enough volume of specs to
warrant automating this, it should be easy to do, but at this point
we don't have, nor intend to have, large numbers of specs.

While doing that I noticed the management of spec documents can be
simplified somewhat by moving placeholders and templates to a
non-release specific location. The placeholder can then be used
as a symlink when in approved or implemented when those are first
created or otherwise empty (an empty directory when doing a table of
contents glob is an error so some kind of file is needed).

Contribution docs are updated to reflect the location of the
template.rst file. The template.rst file is updated to be release
generic.

Change-Id: Icb886d5062a52bfc757ed7bbe36ed8a63abe1387
2019-07-08 09:17:55 +01:00
Zuul 77000c1408 Merge "Spec: Support Consumer Types" 2019-07-01 21:19:50 +00:00