533 Commits

Author SHA1 Message Date
Jay Faulkner
96eafdc866 Remove deprecated, untested ipminative driver
The ipminative driver was marked as unsupported on September 28, 2016,
and an email was sent to the list on March 9th, 2017 asking for
volunteers to run third-party CI to save the driver from deprecation.

Additionally, many ironic contributors who also deploy ironic have
reported instability while using this driver. For these reasons it's
being removed from the main ironic tree. If there are any users still
interested in this driver, they are invited to host it elsewhere.

Change-Id: I9bc9f4cbd916f040a636b967ec5556197ad3d8a8
Closes-bug: #1671532
2017-03-30 10:34:21 -07:00
Derek Higgins
338651eae5 Copy and append to static lists
core_interfaces and standard_interfaces are both static members of BaseDriver
we need to take a copy of them before appending to them.

Change-Id: Ic6edc5e49a25849c7871dbc9e6e1d5a5eb229e57
Closes-Bug: #1672457
2017-03-27 16:50:28 +00:00
Jenkins
612e2051ed Merge "Validation before perform node deallocation" 2017-03-20 20:05:27 +00:00
Debayan Ray
677b48cb65 Update new proliantutils version to 2.2.1
This commit updates the proliantutils version required in Ironic
to 2.2.1. This version of proliantutils includes HPSUM firmware
update support and updation of requirements to match
global-requirements (required to fix third party CI gate jobs)

Change-Id: Ife96638b6262d22b3aa82155df3d7e4f525bd22b
2017-03-15 11:43:28 -04:00
Jenkins
187866c123 Merge "Cleanup hung iscsi session" 2017-03-14 11:44:59 +00:00
Vasyl Saienko
28ccbf79c4 Cleanup hung iscsi session
This patch ensure that there is no iscsi session left after
failed deployment.

Change-Id: I569933f27746da65b1d22ba9e9279439e2e792cf
Closes-Bug: #1632649
2017-03-13 20:52:55 +00:00
Matt Riedemann
e91f31663c Deprecate support for glance v1
Nova dropped support for glance v1 in Ocata and we're going
to disable glance v1 in CI runs for Pike. The glance v1
API is deprecated so we should start burning it out of the
system in all of the projects.

Closes-Bug: #1670423

Change-Id: I1398f81b28e1b000ee110c159e498b72e3746109
2017-03-13 14:32:51 -04:00
Jenkins
4f8afe8085 Merge "Remove overwriting the default value of db_max_retries." 2017-03-13 10:58:25 +00:00
Joanna Taryma
66b0bcfd08 Remove overwriting the default value of db_max_retries.
Remove overwriting the default value of db_max_retries, instead use
default value defined by oslo.db which is 20.
Adjust the default value of db_max_retries in the release note and sample
configuration file.

Closes-Bug: #1671629
Change-Id: I1e5f632d687c1cebab895cc91958d502b9fce884
2017-03-10 10:41:27 -08:00
Jenkins
4a8a0fd822 Merge "Fix updating node.driver to classic" 2017-03-10 12:42:41 +00:00
Xavier
0b23a041f1 Validation before perform node deallocation
Introduces a new validation to ensure the node deallocation
process will only be performed to nodes that have Server
Profile applied in OneView. When the allocation process
fails, the machine will have no Server Profile applied in
OneView and in ironic it will have no reference to any
Server Profile. Under these conditions if the deallocation
process be performed the driver will try to delete a
nonexistent Server Profile in OneView, leaving the node
in error state in ironic.

Change-Id: I83cef7fafac4e22ebf5eb4fe83f6da26ec132c99
Closes-Bug: #1657892
2017-03-09 14:04:24 -03:00
Vasyl Saienko
3d02084559 Fix updating node.driver to classic
An issue when it was impossible to update ``node.driver``
to classic if the current driver is one of hardware types.

Change-Id: I348a27a13d3025fe7e8ddfa31992b895a3809730
Closes-Bug: #1668579
2017-03-09 12:07:49 +02:00
Jenkins
e2e5340981 Merge "Fixed release note for DBDeadLock handling" 2017-03-07 16:22:30 +00:00
Jenkins
a6796ccae9 Merge "Clean up eventlet monkey patch comment and reno" 2017-03-06 23:37:17 +00:00
Joanna Taryma
a1f1cd8538 Fixed release note for DBDeadLock handling
Follow up patch of 3428cb74f0a6fe05c23cf00dc66da4c1d9766409

Add information about db_max_retries configuration option to the
release note. Add periods at the end of senteces in the release note.

Change-Id: I2811ce6976d020e32928773ecb872fefa05e10b7
2017-03-06 14:08:09 -08:00
Jay Faulkner
bb22ddd056 Delete release note to fix build
This release note was updated in master after the ocata branch was cut.
Doing this caused it to appear in both ocata and current-series release
notes. Removing the file from master will prevent it from showing up in
master anymore.

Change-Id: Ic1c7ec1483e92e15a82392d87874c08a7a03b710
Closes-bug: #1670401
2017-03-06 08:16:16 -08:00
Jenkins
2751ab9b81 Merge "Moved fix-socat-command release note" 2017-03-03 19:56:27 +00:00
Mario Villaplana
2751212eae Clean up eventlet monkey patch comment and reno
This is a follow up to I887a06566dcc2f09875f975f1e12ae4ff75fd348.

The release note tense is fixed, and more information is added about why
the change was necessary.

Change-Id: Ie89e21460a4a7654795830bf4781404ec506a52f
2017-03-03 18:16:57 +00:00
Joanna Taryma
547f23cd54 Moved fix-socat-command release note
Moved fix-socat-command release note to a proper directory
ironic/releasenotes instead of ironic/ironic/releasenotes

Change-Id: If2b2a54ceb00c29ae81c9b7ca672f163b1985cb7
2017-03-03 08:58:11 -08:00
Yuriy Zveryanskyy
556b1d0871 Move eventlet monkey patch code
Eventlet monkey patching is not recommended on top level __init__ [1],
because Apache WSGI module uses own concurrency model [2] and API
service under Apache should be runned without eventlet. This patch
moves eventlet monkey patching code to ironic.cmd module __init__
(like in nova).

[1] https://specs.openstack.org/openstack/openstack-specs/specs/eventlet-best-practices.html
[2] http://modwsgi.readthedocs.io/en/develop/user-guides/processes-and-threading.html

Closes-Bug: 1608252
Change-Id: I887a06566dcc2f09875f975f1e12ae4ff75fd348
2017-03-02 13:48:18 +02:00
Jenkins
77b86f26c4 Merge "Add ironic port group CRUD notifications" 2017-02-28 22:22:41 +00:00
Jenkins
96683ea61d Merge "Add support for DBDeadlock handling" 2017-02-28 17:14:55 +00:00
Joanna Taryma
3428cb74f0 Add support for DBDeadlock handling
Wrap all DB write operations with oslo_db decorator to retry on
deadlock. DBDeadlock exception can be raised quite often on Galera
clusters under load.
This also fixes an issue which causes conductor's periodic
tasks to stop executing.

Closes-Bug: #1637210
Closes-Bug: #1639338
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Co-Authored-By: Joanna Taryma <joanna.taryma@intel.com>
Change-Id: I61db83637adfd98a5394d1f570f3de4302c93497
2017-02-27 13:39:37 -08:00
Jenkins
397312efe1 Merge "Use specific end version since liberty is EOL" 2017-02-16 18:05:31 +00:00
Jay Faulkner
6561dc0777 Use specific end version since liberty is EOL
Liberty will never be released again, so I'm changing the 4.2.x to 4.2.5
(the last liberty release of ironic), as a followup to the
previous patch.

Change-Id: If38c01346282e1b9ea4fb2d5abfa010b8c27dba6
2017-02-16 17:36:32 +00:00
Yuriy Zveryanskyy
f9d9b334da Add ironic port group CRUD notifications
This patch adds notifications for create, update or delete
port groups. Event types are:
baremetal.portgroup.{create, update, delete}.{start,end,error}.
Developer documentation updated. "portgroup_uuid" field added to
port payload.

Closes-Bug: #1660292
Change-Id: I9a8ce6c34e9c704b1aeeb526babcb20a5b1261db
2017-02-15 11:42:45 +02:00
Jenkins
82099241cc Merge "Update release nodes for Ocata" 2017-02-14 18:57:53 +00:00
Jay Faulkner
bb3229e72b Update release nodes for Ocata
Updating release notes build to reflect Ocata release.

Change-Id: Idf4b72dcc79baf996eadbfacbe3ff4c1c26fbb13
2017-02-14 10:13:19 -08:00
Ruby Loo
52b38ee672 reno 'upgrades' should be 'upgrade'
This release note is missing from the generated release notes
because the content was put in the 'upgrades' section; which
doesn't exist. This changes it to be in the 'upgrade' section.

Change-Id: I23cf5fa1a6797579c368fb4033e9be46f612ec1e
2017-02-14 15:22:32 +00:00
Jenkins
2b92b53da8 Merge "Clean up release notes for 7.0.0" 2017-02-13 21:03:03 +00:00
Jim Rollenhagen
4dfde43b25 Clean up release notes for 7.0.0
Change-Id: I932157f80f58d17ce66df60fde31bb812f74d05f
2017-02-13 15:44:00 -05:00
Jenkins
16a8050502 Merge "Add a summary release note for ocata" 2017-02-13 16:09:42 +00:00
Jim Rollenhagen
ba980bda7b Add a summary release note for ocata
Change-Id: Ie4b12f1753274d25d1335df77cdc2c8aac5445db
2017-02-13 09:32:24 -05:00
Vasyl Saienko
a951e452e1 Walk over all objects when doing VIF detach
We apply specific rules when doing VIF attach, do not duplicate them
in vif_detach just walk over all port and portgroup objects.
This also fixes an issue when VIF was attached to port manually
(set vif_port_id key in port.extra) and it is impossible to detach
such VIF via v1/nodes/<node_ident>/vifs API.

Closes-Bug: #1663660

Change-Id: I70fe87bb4ae15a506fec705d10beaed572c0b45e
2017-02-13 11:30:13 +00:00
Nisha Agarwal
442849b7a7 Follow up patch for SNMPv3 support
Fixes the minor issues with SNMPv3 inspection

Closes-Bug: 1609622

Change-Id: Ic5c397e57060f4d6d01fa9f16f371408af7aae3e
2017-02-10 09:44:19 -08:00
Jenkins
744303d50a Merge "SNMP agent support for OOB inspection for iLO Drivers" 2017-02-10 12:59:10 +00:00
Jenkins
c1cc08702c Merge "Remove most unsupported drivers" 2017-02-10 09:41:41 +00:00
Jenkins
350dec88f7 Merge "No node interface settings for classic drivers" 2017-02-10 08:13:45 +00: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
Ruby Loo
d8bdbda030 No node interface settings for classic drivers
Classic drivers have their interfaces (except for
network and storage) pre-determined. Unlike dynamic
drivers, it is not possible to change these interfaces
for nodes with a classic driver. If that is attempted
(when creating or updating a node), an exception
MustBeNone is raised (and HTTP status 400 is returned).

So that we don't break existing ironic clusters that
have nodes with classic drivers and interfaces specified,
a warning is logged (instead of raising an exception)
when a TaskManager is created.

Change-Id: I290b10f735d0da9710d1ee3b50c3252f73956428
Partial-Bug: #1524745
2017-02-08 14:50:03 +00:00
Vladyslav Drok
c6abd51159 Unbind tenant ports before rebuild
Currently, during rebuild, tenant ports are bound to tenant network
when we call add_provisioning_network. We need to unbind them first.

Closes-Bug: #1657083
Change-Id: I475a089ee646872f7874c3d257c1dc571ea94f4d
2017-02-08 11:47:27 +02:00
Jenkins
77bcccf98c Merge "Fix setting persistent boot device does not work" 2017-02-06 11:48:06 +00:00
Jenkins
b9a792af9f Merge "Validate port info before assume we may use it" 2017-02-03 12:37:24 +00:00
Jenkins
ac2b1a48ef Merge "Remove iSCSI deploy support for IPA Mitaka" 2017-02-02 20:10:51 +00:00
Jenkins
fd1445acaa Merge "Make _send_sensors_data concurrent" 2017-02-02 18:45:36 +00:00
Jenkins
ae542611db Merge "Fail conductor startup if invalid defaults exist" 2017-02-02 16:49:59 +00:00
Jenkins
217ad9d2c1 Merge "Add hardware type 'irmc' for FUJITSU PRIMERGY servers" 2017-02-02 13:18:04 +00:00
Jenkins
e2890525a3 Merge "Improve conductor driver validation at startup" 2017-02-02 12:41:52 +00:00
Jenkins
b2e6416bb7 Merge "Add dynamic interfaces fields to base node notification" 2017-02-02 12:28:14 +00:00