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
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
Adds the field to both tables as a VARCHAR(255), non-nullable, with a
default of "".
Change-Id: Iba812dd959094d73034c20345d005f8613a17b1b
Story: 2001795
Task: 22639
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
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
Adds a 'deploy_step' field to the nodes API.
Co-Authored-By: Ruby Loo <rloo@oath.com>
Change-Id: I1baeeaaa6ed521e4189958fd7624cd6c5de96707
Story: #1753128
Task: #22592
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
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
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
Adds a 'deploy_step' field to the Node object.
Co-Authored-By: Ruby Loo <rloo@oath.com>
Change-Id: I3393cc0f6506fe0a8dd655b3e2b9c48fcc921808
Story: #1753128
Task: #22592
Adds a 'deploy_step' column to the nodes table.
Co-Authored-By: Ruby Loo <rloo@oath.com>
Change-Id: I31286266f28b1fdcdfeb6002992f4eece25c6ac1
Story: #1753128
Task: #22592
Currently it pulls in upper-constraints from the base testenv definition.
Change-Id: I2f02efb3e5be8b9e497a793b5d0b62fdbe6f6969
Story: #2002900
Task: #22865
The neutron client commands will be deprecated, so use
openstack client commands to replace neutron client.
Change-Id: I6fdf867f3c632c846940b9469e67cf4ba9653161
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
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