Remove pysnmp and related dependencies

With the SNMP and iRMC drivers removed, pysnmp-lextudio, pyasn1,
and pyasn1-modules are no longer needed. Remove them from both
driver-requirements.txt and test-requirements.txt, and remove the
now-unused SNMP CI job.

Generated-By: claude-code
Change-Id: I14b55a73ca1db9dbc84e0c9fb03a2e5fa93b6182
Signed-off-by: Jay Faulkner <jay@jvf.cc>
This commit is contained in:
Jay Faulkner
2026-03-26 08:17:06 -07:00
parent 95f99ac58d
commit 7ceef452de
4 changed files with 7 additions and 58 deletions
-3
View File
@@ -5,9 +5,6 @@
# These are available on pypi
proliantutils>=2.16.2,<2.17.0
pysnmp-lextudio>=5.0.0 # BSD
pyasn1>=0.5.1 # BSD
pyasn1-modules>=0.3.0 # BSD
# Ansible-deploy interface
ansible>=2.7
@@ -0,0 +1,7 @@
---
upgrade:
- |
The ``pysnmp-lextudio``, ``pyasn1``, and ``pyasn1-modules``
libraries have been removed from both driver and test
requirements, as they are no longer needed after the removal
of the SNMP and iRMC drivers.
-3
View File
@@ -7,7 +7,4 @@ oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
testtools>=2.5.0 # MIT
WebTest>=2.0.27 # MIT
pysnmp-lextudio>=5.0.0 # BSD
pyasn1>=0.5.1 # BSD
pyasn1-modules>=0.3.0 # BSD
bandit>=1.1.0,<2.0.0 # Apache-2.0
-52
View File
@@ -518,58 +518,6 @@
s-object: True
s-proxy: True
# TODO(JayF): Tempest CI for SNMP is on its last legs; we are holding back
# all openstack projects from updating pyasn1* packages due to our use of
# pysnmp-lextudio instead of modern pysnmp. This job should be reworked to
# no longer require SNMP and instead test the other items this job is for
# and a mail sent to the list asking for action to keep it alive.
- job:
name: ironic-tempest-ramdisk-bios-snmp-pxe
description: SNMP power, iPXE, OVN, no-op management and whole disk images.
parent: ironic-base
vars:
# NOTE(TheJulia): No reason to go much further than the network boot,
# Hence the use of the ramdisk test scenario as opposed to the others.
tempest_test_regex: test_ramdisk_iso
devstack_localrc:
IRONIC_ENABLED_HARDWARE_TYPES: snmp
IRONIC_DEPLOY_DRIVER: snmp
IRONIC_ENABLED_DEPLOY_INTERFACES: "ramdisk"
IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
IRONIC_VM_EPHEMERAL_DISK: 0
IRONIC_AUTOMATED_CLEAN_ENABLED: False
IRONIC_ALLOW_UNSUPPORTED_DRIVERS: True
# NOTE(TheJulia): Explicitly set scope enforcement to False until we
# remove the legacy policies.
IRONIC_ENFORCE_SCOPE: False
IRONIC_BOOT_MODE: bios
Q_AGENT: ovn
Q_ML2_TENANT_NETWORK_TYPE: vlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn
ENABLE_CHASSIS_AS_GW: True
ML2_L3_PLUGIN: "ovn-router,trunk"
OVN_DBS_LOG_LEVEL: dbg
devstack_services:
atop: True
q-agt: False
q-dhcp: False
q-l3: False
ovn-controller: True
ovn-northd: True
q-ovn-metadata-agent: True
n-api: False
n-api-meta: False
n-cond: False
n-cpu: False
n-novnc: False
n-sch: False
nova: False
placement-api: False
s-account: False
s-container: False
s-object: False
s-proxy: False
- job:
name: ironic-tempest-ovn-uefi-ipmi-pxe
description: IPMI power, UEFI, iPXE, OVN, image-based deployment. A