8487 Commits

Author SHA1 Message Date
Zuul
afbe8e7679 Merge "Add CUSTOM_CPU_FPGA Traits value to ironic inspection" 2018-07-17 13:28:43 +00:00
Zuul
157739435e Merge "Migrate ironic snmp driver to the latest pysnmp API" 2018-07-16 19:47:12 +00:00
Zuul
a00c1cc4cd Merge "Caching of PDU autodiscovery" 2018-07-16 19:45:09 +00:00
srobert
a1eaaaedb5 Caching of PDU autodiscovery
The caching is implemented on the get method retrieving the OID.
The actual architecture did not allow to easily have a caching on the
PDU driver instance creation since an instance of the driver is created
for *every outlet* of a given PDU

Co-Authored-By: Ilya Etingof <etingof@gmail.com>
Change-Id: Id5dc17dac66d9136cf5c359dbbb55a833b1b1ad9
2018-07-16 15:25:45 +02:00
Zuul
67045c3a55 Merge "Add conductor_group field to nodes and conductors tables" 2018-07-16 12:55:45 +00:00
Zuul
05bc054834 Merge "Update CI jobs for rescue mode" 2018-07-16 10:51:01 +00:00
Zuul
3ddfce0f1b Merge "Deploy steps - API & notifications" 2018-07-16 10:49:38 +00:00
Ilya Etingof
0d03136bcc Migrate ironic snmp driver to the latest pysnmp API
Since pysnmp 4.3 (which dates back to 2015), library's high-level
SNMP API has been reworked towards better consistency and performance.
Ironic snmp driver still uses the older pysnmp API. This story
suggests migrating ironic snmp driver to the latest (e.g.
post 4.3) pysnmp API.

This bumps up ironic lower constraint on pysnmp.

Change-Id: Id3a03210e8a52dda5e6403e2f9cb040c59ca9573
Story: 2002756
Task: 22612
2018-07-16 12:43:03 +02:00
Zuul
e0c5c0fdd7 Merge "Deploy steps - conductor & drivers" 2018-07-16 10:38:41 +00:00
Jim Rollenhagen
f667db12a3 Add conductor_group field to nodes and conductors tables
Adds the field to both tables as a VARCHAR(255), non-nullable, with a
default of "".

Change-Id: Iba812dd959094d73034c20345d005f8613a17b1b
Story: 2001795
Task: 22639
2018-07-16 08:42:24 +00:00
607070569c Add mock object for get_bios_settings
Need to mock as sometimes cache_bios_settings is called.

Change-Id: I06da07b688debeabe539bfd3532e7af0b794cf8a
2018-07-16 11:56:56 +05:30
Zuul
036d6247e5 Merge "Update the doc regarding the removal of calssic drivers" 2018-07-14 19:51:32 +00:00
Zuul
824ea61a9b Merge "Fix bug to doc:kernel-boot-parameters" 2018-07-14 19:51:30 +00:00
Zuul
7271827212 Merge "Add notes for future job migrations" 2018-07-14 19:51:28 +00:00
Zuul
f7a0a9b3bd Merge "Deploy steps - versioned objects" 2018-07-14 04:26:27 +00:00
Zuul
936f4c206c Merge "Deploy steps - DB model" 2018-07-14 04:19:33 +00:00
Zuul
b081fbddc5 Merge "Fixed link to Storyboard instead of launchpad" 2018-07-14 01:31:07 +00:00
Julia Kreger
745268d0ae Add notes for future job migrations
We will need to ensure we capture appropriate timeouts
else we will be sad due to gae failures.

Change-Id: I7ee3b540a55b52aaefcdc49d33c1e7c8825919bd
2018-07-13 14:23:37 +00:00
Julia Kreger
863fe1e85a Assert a build timeout for zuul templated CI jobs
The new CI DSVM wrappers with zuul lack passing
a BUILD_TIMEOUT, thus the default value of 196
seconds is taking effect in devstack.

Explicitly setting to 600 should improve CI reliability.

Change-Id: If39f33d4f5e8e649729ecc9e5be33f9529d7b488
2018-07-13 06:08:33 -07:00
Marc Methot
dba2041324 Fixed link to Storyboard instead of launchpad
Change-Id: Ic92908461bc17bceaafe815a820b90cb2d3fc75d
Task: #22977
2018-07-13 09:04:16 -04:00
Dao Cong Tien
dd4a4d4111 Update CI jobs for rescue mode
Sets rescue interface to 'agent' for testing rescue mode in most jobs.
The rescue mode is tested in test_baremetal_server_ops.

Also adds support for the new config option in ironic tempest plugin
default_rescue_interface.

Story: #1526449
Depends-On: I6b62724711ddbe17b59dad30283e544272d9c1f3
Change-Id: Ica26aa96978d22a681d69e7e1e4acd72182a4981
2018-07-12 16:13:02 -07:00
Zuul
f70770db02 Merge "Implement iRMC BIOS configuration" 2018-07-12 21:57:03 +00:00
Zuul
b35f5f0b45 Merge "Switch ironic-tempest-dsvm-ipa-partition-redfish-tinyipa" 2018-07-12 19:31:39 +00:00
Zuul
6b6277d836 Merge "Switch ironic-dsvm-standalone to zuulv3 native" 2018-07-12 19:19:10 +00:00
tianhui
09ebc659d4 Fix bug to doc:kernel-boot-parameters
There are wrong urls in the doc and change them to correct

Change-Id: I1ee0dbb95a6117fae37a5417b8fd44a47ba93544
2018-07-12 09:29:06 +00:00
Mark Goddard
5a14eed467 Deploy steps - API & notifications
Adds a 'deploy_step' field to the nodes API.

Co-Authored-By: Ruby Loo <rloo@oath.com>

Change-Id: I1baeeaaa6ed521e4189958fd7624cd6c5de96707
Story: #1753128
Task: #22592
2018-07-11 16:19:31 +00:00
Mark Goddard
65a68e4e96 Deploy steps - conductor & drivers
This adds a 'deploy_step' decorator. A deploy step must take as the
only positional argument, a TaskManager object.

A step can be executed synchronously or asynchronously. A step should
return None if the method has completed synchronously or
states.DEPLOYWAIT if the step will continue to execute asynchronously.
If the step executes asynchronously, it should issue a call to the
'continue_node_deploy' RPC, so the conductor can begin the next
deploy step.

Only steps with priorities greater than 0 are used.
These steps are ordered by priority from highest value to lowest
value. For steps with the same priority, they are ordered by driver
interface priority (see conductor.manager.DEPLOYING_INTERFACE_PRIORITY).

All in-tree DeployInterfaces are converted to have one big deploy_step
(their existing deploy() method).

A new RPC method 'continue_node_deploy' (RPC API version 1.45) is used
by deploy steps to notify the conductor to continue node deployment
(e.g. execute the next deploy step).

Similar to cleaning, the conductor gets the node's deploy steps and
executes them, one at a time (one deploy step right now). The conductor
also handles out-of-tree drivers that don't have deploy steps yet; a
warning is logged in these cases.

Co-Authored-By: Ruby Loo <rloo@oath.com>

Change-Id: I5feac3856cc4b87a850180b7fd0b3b9805f9225f
Story: #1753128
Task: #22592
2018-07-11 16:18:59 +00:00
Zuul
52bdfd32df Merge "Fix typo of function naming conventions in test_deploy_utils.py" 2018-07-11 16:12:47 +00:00
Nguyen Hung Phuong
5ee7b31348 Add CUSTOM_CPU_FPGA Traits value to ironic inspection
iRMC driver inspects hardware to get qualitative resources. During node
inspection, the iRMC driver will automatically update the node.traits
field with CUSTOM_CPU_FPGA value based on information provided by the
node.

Co-Authored-By: Tran Ha Tuyen <tuyenth@vn.fujitsu.com>
Change-Id: I685c87561e74e0c7153e8fb948b819a783fad41f
Story: #2001999
Task: #19633
2018-07-11 19:09:03 +07:00
Luong Anh Tuan
fa59565be0 Implement iRMC BIOS configuration
This patch supports BIOS configuration for iRMC drivers using
out-of-band method.

Tested successfully on TX2540 M1 along with eLCM license.

Story: #1743674
Task: #10651
Co-Authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com>
Change-Id: I61f15e7c65c4ef5cc5f959d2b016b053e70ba19b
2018-07-11 08:04:15 +07:00
Mark Goddard
aac5bcb3e4 Deploy steps - versioned objects
Adds a 'deploy_step' field to the Node object.

Co-Authored-By: Ruby Loo <rloo@oath.com>

Change-Id: I3393cc0f6506fe0a8dd655b3e2b9c48fcc921808
Story: #1753128
Task: #22592
2018-07-10 13:10:24 -07:00
Mark Goddard
f5a5af32a3 Deploy steps - DB model
Adds a 'deploy_step' column to the nodes table.

Co-Authored-By: Ruby Loo <rloo@oath.com>

Change-Id: I31286266f28b1fdcdfeb6002992f4eece25c6ac1
Story: #1753128
Task: #22592
2018-07-10 13:10:24 -07:00
Nguyen Van Trung
d29dab27ef Follow-up to RAID configuration via iRMC driver patch
This change will put right docs which indicated value
of size_gb in JSON input.

Change-Id: I6126fd7732ed56f82eb9710b7fa674fb6a94c34d
2018-07-10 20:58:18 +07:00
Zuul
e5068965f6 Merge "Make the lower-constraints tox env actually use lower-constraints" 2018-07-10 13:54:15 +00:00
Zuul
e479e02214 Merge "Support RAID configuration for BM via iRMC driver" 2018-07-10 13:54:11 +00:00
Dmitry Tantsur
5eff5968d4 Make the lower-constraints tox env actually use lower-constraints
Currently it pulls in upper-constraints from the base testenv definition.

Change-Id: I2f02efb3e5be8b9e497a793b5d0b62fdbe6f6969
Story: #2002900
Task: #22865
2018-07-10 11:42:40 +00:00
Zuul
5d70b063a2 Merge "[doc] Use openstack client commands to replace neutron client" 2018-07-10 05:30:07 +00:00
Zuul
b4d7bd3dc1 Merge "Fix list node vifs api error" 2018-07-10 04:58:09 +00:00
Tuan Do Anh
5ca549c065 Fix typo of function naming conventions in test_deploy_utils.py
Corrected the typo of function naming conventions in test_deploy_utils.py

Change-Id: I15935e762409db3795fbc0b037e25cf00e9d7a58
2018-07-10 10:32:21 +07:00
Zuul
3347e155b3 Merge "Bump osprofiler minimum requirement to 1.5.0" 2018-07-09 21:50:53 +00:00
Zuul
eba2906052 Merge "Update API version history with release 11.0.0" 2018-07-09 16:46:07 +00:00
Zuul
5041634ab7 Merge "Update boot-from-volume feature docs" 2018-07-09 16:46:04 +00:00
Zuul
31012bf064 Merge "Add 11.0 to release mapping" 2018-07-09 16:46:02 +00:00
Zuul
68d4a95d5f Merge "Detect skip version upgrades from version earlier than Pike" 2018-07-09 16:29:38 +00:00
Dao Cong Tien
a60233ccf4 Update the doc regarding the removal of calssic drivers
This patch updates the remaining doc that relates to
the removal of classic drivers.

Change-Id: I82b1ee18ea90bfdf8ab9b24e610fb5db766068a0
2018-07-09 16:13:54 +07:00
Nguyen Van Trung
a0978b3c45 Update boot-from-volume feature docs
This patch will update for following item:
- Image creation with elements.

This feature also has tested on Fujitsu servers[1] with UEFI mode.

[1] https://www.youtube.com/playlist?list=PLVMnqzl_peRG6-IH8tmzU1EZOQHlzy5PE

Change-Id: I21f11e32eb048cfcb8b9099783acf9212ba1549f
2018-07-09 04:42:35 +00:00
Qian Min Chen
63b7ddc6be [doc] Use openstack client commands to replace neutron client
The neutron client commands will be deprecated, so use
openstack client commands to replace neutron client.

Change-Id: I6fdf867f3c632c846940b9469e67cf4ba9653161
2018-07-08 08:18:00 +08:00
Mathieu Gagné
692f289a32 Detect skip version upgrades from version earlier than Pike
When performing a skip version upgrade from a release earlier than Pike,
Ironic will crash when check_versions cannot find the 'version' columns
in the database.

This change adds a safety check which detects old database
version missing the 'version' columns. Instead of crashing, it will
inform the user that skip version upgrades are not supported and
that database migrations need to be run for each skipped versions instead.

Story: 2002558
Task: 22122
Change-Id: Ifa100c6fd168fc59b56bba0c41836958b10f2d47
2018-07-06 12:46:14 -04:00
Ruby Loo
647aee6c82 Update API version history with release 11.0.0
We released ironic 11.0.0; this updates the documentation to
reflect that.

Change-Id: I31c71f790085a277a48bc2c69d353bb68dbfe7f6
2018-07-06 11:47:25 -04:00
Dmitry Tantsur
31cc654fc1 Bump osprofiler minimum requirement to 1.5.0
Ironic cannot even start with 1.4.0. The lower-constraints job works
because it actually uses upper-constraints.

Change-Id: Id34909b9fb159cd2bb06f1512908db4836055c29
Story: #2002900
Task: #22864
2018-07-06 16:38:12 +02:00