201 Commits

Author SHA1 Message Date
Zuul
270792377d Merge "Bye-bye iSCSI deploy, you served us well" 2021-05-05 13:12:32 +00:00
Dmitry Tantsur
929907d684 Bye-bye iSCSI deploy, you served us well
The iSCSI deploy was very easy to start with, but it has since become
apparently that it suffers from scalability and maintenance issues.
It was deprecated in the Victoria cycle and can now be removed.

Hide the guide to upgrade to hardware types since it's very outdated.

I had to remove the iBMC diagram since my SVG-fu is not enough to fix it.

Change-Id: I2cd6bf7b27fe0be2c08104b0cc37654b506b2e62
2021-05-04 14:28:25 +02:00
Zuul
cea29d5215 Merge "Update basic local.conf for quickstart" 2021-05-04 05:41:38 +00:00
Zuul
83b412cbdb Merge "Deploy interface that fully relies on custom deploy steps" 2021-05-03 11:27:18 +00:00
Dmitry Tantsur
e85a36fe36 Deploy interface that fully relies on custom deploy steps
This change adds a new deploy-interface custom-agent that is essentially
the direct deploy without the write_image step and without bootloader
handling. It's targeted at deployments that need to write the image
differently, while keeping all other aspects the same.

The existing AgentDeploy becomes a subclass of the new CustomAgentDeploy
class, serving as a convenient base class for downstream deploy
interfaces that use IPA.

Change-Id: Ie126ce677c79f102e382305650bddb7f09834483
Story: #2008719
Task: #42059
2021-04-30 14:38:16 +02:00
Riccardo Pittau
da88ce8cdd Update basic local.conf for quickstart
Updating the local.conf example basic configuration for development
quickstart based on recent updates.
This has been tested on ubuntu focal, current base opearting system used
for CI jobs.

Change-Id: I102bef55bef1c944991fbcba7547cd51c03fc7be
2021-04-21 10:42:42 +02:00
kafilat-adeleke
5c303a5e0a Aliases for a few unfortunately named state transitions
This RFE proposes a new microversion that will provide
aliases to two poorly named provisioning verbs
to match the existing CLI commands

Story: #2007551
Task: #39402
Change-Id: Ifd14aebbfb4b17c5108f44092dac0b89d1c2c50a
2021-04-15 08:25:13 +01:00
Arun S A G
288b8fd883 Add agent_status and agent_status_message params to heartbeat
agent_status is used by anaconda ramdisk to inform the
conductor about state of the deployment. Valid agent
states are 'start', 'end' and 'error'. The agent_status_message
is used to describe the why the agent_status is set to a
particular state. Use of these parameters require API
version 1.72 or greater.

When anaconda finishes deployment the agent_status is
set to 'end'. When anaconda ramdisk is unable to deploy
the OS for some reason the agent_status is set to 'error'.

PXEAnacondaDeploy is implemented to handle the 'anaconda'
deploy interface. PXEAnacondaDeploy ties to together pieces
needed to deploy a node using anaconda ramdisk.

Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Change-Id: Ieb452149730510b001c4712bbb2e0f28acfc3c2e
2021-03-31 14:20:39 -07:00
Julia Kreger
80d4a0c515 Version 17.0 mapping/doc updates
Change-Id: I3a144aaaca60ce195ba22fa5af2d9c1e7b4d4bf4
2021-03-23 14:16:02 +00:00
Julia Kreger
e5b391c32d Increment API version for Secure RBAC
This patch increments the API version for the Secure RBAC
as was covered in the specification in order to signify to
API consumers that may need to be aware if the API surface
can support Secure RBAC policy configuration.

Change-Id: Ia659708bb89ff416b65367505d3e068c6d4a198f
2021-03-18 16:10:14 +00:00
Zuul
e058a5a3a1 Merge "API to force manual cleaning without booting IPA" 2021-03-17 00:47:04 +00:00
Dmitry Tantsur
30a85bd0ce API to force manual cleaning without booting IPA
Adds a new argument disable_ramdisk to the manual cleaning API.
Only steps that are marked with requires_ramdisk=False can be
run in this mode. Cleaning prepare/tear down is not done.

Some steps (like redfish BIOS) currently require IPA to detect
a successful reboot. They are not marked with requires_ramdisk
just yet.

Change-Id: Icacac871603bd48536188813647bc669c574de2a
Story: #2008491
Task: #41540
2021-03-16 16:08:46 +01:00
Riccardo Pittau
5c36615a9c Update dev quickstart docs
Change-Id: I2d7f4e617afacf3559ddc8614e7a794fb52b2c2c
2021-03-10 16:34:10 +01:00
Zuul
a2cc1baa86 Merge "Address some rbac review feedback in merged patches" 2021-02-15 07:03:59 +00:00
Dmitry Tantsur
7eadc52403 Trivial: update version for deploy steps
Change-Id: I4aac0a9f2e9bd1ae40f41722ab75e92f2a09cfef
2021-02-12 17:04:06 +01:00
Zuul
766d8f11b4 Merge "Add 'deploy steps' parameter for provisioning API" 2021-02-12 16:01:33 +00:00
Julia Kreger
e3ccb9ec22 Address some rbac review feedback in merged patches
Some of the early test changes for the RBAC work have merged
which is awesome, but a couple minor follow-up items should be
addressed. They are so minor it doesn't really make sense to merge
in with one of the patches in the chain.

Change-Id: I85de4d953237f240c3c220f6a57169c633fb295f
2021-02-12 06:56:31 -08:00
Steve Baker
606549c1c9 Populate existing policy tests
Testing every combination of role, endpoint and policy rule would
result in a huge test count, so to make testing the existing policy
rules complete and practical, the following guidelines are suggested:

- Only the default policy is tested, so inactive rules such as
  is_node_owner, is_node_lessee are ignored.
- Each rule is tested completely on one endpoint which uses it.
- A rule (such as baremetal:node:list) which inherits a parent rule
  (baremetal:node:get) is considered covered by the parent test.
- All endpoints need at least one test, but other endpoints which share
  a fully tested rule only need one denied test which shows that they
  are covered by some policy.

Also adds the initial pass of contributor documentation on how the
rbac testing works to try and express the mechanics and what to
expect to aid in reviewing/updating/editing the rules.

Co-Authored-By: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: I1cd88210e40e42f86464e6a817354620f5ab1d9c
2021-02-11 10:34:52 -08:00
Aija Jauntēva
3138acc836 Add 'deploy steps' parameter for provisioning API
Story: 2008043
Task: 40705
Change-Id: I3dc2d42b3edd2a9530595e752895e9d113f76ea8
2021-02-03 11:47:53 -05:00
Zuul
1c7b5f8259 Merge "docs: Add information on post-branch release tasks for bifrost" 2021-01-08 15:25:17 +00:00
Zuul
3864483a76 Merge "update python packages to python3 in quickstart.rst" 2021-01-01 04:08:24 +00:00
likui
d99a52f2cf update python packages to python3 in quickstart.rst
since 'train' cycle, we should test python3 by default.

Change-Id: Iadba4098e7ff5b9456fd0224353e55aad73a2b5b
2020-12-27 16:19:03 +08:00
Riccardo Pittau
4e9c6184c4 Fix release guide and include intermediate branches
Fix the command to submit new releases and adds command reference
for the intermediate bugfix branches.

Change-Id: I79a039a6effcf8bd13e5c3ab5a231d5b515c8297
2020-12-15 10:37:06 +01:00
Zuul
219d72543c Merge "Update .rst files" 2020-10-22 08:46:45 +00:00
Adam Young
7cb757d7b7 Change auth type to none in dev-quickstart
The OS_AUTH_TYPE=token_endpoint plugin has been removed from Keystoneauth1
Setting that value as an envvar triggers a stack trace when performing
baremetal driver list

Change-Id: Ieb9c12f29c2f4df1ba89b792442e1768c8aee8a4
2020-10-15 14:18:10 -04:00
Michelle (Shelly) Mutu-Grigg
d5ca2ac7f0 Update .rst files
This commit removes `--os-baremetal-api-version` from CLI examples,
updates some `openstack baremetal` commands to be `baremetal` and
removes -uuid from <node-uuid>

Story: 2008194
Task: 40964

Change-Id: I4421e98afdee9ed97506cb7e5d69da966cffd963
2020-10-15 23:03:55 +13:00
Mark Goddard
a0728ad657 docs: Add information on post-branch release tasks for bifrost
Change-Id: Ieabbc024d4afc82670d7cee8e39b839b2b7a21df
2020-10-09 15:35:08 +00:00
Kafilat Adeleke
acdf1dc772 Updates ironic documentation
Updates ironic documentation to change "openstack baremetal" to "baremetal"

Change-Id: I95afa010aeb4fb08aff05adf0cfb7a200db8a53f
Story: #2008194
Task: #40962
2020-10-07 09:46:34 -07:00
Dmitry Tantsur
38349c5b83 Update release mappings and API history for 16.0
Fix the incorrect Ussuri release mapping.

Change-Id: I77589745a89104ddc948f084f21a60cef8265271
2020-09-24 11:19:48 +02:00
Dmitry Tantsur
2b676a6864 Accept and use a TLS certificate from the agent
Accepts the certificate from a heartbeat and stores its path in
driver_internal_info for further usage by the agent client (or
any 3rd party deploy implementations).

Similarly to agent_url, the certificate is protected from further
changes (unless the local copy does not exist) and is removed
on reboot or tear down (unless fast-tracking).

Change-Id: I81b326116e62cd86ad22b533f55d061e5ed53e96
Story: #2007214
Task: #40603
2020-09-09 17:27:30 +02:00
Dmitry Tantsur
44cf63c237 Update deploy steps documentation
Mostly links to the recently added IPA docs on in-band steps.

Change-Id: Idb8d2ed94eca89bdf8204f5c9c66c4d5c0fa403b
Story: #2006963
Task: #37790
2020-09-03 15:20:20 +02:00
Riccardo Pittau
271d85e998 Update how to release section
Based on latest changes [1] in the releases project that changed the
behavior of list_unreleased_changes.

[1] 4912f7d5d0

Change-Id: If5fd848bf3fddeb1ae66dc9aafa882588b83f41a
2020-07-23 16:18:31 +02:00
Riccardo Pittau
759b722a59 Add documentation on how to propose a release
Change-Id: I8f6abbad1612311887f16a88c0fd3b7de8659e27
2020-07-08 06:57:42 +00:00
Zuul
5026854e31 Merge "Add a bug reporting and triaging guide" 2020-07-02 21:45:30 +00:00
Riccardo Pittau
15079e3c9c Prepare release notes and docs for release 15.1
Change-Id: I14ac07661b8741684dcf77ced9e782b57c947d79
2020-07-02 11:03:23 +02:00
Dmitry Tantsur
2f5456759e Add a bug reporting and triaging guide
Change-Id: If692795221661414b2990f8131433678402dd45b
2020-06-23 14:48:46 +02:00
Ilya Etingof
653d4e4ef5 Add network_data field to ironic node object
A new dictionary field `network_data` is added to the node object.
This new field can be populated by the operator with node static
network configuration.

Ironic API now performs formal JSON document validation of node
`network_data` field content against user-supplied JSON schema at
driver validation step.

As of this commit, the new `network_data` field is not actually
used by ironic, otherwise it should be perfectly functional. In
the following commits, network static configuration will be taken
from this field and handed over to ironic ramdisk bootstrapping
utilities.

Change-Id: I868b3b56a17f59e5aa1494b2e0ebc9c4e34ef173
Story: 2006691
Task: 36991
2020-05-05 15:57:36 +02:00
Iury Gregory Melo Ferreira
90777c1277 Native zuulv3 grenade job for ironic
Based on the native 'grenade' job

Change-Id: Ia51b32a6499b5e1d37197e6d21556344a85d3b5e
2020-05-04 13:59:23 +02:00
Julia Kreger
f8f9740a0b Prepare release notes/docs for 15.0 release
Change-Id: I60b5d7fe1039bc8f04e0f515dcf1b1e9fd2f50be
2020-04-21 09:43:09 +00:00
Zuul
12ad896f0e Merge "Update jobs description" 2020-04-17 02:32:08 +00:00
Riccardo Pittau
1f18a2820f Increase VM RAM value in local.conf example
Based on recent changes that make dib image to be default in CI,
the base RAM in the local.conf example should be increased to
2048, which is the minimum recommended to run the centos8 ramdisk.

Change-Id: If8b0a3bbdce8cd1e6d564c9b7b9505729e4eec26
2020-04-10 10:46:56 +02:00
Riccardo Pittau
45a9fbdfa6 Update jobs description
Update the description of the CI jobs based on the recent changes.

Change-Id: Ibd3956a893e4898c33e00d2d39a20553c0f1a65a
2020-04-09 16:59:13 +02:00
Mark Goddard
335895a8e7 Add sushy-cli to client libraries release list
Change-Id: I3f627d3811f2840cd630ebc5746b8d9c5de179e9
2020-04-08 15:08:41 +01:00
Tzu-Mainn Chen
602a467a04 Add node lessee field
This change adds a `lessee` field to nodes, and exposes it
to policy. It also updates the non-admin node list API
to match for both owner and lessee; and updates the
allocation conductor to match owner allocations with nodes
with the appropriate lessee.

Change-Id: Ib31b49c7143ec8fd6cb486fc24038215b197c418
Story: 2006506
Task: 37930
2020-04-07 15:33:42 +00:00
Harald Jensås
c40d221fca Add network_type to port local_link_connection
Add network_type to the port objects local_link_connection field.
The network_type can be set to either managed or unmanaged. When
the type is unmanaged other fields are not required. Use
unmanaged when the neutron network_interface is required, but
the network is in fact a flat network where no actual switch
management is done.

Story: 2007315
Task: 39161
Change-Id: I00c5ea22a8163c27c9ce4470e3713c282d0eb131
2020-04-02 15:39:41 +02:00
Zuul
ec42ca77a1 Merge "Document our policies for stable branches" 2020-03-27 09:55:35 +00:00
Iury Gregory Melo Ferreira
88d489a532 Document our policies for stable branches
Action item from our weekly-meeting.

Change-Id: I761e55d0aec9dd8ff64cab346c72ffbf40f242e4
2020-03-26 18:18:09 +01:00
Zuul
de2d907fc3 Merge "Add info on how to enable ironic-tempest-plugin" 2020-03-24 05:17:42 +00:00
Iury Gregory Melo Ferreira
5b07374fd8 Add info on how to enable ironic-tempest-plugin
To run the ironic tempest tests in DevStack locally it's
necessary to clone the ironic-tempest-plugin repository, and
add TEMPEST_PLUGINS in the local.conf

Change-Id: Iad7ca2c1f2ab5ab49493f9c7fe4738fc0bcdb5f4
2020-03-23 19:22:42 +01:00
Ilya Etingof
263fd021b2 Add indicators REST API endpoints
Added REST API endpoints for indicator management:

* GET /v1/nodes/<node_ident>/management/indicators` to list all
  available indicators names for each of the hardware component.
* GET /v1/nodes/<node_ident>/management/indicators/<indicator_ident>
  to retrieve the state of given indicator.
* PUT /v1/nodes/<node_ident>/management/indicators/<indicator_ident>`
  change state of the desired indicator.

This implementation slightly deviates from the original spec in
part of having component name in the URL - this implementation
flattens component out.

The spec: https://review.opendev.org/#/c/655685/7/specs/approved/expose-hardware-indicators.rst

Change-Id: I3a36f58b12487e18a6898aef6b077d4221f8a5b8
Story: 2005342
Task: 30291
2020-03-21 18:45:01 +00:00