567 Commits

Author SHA1 Message Date
Lucas Alvares Gomes
824ad1676b Agent: Out-of-band power off on deploy
The patch is adding  a new property called "deploy_forces_oob_reboot"
for the Agent deployment methodology. If the property is specified in
the node's driver_info with the value of True, Ironic will call IPA to
flush the file system and then issue a out-of-band reboot at the end of
the deployment to the node to boot into the user's image.

Some hardware/firmware may have problems doing a power off in-band
(usually faulty hardware/bad firmware, see the bug this commit is fixing)
therefore we need Ironic to do it directly in the BMC.

This patch also closes one more consistency gap between the IPA deploy
model and the now deprecated bash ramdisk one which used the hard reboot
to finish the deployment by default.

Depends-On: I5cd1d1b821426e995dc584452494b93ab23917e0
Closes-Bug: #1512492
Change-Id: I5e389c5245826f86466aedfcb9730117e24b59db
2016-03-22 10:48:59 +00:00
Jenkins
89394aeb43 Merge "Adds doc - firmware update(iLO) manual clean step" 2016-03-21 15:07:42 +00:00
Jenkins
c14a2d249b Merge " Updating driver docs with DL hardwares requirements" 2016-03-16 17:02:04 +00:00
Debayan Ray
fa0c3e75ac Adds doc - firmware update(iLO) manual clean step
Added the documentation for firmware update through iLO as a
manual clean step. It also serves as a user guidance on proper
usage of initiating firmware update as the manual clean step.

Related-Bug: #1526216
Change-Id: Ibcbbe1330df818705c4de33325878f5c816fe1d7
2016-03-16 04:43:28 -07:00
Jenkins
246999fabe Merge "Add documentation for RAID" 2016-03-15 15:29:22 +00:00
Caio Oliveira
cc7458890c Updating driver docs with DL hardwares requirements
This patch updates OneView driver documentation with requirements
 to run the driver with the DL Servers, minimun version of iLO and
 Redfish that was not mentioned before.

Change-Id: I0f2a347c1fc94f1ed23e32a85f2175e960550a03
2016-03-15 09:57:37 -03:00
Lucas Alvares Gomes
bd2b0c2e0f Fix important typo in the ipmitool documentation
There was a typo in the command demonstrating how to change the IPMI
protocol version (an extra "t" in the parameter's name). This patch is
fixing that typo and making the command an one-liner to facilitate the
copy and paste.

Change-Id: I8a7bf5e51eb545944cdb7343c9263b75cc358dd1
2016-03-14 15:35:23 +00:00
Nisha Agarwal
139358b396 Add documentation for RAID
This commit adds documentation for RAID.

Closes-bug: 1526400

Change-Id: I7691c067afa300464c3160f1aa3d3eda64a9aa37
2016-03-13 11:26:19 -07:00
Jenkins
ff15796011 Merge "Add documentation about the disk_label capability" 2016-03-11 11:38:38 +00:00
Jenkins
599e544350 Merge "Add documentation for the IPMITool driver" 2016-03-10 16:37:59 +00:00
Lucas Alvares Gomes
d3467858e2 Add documentation about the disk_label capability
This patch extending the current Install guide documentation to include
information about how one could request a specific disk label when
deploying a bare metal node.

Related-Bug: #1548788
Change-Id: Ib6d31a66db3e647abdb507f4741c64e99cd209e4
2016-03-10 14:46:55 +00:00
Lucas Alvares Gomes
198ae29c43 Add documentation for the IPMITool driver
This patch is adding the documentation for the IPMITool driver. This
covers some general overview, basic setup (prerequisites, how to enable)
as well as some advanced topics such as single/double bridge and protocol
version.

The IPMITool driver is rich and allows a lot of configuration, therefore
not all topics are addressed by this commit. TODOs were left in the
documentation (as comments) so we don't forget to address them later.

Partial-Bug: #1468710
Change-Id: Ife99de75a42d7048fd1ad31e220b5606a8fe81f0
2016-03-10 09:56:04 +00:00
Jenkins
6d1b7c6d0d Merge "Remove 'grub2' option in creating whole-disk-images" 2016-03-10 02:40:14 +00:00
stephane
57d8e51094 Fix error in cleaning docs
The name of this field is "driver_internal_info" rather
than "internal_driver_info".

Change-Id: I13081f2acc6c797bd59e9e392f4a26d84321b5d3
2016-03-08 17:24:22 -08:00
Jenkins
e90eee6e84 Merge "Fix JSON string in example of starting manual cleaning" 2016-03-08 19:00:31 +00:00
Jenkins
ee841f2a9f Merge "Update iRMC driver doc for inspection" 2016-03-08 14:08:31 +00:00
Imre Farkas
89c78df572 Fix JSON string in example of starting manual cleaning
...by removing redundant clean_steps key.

Change-Id: Ie7ddcbed91c6036938cb938064cced2745f1181a
2016-03-08 12:58:58 +01:00
Yushiro FURUKAWA
aa1fc2a54b Remove 'grub2' option in creating whole-disk-images
This patch removes 'grub2' option for disk-image-crate command
with 'whole disk images'.  Current ironic can only support grub2
configuration when using partition image.

Change-Id: I748e10b76f6a31464590cf94bd28af20e35b6b04
2016-03-08 17:49:04 +09:00
Naohiro Tamura
c0350f7ef2 Update iRMC driver doc for inspection
This patch updates the document, "Administrator's Guide | Enabling
drivers | iRMC", by reflecting the changes made in "Add hardware
inspection module for iRMC driver" [1].
[1] commit 37590a86338e94845c74e1b1f7d8d6f61003d447

Change-Id: I38d16b4071a6661412ebaeff5eb0c0439ddc8ec0
Closes-Bug: #1525108
2016-03-08 16:34:36 +09:00
vsaienko
a71ac5d493 Use 'baremetal' flavor in devstack
By default DEFAULT_INSTANCE_TYPE is not set. As result when tempest is
enabled default Nova flavors are used. To use 'baremetal' flavor
DEFAULT_INSTANCE_TYPE should be set to 'baremetal' as is done on gate job.
Otherwise running BaremetalBasicOps test locally will fail.

Change-Id: I1294b1dc7bf4fa32f9cdeb7a8c22667a76929ded
2016-03-07 16:17:00 +00:00
Shivanand Tendulker
de72fcd586 Update iLO documentation for clean step 'reset_ilo'
This updates the iLO documentation to indicate that clean step
'reset_ilo' is disabled by default.

Change-Id: I8dae0caaede45ff4dd8b5bf3a4c00737dab7a16b
Closes-Bug: 1542977
2016-03-04 01:25:16 -08:00
Jenkins
c4a24947ef Merge "Add clean step in iLO drivers to activate iLO license" 2016-03-04 01:33:26 +00:00
Jenkins
e31da7bd33 Merge "Updated iLO driver documentation to recommend ipmitool version" 2016-03-03 23:58:32 +00:00
Jenkins
f4cfbf2fbc Merge "Updating docs with support for DL class servers" 2016-03-03 23:23:38 +00:00
Jenkins
1f90d8cb2b Merge "Update CIMC driver docs to install ImcSdk from PyPi" 2016-03-03 15:50:22 +00:00
Caio Oliveira
547bd9df28 Updating docs with support for DL class servers
This patch updates the documentation with new supported Server Hardware class
(DL360 Gen9) and recommendations about installing python-oneviewclient to
enable the support.

This patch also corrects a misleading minimum version of python-oneviewclient on
L57.

Change-Id: I97460bfbd5467496ba3b21fbca55249b31d88d5c
2016-03-03 11:49:22 -03:00
Sam Betts
874f9820d1 Update CIMC driver docs to install ImcSdk from PyPi
ImcSdk is now available on PyPi, driver_requirements.txt was updated to
reflect this, but the Ironic driver doc was brought up to date, this
patch fixes that.

Change-Id: Ib9195d50f0a208a814e13d859cadd577d05aed54
Closes-Bug: #1552720
2016-03-03 14:39:41 +00:00
Debayan Ray
f224b83b10 Add clean step in iLO drivers to activate iLO license
Added a manual clean step to iLO management interface for
supporting activation of iLO license.

Closes-Bug: #1526218
Depends-On: I0e34407133684e34c4ab9446b3521a24f3038f92
Co-Authored-By: R-Vaishnavi <itsvaishnavi@gmail.com>
Change-Id: I9af33a9455a5e0d5280e31c9e1f20778ce022437
2016-03-03 03:59:49 -08:00
Debayan Ray
5ecda6bee0 Update proliantutils version to 2.1.7 for Mitaka release
This commit updates the proliantutils version required in
Ironic to 2.1.7 for Mitaka release. This version of
proliantutils includes changes to NIC info and firmware
version retrieval logic.

Change-Id: Ieacfb2555bce0fc1f2542ddc837c6c67347fd891
2016-03-03 03:30:26 -08:00
vmud213
0cf2db6045 Updated iLO driver documentation to recommend ipmitool version
While discovering the capabilities of the baremetal server using
iLO drivers, to support the capability "nic_capacity", it is
recommended to use ipmitool version >= 1.8.15

Closes-Bug: #1540842
Change-Id: I6d72a6e36672b8e164f779c5987457ff2e538958
2016-03-02 07:12:18 +00:00
Jenkins
b9fa1172f5 Merge "API to list nodes using the same driver" 2016-03-02 02:38:11 +00:00
Kan
d3859a79ba API to list nodes using the same driver
Add API to list nodes using the same driver.

Change-Id: I998d6a0a6da44487d5ba90dafd417d81d1c7e504
Partial-Bug: #1530626
2016-03-01 09:59:48 +00:00
Shivanand Tendulker
6af9da97e1 Update proliantutils version required for Mitaka release
This commit updates the proliantutils version required in Ironic
to 2.1.6 for Mitaka release. This version of proliantutils
includes defect fixes and feature enablement related to iLO based
firmware upgrade.

Change-Id: Ic895dcbf70fa0cc02d49e17bc8e9d2de40ab9ec8
2016-02-25 10:51:16 -08:00
Jenkins
36970f97f9 Merge "Add manual cleaning to documentation" 2016-02-25 17:05:50 +00:00
Jenkins
59c4960417 Merge "Switch to Futurist library for asynchronous execution and periodic tasks" 2016-02-24 16:22:00 +00:00
Dmitry Tantsur
3429e3824c Switch to Futurist library for asynchronous execution and periodic tasks
This change switches the conductor to using Futurist library executor and
periodic tasks worker instead of oslo.service periodic tasks. This allows
running periodic tasks in parallel and relying on more standard interfaces
(futures, executors) when dealing with asynchronous execution.

A green thread executor is used instead of using an eventlet green pool
directly. The maximum number of workers is taken from the existing
workers_pool_size configuration option, and no tasks are allowed
to be enqueued to mimic the previous behaviour (might be lifted later).

The periodic tasks worker is using the same executor, and its main loop thread
is also running on it. For this reason minimum value for workers_pool_size
is now 3: periodic task main loop, keep alive thread and at least one thread for
other tasks. A special decorator for driver-periodic tasks is now deprecated,
as the generic decorator can be used there as well.

Closes-Bug: #1526277
Change-Id: I57bf7cebfb6db805b6c521bacfef2993b16ce1ee
2016-02-24 15:44:05 +01:00
Ruby Loo
f2d9886f99 Add manual cleaning to documentation
This updates the documentation to include manual cleaning.

Change-Id: I8f91214911e8916c329c20a140e1d0957b1cc137
Partial-Bug: #1526290
2016-02-22 15:46:46 -05:00
Lucas Alvares Gomes
d38ca35868 Add links to the standalone configdrive documentation
Prior to this patch the standalone section of the configuration drive
documentation was talking about a specific format required to the
configuration data but there was no link to the said format, that was
confusing. This patch is adding a link a documentation with an example
of how the data should be organized.

Change-Id: I2fb006c79a20a4795465ce1d992ce8103e6a909b
2016-02-18 10:07:41 +00:00
Jenkins
1226bde2ff Merge "Replace config 'clean_nodes' with 'automated_clean'" 2016-02-16 17:15:18 +00:00
Lin Tan
080707f59b Introduce driver_internal_info in code-contribution-guide
Change-Id: Icdc0237efb13b01b483baff6516493921bdf41d7
2016-02-15 16:43:11 +08:00
Jenkins
aa1f251b69 Merge "Document possible access problems with custom IRONIC_VM_LOG_DIR path" 2016-02-12 19:17:56 +00:00
Jacek Tomasiak
959689e30d Document possible access problems with custom IRONIC_VM_LOG_DIR path
Example local.conf from Ironic docs uses $HOME/ironic-bm-logs as VM log dir.
On some systems (e.g. Fedora) user's home is accessible only to the owner by
default which causes "permission denied" errors when starting VMs because
QEMU domains are running as non-root user ("qemu" in Fedora).

Extend the documentation with note about possible problems with custom
log directory set using IRONIC_VM_LOG_DIR.

Change-Id: Ia1d7688fd71c4853538621ec32b2d4a024f52a76
Closes-Bug: #1532184
2016-02-11 15:03:39 +01:00
Vladyslav Drok
26922806ac Add documentation for proxies usage with IPA
This change adds documentation on setting proxy properties that will
be used by IPA ramdisk to download a disk image.

Closes-bug: #1526222

Change-Id: Ib640da7304e8a5779e74e1f15898229b6f772b11
2016-02-11 12:15:14 +02:00
Ruby Loo
9220cbd385 Replace config 'clean_nodes' with 'automated_clean'
Since we have automated cleaning and manual cleaning, the config
'clean_nodes' is a bit confusing since it only refers to automated
cleaning. It is replaced with 'automated_clean'.

This deprecates the 'clean_nodes' config; the plan is to delete it
in Newton cycle.

Updates to the documentation to explicitly mention automated vs
manual cleaning is done in a separate patch.

This includes a reno-style release note about the upgrade impact.

Change-Id: I5b4fbac1753cb4213eb151b663490f381b751597
Partial-Bug: #1526290
2016-02-10 16:03:28 +00:00
Ruby Loo
edc37cbe1d API to manually clean nodes
This adds an API to allow manual cleaning of nodes, via
PUT /v1/nodes/<node_ident>/states/provision. The argument
'target' is 'clean', and the argument 'clean_steps' (the
list of clean steps to be performed on the node) must be
specified.

The API version is bumped to 1.15.

Change-Id: I0e34407133684e34c4ab9446b3521a24f3038f92
Partial-Bug: #1526290
2016-02-09 14:41:01 +00:00
Jenkins
c9f96d6d79 Merge "Show transitions initiated by API requests" 2016-02-09 10:45:14 +00:00
Jenkins
19bf5a8b62 Merge "Updated iLO documentation for boot mode capability" 2016-02-09 10:21:09 +00:00
vmud213
39a2828bb5 Updated iLO documentation for boot mode capability
Updated the "Boot mode support" section to include more details about
the boot mode capability

Closes-Bug: #1540857
Change-Id: Ib0ec1bf0e308d2c761efb8b483a6edb4194f0ebd
2016-02-08 10:48:57 -08:00
Jenkins
4d77414f05 Merge "Refactor install-guide to configure API/Conductor seperately" 2016-02-08 16:18:49 +00:00
Jenkins
f47d4ee6ca Merge "Enable Ironic Inspector for Cisco Drivers" 2016-02-04 18:35:21 +00:00