882 Commits

Author SHA1 Message Date
Jenkins
dc3a341adb Merge "Add port groups configuration documentation" 2017-02-10 13:01:07 +00:00
Jenkins
744303d50a Merge "SNMP agent support for OOB inspection for iLO Drivers" 2017-02-10 12:59:10 +00:00
Vladyslav Drok
d3e13f6f0b Add port groups configuration documentation
Closes-Bug: #1640592
Related-Bug: #1618754
Change-Id: Ib4b670e031402acc151e650e48924129d90595e9
2017-02-09 15:31:42 +02:00
Pavlo Shchelokovskyy
02ce7246ec Remove most unsupported drivers
In accordance with ironic CI policies, this patch removesi some drivers
that are not tested on upstream or third-party CI
and for which maintainers have not communicated any plans
to have such testing.

This includes:
- virtualbox drivers
- seamicro drivers
- msftocs drivers

Change-Id: Ia3a7d798c877f4628946ee6c56d850b9847e6c3e
Closes-Bug: #1663018
2017-02-09 08:09:03 +00:00
Nisha Agarwal
8de1f6870c SNMP agent support for OOB inspection for iLO Drivers
This patch allows to get the disk size by OOB Inspection
using snmpv3 if RIBCL/RIS is unable to get it.

Closes-bug: 1609622

Change-Id: Ib315dabc50b1f0b627b69781ef1c14de0d5d972c
2017-02-08 08:41:54 -08:00
Andreas Jaeger
dfc272c43d Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Update devref for this.

Needed-By: I58c1d37d620ca058a4c2127e329d8d21b391965f
Change-Id: Id21d3481f7b4929c40c7351e6321d9ba5ad078b8
2017-02-03 14:30:41 -05:00
Dmitry Tantsur
c399e5668e Add bumping sem-ver to the releasing docs
Change-Id: I60e2c433273aeae522ad3247004522190351264f
2017-02-02 16:08:30 +01:00
Jenkins
b2e6416bb7 Merge "Add dynamic interfaces fields to base node notification" 2017-02-02 12:28:14 +00:00
Yuriy Zveryanskyy
d361d756ad Add dynamic interfaces fields to base node notification
This patch adds dynamic interface fields which are exposed via API
to base node notification object.

Change-Id: If761fb73357d940afe42b329f413ff0228434586
Partial-Bug: #1524745
2017-02-01 14:37:26 -08:00
Jenkins
e37f2543cf Merge "Adding clean-steps via json string examples" 2017-02-01 22:36:04 +00:00
Jenkins
646a1f76a9 Merge "Fix a few docstring warnings" 2017-02-01 19:24:45 +00:00
Jenkins
965619314d Merge "Remove support for driver object periodic tasks" 2017-02-01 15:52:59 +00:00
Sasha Chuzhoy
3284cd9150 Adding clean-steps via json string examples
Change-Id: Ie74bb2a46c79ae97b6fed7b544e9aa302d2d7e04
Signed-off-by: Sasha Chuzhoy <sasha@redhat.com>
2017-02-01 10:18:43 -05:00
Jenkins
df9027ab38 Merge "Add dynamic interfaces fields to nodes API" 2017-02-01 00:07:03 +00:00
Ramamani Yeleswarapu
a1a3e2e478 Fix a few docstring warnings
Some warnings related to docstrings and a document reference
are fixed.

Change-Id: I57a661b2fc88a9058252744af872c631fc1b87d3
2017-01-31 15:18:23 -08:00
Ruby Loo
308f00b211 Remove support for driver object periodic tasks
Attaching periodic tasks on a driver object (rather than an interface)
was deprecated during the Newton cycle (6.1.0). This removes support
for it.

Change-Id: I35afd4e0d3d1a32a516f6c755a0bd9aee0f1b1ba
Fixes-Bug: #1660805
2017-01-31 22:48:54 +00:00
Jenkins
3b63429dd3 Merge "Add dynamic driver functionality to REST API" 2017-01-31 15:49:47 +00:00
Jim Rollenhagen
8570bee3d6 Add dynamic interfaces fields to nodes API
This adds version 1.31 of the REST API, which adds dynamic interface
fields to the node object.

Change-Id: Ic8398a6093189a65a7c1ab5cf7e682577dde3257
Partial-Bug: #1524745
2017-01-30 22:13:00 +00:00
Jim Rollenhagen
e776757812 Add dynamic driver functionality to REST API
This adds API version 1.30, which adds dynamic driver parameters
and response fields to `GET /v1/drivers` and `GET /v1/drivers/<name>`.

Changes RAID APIs to work for dynamic drivers.

Also changes GET /v1/drivers/<name>/properties to work for dynamic
drivers. It uses the calculated default implementation for each
interface, when calculating the properties.

Last, changes node and driver vendor passthru to work correctly
for dynamic drivers. Similar to properties, driver vendor passthru
will use the calculated default vendor implementation.

Change-Id: If13e7e7fd368273e84d9a108be93b58150432fae
Partial-Bug: #1524745
2017-01-30 22:12:55 +00:00
Madhuri Kumari
e095bea679 Update the outdated link in user-guide
The link to `slides` in user-guide.rst gives 404. So this patch
updates the link.

Change-Id: I0ebf7c5ffe415b0c4325fef5ecade58773f6eeb6
Closes-bug: #1651065
2017-01-30 06:13:02 +00:00
Naohiro Tamura
25a536b225 Follow-up iRMC driver doc update
This is a nit follow-up patch of "Update iRMC driver doc for soft
reboot and soft power off" [1] to add URLs to ServerView Agents and
iRMC S4 Manual.

 [1] I0987349e71086757e404e954596e301cad59709c

Change-Id: Idf0bda1ea660096043379556d08ba3027d1b9e85
Partial-Bug: #1526226
2017-01-27 10:30:22 +09:00
Naohiro Tamura
401f78203e Update iRMC driver doc for soft reboot and soft power off
This patch adds soft reboot and soft power off requirements, pysnmp
and ServerView Agents, to iRMC driver documentation.

Change-Id: I0987349e71086757e404e954596e301cad59709c
Partial-Bug: #1526226
2017-01-26 16:04:32 +09:00
Jenkins
cbd987f2ee Merge "Fix broken link in the iLO driver docs" 2017-01-25 19:10:20 +00:00
Andrea Frittoli
9ed1d1b5cd Fix broken link in the iLO driver docs
The link to the iLO product page in the iLO driver doc is broken.
Propose to use https://www.hpe.com/us/en/servers/integrated-lights-out-ilo.html
as a new link.

Change-Id: I451c537de8ef184a86d9604a438e5c8112580668
2017-01-25 09:43:20 -08:00
Shivanand Tendulker
eb5a7bfbeb Update proliantutils version required for Ocata release
This commit updates the proliantutils version required in
Ironic to 2.2.0 for Ocata release. This version of
proliantutils includes support for sanitize disk erase using
SSA utility.

Change-Id: I31a8467bc1917b08e61579fef0610b3fc297ece6
2017-01-24 22:26:59 -08:00
Jenkins
e57ad8c952 Merge "Update multi-tenancy documentation" 2017-01-24 19:23:24 +00:00
Jenkins
cef473d294 Merge "Fix typo in the metrics.rst file" 2017-01-23 15:19:53 +00:00
Nam Nguyen Hoai
8de489ad8d Fix typo in the metrics.rst file
There is a wrong word, it should be updated
from "enablng" to "enabling".

Change-Id: Ibb9fcd9643bb8f74f5703a28f7b938b9292c78f9
2017-01-21 15:41:56 +07:00
Jenkins
8db68fef4e Merge "Generic management I/F for Inject NMI" 2017-01-20 16:36:07 +00:00
Naohiro Tamura
58d59db30f Generic management I/F for Inject NMI
This patch updates the generic management interface and adds a new
REST API to support the injection of Non-Masking Interrupts (NMI) for
a node. This feature can be used for hardware diagnostics, and actual
support depends on a driver.

Partial-Bug: #1526226
Change-Id: I08d74f5ccbc386baca1fb29e428fe01924499d45
2017-01-20 11:18:09 +09:00
Jenkins
fb61ae7e54 Merge "Move to tooz hash ring implementation" 2017-01-19 14:46:56 +00:00
Jim Rollenhagen
b08e536831 Move to tooz hash ring implementation
This changes the ironic driver to use the hash ring implementation from
tooz, which is nearly identical to ironic.common.hash_ring.

Change-Id: I4200be2035067622604e5aa70e025594bcd0a801
Depends-On: Ic1f8b89b819ace8df9b15c61eaf9bf136ad3166b
2017-01-19 00:30:24 +00:00
Dmitry Tantsur
98aa3bbf47 Update troubleshooting docs on no valid host found error
* Add examples of correct data
* Regroup bullet points into more logical flow
* Use OSC-based commands for Nova
* Add short information on using nova scheduler logs

Based on real world debugging experience.

Change-Id: I0f2441764a1b434fca6a1589c72ec95b083d19ab
2017-01-17 19:18:20 +01:00
Vasyl Saienko
76b91709ae Allow to set min,max API microversion in tempest
This patch introduce new devstack variables to set min and max Ironic
API version to allow skip tempest tests.

 TEMPEST_BAREMETAL_MIN_MICROVERSION
 TEMPEST_BAREMETAL_MAX_MICROVERSION

Update release documentation.

Related-Bug: #1655888
Change-Id: Id6d36280f622549a2877aab99c11e4008af67fe7
2017-01-12 09:12:04 -08:00
Jenkins
1e49c7b07b Merge "Add Virtual Network Interface REST APIs" 2017-01-11 22:10:08 +00:00
Sam Betts
4789d3b41a Add Virtual Network Interface REST APIs
This patch adds the REST APIs for the virtual network interface API in
order to abstract the task of assigning logical network interfaces to
physical network interfaces.

Since Newton Ironic provides an interface for pluggable network
implementations. Different network implementations may want to handle
how logical to physical network interface assignment happens. To do this
the new API calls into new functions on the network implementation
loaded for the specified node.

This is part 3 of 3, and adds the node vif subcontroller to expose the
/nodes/<ident>/vifs REST API endpoint. API version is bumped to 1.28.

Co-Authored-By: Vasyl Saienko (vsaienko@mirantis.com)
Change-Id: I70f1166a15a26f392734e21d6bc30a03da4e5486
Partial-Bug: #1582188
2017-01-11 15:08:26 +02:00
Mario Villaplana
bbd0e96c4b Add docs about creating release note when metrics change
This adds a note to the metrics documentation that changing a metric
name or removing a metric will need a release note in the future. There
was consensus about this at the most recent ironic IRC meeting. [0]

[0] http://eavesdrop.openstack.org/irclogs/%23openstack-meeting-3/%23openstack-meeting-3.2017-01-09.log.html#t2017-01-09T17:26:33

Change-Id: Ibdb4fd39a654ea06a526f346358f88b291c4e7a4
2017-01-10 21:46:05 +00:00
Jenkins
cb7ec631f0 Merge "Generic power interface for soft reboot and soft power off" 2017-01-06 20:36:43 +00:00
ericxiett
f8e1bc2f8b Fix the comma's wrong locations.
The locations of commas in JSON in docs/source/deploy/raid.rst
are not correct. This patch fixs it.

Change-Id: Ibda01aae45827d1e913bc76b1ee3aec99f97ccc9
Closes-Bug: #1654243
2017-01-05 20:09:50 +08:00
Naohiro Tamura
f15d5b9a37 Generic power interface for soft reboot and soft power off
This patch updates the generic power interface to support SOFT_REBOOT
and SOFT_POWER_OFF. And also it introduces "timeout" optional
parameter for all power operations.

Partial-Bug: #1526226
Change-Id: I1c9bbd1f11f6a8565607c874b3c99aa10eeb62a5
2017-01-04 11:38:01 +09:00
Jenkins
fcd0849df3 Merge "Add node console notifications" 2016-12-28 21:28:40 +00:00
Jenkins
d0450c1f5f Merge "Add node maintenance notifications" 2016-12-28 21:28:31 +00:00
Jenkins
13944b589d Merge "Add ironic resources CRUD notifications" 2016-12-28 18:47:06 +00:00
Yuriy Zveryanskyy
294f974fe7 Add node console notifications
This patch adds node console notifications, event types are:
"baremetal.node.console_{set, restore}.{start, end, error}".
Developer documentation updated.

Change-Id: I3b3ac74607fd6e218fdf0ea3ff30964e527db399
Partial-Bug: #1606520
2016-12-23 08:51:54 +00:00
Yuriy Zveryanskyy
876db5a613 Add node maintenance notifications
This patch adds node maintenance notifications, event types are:
"baremetal.node.maintenance_set.{start, end, error}".
Developer documentation updated.

Change-Id: I9105821ed0a4db614ea3e1c73ad563b82b1c6082
Partial-Bug: #1606520
2016-12-23 08:51:22 +00:00
Yuriy Zveryanskyy
499ef55dd1 Add ironic resources CRUD notifications
This patch adds notifications for create, update or delete ironic
resources (node, port and chassis). Event types general form are:
baremetal.<resource>.{create, update, delete}.{start,end,error}.
Developer documentation updated.

Partial-Bug: #1606520
Change-Id: I95c64d9aa806ff2d7e7dae54ced169c98282c67d
2016-12-23 08:51:09 +00:00
Ruby Loo
75bc194a45 Update dev-quickstart: interval value cannot be -1
This updates the documentation to set the sync_power_state_interval
to a large number instead of -1. Using -1 results in the error

ValueError: Periodicity/spacing must be greater than zero instead of -1

-1 used to work until we started using the futurist/periodics code.

Change-Id: I1eb95345f8746a6ac7b97352bdeb20ca33e9434c
2016-12-22 12:39:15 -05:00
Ruby Loo
7556dc6a76 Update multi-tenancy documentation
This updates the multi-tenancy documentation. The changes include:
- use the service name (e.g. the Bare Metal service) instead of the
  project name (e.g. ironic)
- fix some grammatical issues
- refer to the ironic conductor as 'ironic-conductor' instead of 'conductor'
- remove note about setting enabled_network_interfaces config option in
  ironic-api's config file; that is no longer needed since the checks
  have been moved to the conductor side (when node creation was moved).

Change-Id: Ic4b1512672c16c1bff5b43595abd90190e23b0fe
2016-12-21 14:23:04 -05:00
Jenkins
d8e5a269ac Merge "Remove iBoot, WoL and AMT drivers" 2016-12-16 22:16:58 +00:00
Jenkins
e65b191107 Merge "Add portgroup configuration fields" 2016-12-16 12:22:47 +00:00