Skip to content

feat: Add pre-upgrade warning for APIC 6.2.1 that downgrade is not supported to pre-6.2.1 version.#289

Merged
takishida merged 3 commits into
datacenter:masterfrom
saket1999:feat_621_upgrade_warning
Jan 14, 2026
Merged

feat: Add pre-upgrade warning for APIC 6.2.1 that downgrade is not supported to pre-6.2.1 version.#289
takishida merged 3 commits into
datacenter:masterfrom
saket1999:feat_621_upgrade_warning

Conversation

@saket1999
Copy link
Copy Markdown
Contributor

@saket1999 saket1999 commented Sep 26, 2025

Starting from 6.2.1 release, policy based downgrade will not be supported to pre-6.2.1 version, for this, a warning is being added to let customers know that downgrade is not supported.

pytest output:

pytest tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py 
============================================================================================= test session starts =============================================================================================
platform linux -- Python 3.8.10, pytest-7.2.0, pluggy-1.5.0
rootdir: /data/ssd/ACI-Pre-Upgrade-Validation-Script, configfile: pytest.ini
collected 8 items                                                                                                                                                                                             

tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[None-None-MANUAL CHECK REQUIRED] 
----------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------
[09:38:42.835 INFO               initialize:5373] Cleaning up previous run files in preupgrade_validator_logs/
[09:38:42.835 INFO               initialize:5375] Creating directories preupgrade_validator_logs/ and preupgrade_validator_logs/json_results/
PASSED                                                                                                                                                                                                  [ 12%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[4.2(1b)-None-MANUAL CHECK REQUIRED] PASSED                                                                                  [ 25%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[None-5.2(2a)-MANUAL CHECK REQUIRED] PASSED                                                                                  [ 37%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[5.2(2a)-6.1(4a)-PASS] PASSED                                                                                                [ 50%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[6.1(3a)-6.1(4c)-PASS] PASSED                                                                                                [ 62%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[6.1(3a)-6.2(1a)-MANUAL CHECK REQUIRED] PASSED                                                                               [ 75%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[6.1(3a)-6.2(2a)-MANUAL CHECK REQUIRED] PASSED                                                                               [ 87%]
tests/apic_621_upgrade_warning/test_apic_621_upgrade_warning.py::test_logic[6.2(1a)-6.2(2c)-PASS] PASSED                                                                                                [100%]

============================================================================================== 8 passed in 0.02s ==============================================================================================

@saket1999 saket1999 force-pushed the feat_621_upgrade_warning branch from 6b91abc to 008af2b Compare September 26, 2025 09:43
@takishida takishida force-pushed the feat_621_upgrade_warning branch from 008af2b to 9e6aa03 Compare December 17, 2025 22:28
@takishida takishida self-requested a review December 17, 2025 22:29
@takishida
Copy link
Copy Markdown
Collaborator

Sample output:

[Check 1/1] APIC downgrade compatibility when crossing 6.2 release...                                                MANUAL CHECK REQUIRED
  Current version  Target Version  Warning
  ---------------  --------------  -------
  6.1(4h)          6.2(1g)         Downgrading APIC from 6.2(1)+ to pre-6.2(1) will not be supported.

  Recommended Action: No action required. Just be aware of the downgrade limitation after the upgrade.
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#apic-downgrade-compatibility-when-crossing-62-release

@takishida takishida merged commit 128ab55 into datacenter:master Jan 14, 2026
2 checks passed
jeestr4d pushed a commit that referenced this pull request Jan 27, 2026
…pported to pre-6.2.1 version. (#289)

* feat: Add pre-upgrade warning for APIC 6.2.1 that downgrade is not supported to pre-6.2.1 version.

---------

Co-authored-by: Saket <saketk@cisco.com>
Co-authored-by: tkishida <tkishida@cisco.com>
Harinadh-Saladi pushed a commit to Harinadh-Saladi/ACI-Pre-Upgrade-Validation-Script that referenced this pull request May 5, 2026
…pported to pre-6.2.1 version. (datacenter#289)

* feat: Add pre-upgrade warning for APIC 6.2.1 that downgrade is not supported to pre-6.2.1 version.

---------

Co-authored-by: Saket <saketk@cisco.com>
Co-authored-by: tkishida <tkishida@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants