75 Commits

Author SHA1 Message Date
Jim Rollenhagen
f2502ccc79 Update install guide to require resource classes
This removes some nova config recommendations for property-based
scheduling, as they shouldn't be used any longer. It also updates the
flavor creation document to only focus on resource classes. Last, update
the nova commands in the flavor creation document to be openstackclient
commands.

Change-Id: Ib4512ad707964a2d06b7a8428b89020b05cff0b2
2018-05-03 08:08:43 -04:00
wu.chunyang
3ae836d608 Remove the Keystone API V2.0 endpoint registration
With OpenStack Liberty, Keystone API v2.0 is depreciated, so
remove the API V2.0 endpoint registration is safe.

Change-Id: I6272741a2467e2d1e2ec1d3e425247effc034670
2018-04-28 17:05:36 +08:00
caoyuan
655038bd8b 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: I727591e46de1a38403a8c25f0d08c57565db945b
2018-04-11 22:47:12 +08:00
Dmitry Tantsur
1ffa7571d3 Reference architecture: small cloud with trusted tenants
This document describes the design of a small bare metal cloud with
flat networking and conductors as part of (HA) controller nodes.

Also adds missing information about rescuing network to the common
reference architecture guide.

Change-Id: Ifd3bfcc89263cd9810cd5cfb459ffeeaf146caf7
Story: 2001745
Task: 12108
2018-04-06 13:33:27 +02:00
melissaml
6843be24f6 fix typos in documentation
Change-Id: I77d39932ea92113a37b9a14d67a411d1ae991be4
2018-03-23 08:30:57 +08:00
Dmitry Tantsur
c9e079da68 Rework Bare Metal service overview in the install guide
Currently we have a detailed explanation of how ironic is architected,
but it resides in the user guide for some reason. This change moves
relevant bits to the install guide to the existing "Bare Metal service
overview" section. The text is cleaned up (e.g. s/ironic/Bare Metal/)
and ordered to simplify reading. A link to ironic-ui is added.

The user guide still contains the bits that are helpful for users
to understand the bare metal deployment process.

Change-Id: I17e38454f7893c00b71ac29328bd80d3978ed1f4
2018-03-19 17:30:18 +01:00
Hironori Shiina
013992bf66 Update config option for collecting sensor data
This patch updates the notification driver option for collecting sensor
data because [DEFAULT]/notification_driver is deprecated and
'messaging' driver should only be used in cases where there are existing
consumers deployed which do not support the 2.0 message format.

Change-Id: Ia6c55149e5cb12d1201742f7008047e35570b410
2018-03-13 11:41:54 +09:00
Zuul
cd83c97fac Merge "Add docs for ansible deploy interface" 2018-02-20 05:04:53 +00:00
Pavlo Shchelokovskyy
f8f8f857be Add docs for ansible deploy interface
mostly copied from docs present in ironic-staging-drivers,
with some modifications due to some features dropped.

Change-Id: If9e82c42a03c71fd0ff0319c7a43fe80e53f9672
2018-02-19 22:47:55 +00:00
Shivanand Tendulker
75d3692c86 Update to standalone ironic doc
This commit removes reference of need for Object Storage
service for using virtual media based iLO drivers in
standalone Ironic. One can use these drivers by setting
up web server on the host where conductor is running.
The documentation for same is available in iLO drivers
documentation page.

Change-Id: I0b0493373949e552677137ce0b6d5e44efc0268f
2018-02-14 05:13:29 -05:00
Zuul
56fbe03edb Merge "Correct grammar, duplicate the found" 2018-02-07 05:07:43 +00:00
wangdequn
e852803662 Correct grammar, duplicate the found
Change-Id: Ie7adda8e9ab36bc74481624b96340753bdb1b70a
2018-02-07 11:06:29 +08:00
Zuul
653d267de6 Merge "Correct link address" 2018-02-05 01:03:53 +00:00
Harald Jensas
71021bb9d4 Fix configure-networking docs
This patch address feedback in Ic9a5d1de959cbeedb0e56ab5447042ce29028a8d

Change-Id: I58543cc18745f8ec6876423fbe72fcca3a7cbdb6
2018-02-01 19:47:14 +01:00
Harald Jensas
3ad7a3e4ad Add documentation for baremetal mech
Add to configure-networking section, installation and
configuration of networking-baremetal plugin.

Related-Bug: #1658964
Change-Id: Ic9a5d1de959cbeedb0e56ab5447042ce29028a8d
2018-01-31 18:31:16 +01:00
Mark Goddard
00daa18fc9 Add documentation for node traits
Updates the install and admin guides with information on node traits.

Support for node traits was added in Bare Metal REST API version 1.37.

Change-Id: I86e86320df4eb81aa30e5708dde9c82f50ba4d50
Depends-On: https://review.openstack.org/#/c/532288/
Partial-Bug: #1722194
2018-01-30 15:50:55 +00:00
zhangdebo
e3f4a90f2b Correct link address
Link address for config drive is out of date, so correct it.

Change-Id: Ib77a5bd92c1409a02570f691f4edeb90eab107e0
2018-01-29 19:22:02 +08:00
Zuul
b539a6e256 Merge "[docs] mention new nova scheduler option" 2018-01-25 17:08:54 +00:00
M V P Nitesh
95d7e602e5 Allow setting {provisioning,cleaning,rescuing}_network in driver_info
These values have priority over ones defined in ironic.conf. Also modify
validation code to only used network UUID cached on task.network if:
1. the requested XXX_network is UUID, not name
2. the requested XXX_network is the same as the cached one.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Closes-Bug: #1614876
Change-Id: I4caec34d85304fe887bcc28b7528cceceb3acfe8
2018-01-23 17:11:56 +01:00
Pavlo Shchelokovskyy
b327f70b8e [docs] mention new nova scheduler option
also add some notes for mixed hypervisor case.

Change-Id: I77d13e8180f7cae0a1eb370329cebc6bb2768fe0
2018-01-22 15:07:04 +02:00
Pavlo Shchelokovskyy
0970e3d031 Fix docs for Sphinx 1.6.6
rename included files to not have ".rst" extension,
otherwise they are being scanned for ref targets and found targets are
effectively counted twice (both in file that includes,
and in the file being included), producing a warning/error.

Change-Id: I2eec5b1b16d253998f45e6f0551a92c2ab6f5609
Closes-Bug: #1743780
2018-01-17 16:13:09 +02:00
Vasyl Saienko
61b81d0c73 Add uWSGI support
This patch implements uWSGI support for ironic API service.
ironic/api/app.wsgi is deprecated in favor of pbr generated
ironic-api-wsgi

Co-Authored-By: anascko <ovoshchana@mirantis.com>

Change-Id: Ieb68c1042e31b77f9a549fd90afe31a65008deca
Closes-Bug: #1719260
Closes-Bug: #1668966
2017-12-28 18:08:49 +02:00
wangzhengwei
28a50d8a49 Fix ironic node create cli
Change-Id: Ief59bc5c498de70dec94743c25b68888acffc549
2017-12-27 09:57:35 +00:00
Zuul
2924c3efb6 Merge "Finalize migration to keystoneauth adapters" 2017-12-20 02:21:54 +00:00
Pavlo Shchelokovskyy
ba53acb279 Finalize migration to keystoneauth adapters
removes code that allowed some service sections to not have and use
keystoneauth adapter options.

Also deprecates `[keystone]region_name` option in favor of per-client
option of the same name.

Change-Id: Ifd58947b016bfa93b516dd47a170ba8f5abf277e
Closes-Bug: #1699547
2017-12-19 12:17:35 +02:00
Zuul
547159c893 Merge "Use adapters for neutronclient" 2017-12-18 05:51:38 +00:00
Zuul
4ef82a34e0 Merge "Switch emphasis to hardware types in the installation guide" 2017-12-14 19:51:41 +00:00
Dmitry Tantsur
e824e490a3 Switch emphasis to hardware types in the installation guide
This change updates the installation guide to talk in terms of hardware types
and hardware interfaces, only briefly mentioning classic drivers, when needed.

Also fixes incorrect information about instance_info fields in the standalone
guide.

Change-Id: I5e8a0de79c247535fd599318540fb8bbd2fc5df0
2017-12-14 16:24:01 +01:00
Pavlo Shchelokovskyy
4d43262955 Use adapters for neutronclient
deprecates the following options in [neutron] section:
- url
- url_timeout
- auth_strategy

Changes some internal networking-related functions/methods
to accept a request context as optional keyword argument (defaults to
None).
This allows to pass a global request id to neutron client and
in future will simplify creating a user auth plugin from request
context.
For backward compatibility, when calling those functions/methods
without a request context, a dummy request context will be generated
automatically.

Change-Id: Ib327c7a141cfbca63b870027ad8e901c0f48bb2d
Partial-Bug: #1699547
2017-12-14 13:36:03 +02:00
Zuul
a8b676f7dd Merge "Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url}" 2017-12-13 16:09:25 +00:00
Dmitry Tantsur
83dd6a1c0e Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url}
In many cases, including devstack and TripleO, the swift account to use
is based on the project_id of the 'service' project, so it makes sense
to use it as a default.

Similarly, the temporary URL key can be fetches from Swift, using HEAD
on the account used to access it.

In both cases it is assumed that the same project is used by Ironic
and Glance to access Swift. Explicit values have to be provided
otherwise.

Finally, the endpoint URL can be fetched from the service catalog. Care
is taken to strip the /v1/AUTH_<tenant ID> suffix.

Closes-Bug: #1737714
Change-Id: I701899928f0f780939f17aabc59eb90593ba95f0
2017-12-12 11:48:06 +01:00
wangzhengwei
c70b7dd057 Add 'nova hypervisor-list' in example set of commands to compare the resources in Compute service and Bare Metal service.
Change-Id: I4dc5373eee022648893c94b6e64a9c72ca40726d
Closes-Bug: #1737521
2017-12-12 02:57:24 +00:00
Zuul
66a0d27b0f Merge "Fix the format command-line" 2017-11-30 16:16:32 +00:00
Luong Anh Tuan
abfdcc4081 Fix the format command-line
The command-line should be marked follow [1]
as consistent with their semantic meaning.

[1] https://docs.openstack.org/doc-contrib-guide/rst-conv/inline-markups.html#command

Change-Id: Icb6aec0598cd8e575e26fa05c342b56cf6f81591
2017-11-29 08:44:16 +07:00
Zuul
38b8ae5b82 Merge "Rework drivers page in the admin documentation" 2017-11-28 13:53:57 +00:00
Dmitry Tantsur
f02ef8ad7a Rework drivers page in the admin documentation
First, "Enabling Drivers" is a really confusing title, since this page
links to complete driver documentation. It also links to IPA docs and
the PXE driver interface.

Next, our documentation is full of remarks about e.g. "pxe_* family of
drivers", which are misleading in the presence of hardware types and
the pxe_agent_cimc driver. We also have mentions of "iscsi deploy method"
without detailed explanation of how this method relates to hardware types
and classic drivers.

This change consolidates drivers and interfaces documentation under
the more clearly named root page. A new page is created with sections for
both deploy interfaces to use for linking from wherever a link to
a particular deploy interface is required.

Change-Id: Ifb8328ccaaac443fac276873e2c375ebcf983f03
2017-11-22 14:59:57 +01:00
Pavlo Shchelokovskyy
63e0ff2f6c Rework keystone auth for glance
this patch changes the way glance client is instantiated, using
keystoneauth sessions and adapters.

In order to support glance API endpoint discovery from keystone catalog
and more unified way of client loading,
many options in `[glance]` config sections are deprecated,
mostly those that specified a (set of) glance API endpoint(s)
or parts of glance API address.
Instead, a single option `[glance]endpoint_override` must be used when
required to access a specific (possibly load-balanced)
glance API endpoint without discovering it from keystone catalog.

Another set of deprecated options are those that are duplicating
keystoneauth session options in [glance] section.

Also, intrinsic support for parsing the glance API URL from image ref
set to the full glance REST path to the image is removed as it was not
working any way since an 'http(s)://' image ref is not treated
as a glance image.

Change-Id: I6a93b71ac097e951dfc93fd1ee4d7ef483514f2c
Partial-Bug: #1699547
Closes-Bug: #1699542
2017-11-17 11:40:14 -05:00
Pavlo Shchelokovskyy
44b78219e8 Remove some deprecated glance options
glance_host, glance_port and glance_protocol options in [glance]
config section were deprecated during Pike and can be removed already.

Change-Id: I93739a17cfaf1cee5fa23f3fc24325d63f68aa74
2017-11-07 09:59:48 +00:00
Zuul
2780a5f170 Merge "Small fixes in the common reference architecture docs" 2017-11-01 02:24:16 +00:00
Julia Kreger
445dff0a7a Fix minor documentation missing dependency
The cgroup-lite package which is a dependency for docker,
was not on the example command line, but is present in
the helper script. Since the documentation details manual
steps, we should include that the packages is required.

Change-Id: I536824467d4a175f666dfe635cf0669d1e587ccb
Closes-Bug: #1701258
2017-10-30 12:52:01 -04:00
Dmitry Tantsur
db8f64ac4a Small fixes in the common reference architecture docs
Follow-up to commit d16a205acc0f8a8035837ec596e02650768a96a4.

Change-Id: Idb8603578f9c1daa2b5de828bb859a734bcca0a8
2017-10-30 17:19:08 +01:00
Zuul
c13e50de88 Merge "Reference architecture: common bits" 2017-10-27 16:04:35 +00:00
Zuul
a710321f7d Merge "Update validating node information docs" 2017-10-24 14:06:08 +00:00
Nguyen Van Trung
b219699e9d Update validating node information docs
eg:
    +------------+--------+--------+
    | Interface  | Result | Reason |
    +------------+--------+--------+
    | boot       | True   |        |
    | console    | True   |        |
    | deploy     | True   |        |
    | inspect    | True   |        |
    | management | True   |        |
    | network    | True   |        |
    | power      | True   |        |
    | raid       | True   |        |
    | storage    | True   |        |
    +------------+--------+--------+

Change-Id: I7f93b866cf4b50047e8666c3c5c01a201f18ef4b
2017-10-23 13:29:08 +07:00
Jenkins
e0fd42c270 Merge "Document setting discover_hosts_in_cells_interval in nova.conf" 2017-09-20 07:09:24 +00:00
Dmitry Tantsur
2427ffca8b Document setting discover_hosts_in_cells_interval in nova.conf
By default, starting with Ocata, an operator needs to run a nova-manage command
after each node is enrolled to make sure it's correctly mapped to a cell.
This is not something we can ask in all cases (especially if Ironic UI is used),
so let us document running a periodic task for it instead.

Change-Id: I0c7bf29b0e27bef7205880ebc164d3a82e7b0be8
Closes-Bug: #1715646
2017-09-19 18:53:19 +02:00
Dmitry Tantsur
d16a205acc Reference architecture: common bits
This change introduces the layout of the future reference architecture
guide. It also introduces common ideas and considerations, to avoid
repeating them for each provided architecture.

Change-Id: Icc56cdfc1c97a2bb0674a9a397259cecc0a08514
2017-09-11 15:55:22 +02:00
Ruby Loo
df686019f1 [install docs] ironic -> openstack baremetal CLI
For the install documents, all the 'ironic' CLI commands are
replaced with their equivalent 'openstack baremetal' CLI commands.

Change-Id: Ic49cfd8d94366acb36c9a20b5c76885d7440f8d5
Partial-Bug: #1711235
2017-09-07 10:17:35 -04:00
Dmitry Tantsur
acc6ce3498 Minor improvements to the resource classes documentation
This change makes it clearer that scheduling based on resource classes
is the default now. Also fixes small issues and nits spotted on review
I22234aafdd195dd76c621b93042a67cdb36f3e65.

Change-Id: Ia9a06d6b59024781069bb6fd9a9fb18e1217a949
2017-08-30 15:22:00 +00:00
Dmitry Tantsur
9935093ead Update Nova configuration documentation
* Actually explain *why* we change options, instead of merely copy-pasting
  an old version of their description.
* Document the new consecutive_build_service_disable_threshold, which may
  be quite confusing at first.
* Do not force options that are not needed with resource classes.
* Remove excessive indentation from the list.
* Small wording fixes here and there.

Change-Id: Ia60fedb8b28936530b24f5f05a654e083fc67499
2017-08-30 15:21:34 +00:00