Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOS 4.32+ Pending Commit Syntax Change #2166

Open
brandondrm opened this issue Feb 18, 2025 · 3 comments
Open

EOS 4.32+ Pending Commit Syntax Change #2166

brandondrm opened this issue Feb 18, 2025 · 3 comments

Comments

@brandondrm
Copy link

brandondrm commented Feb 18, 2025

Beginning in EOS 4.32, the syntax for pending configurations changes has been changed when using commit confirm workflows.
Config sessions immediately show "state": "committed" for each session. The following top level keys are present only when a config session is pending confirmation:

  • commitTimerSessionName name of the session with pending commit
  • commitTimerExpireTime replacement for commitBy

Example command: configure session troubleshooting commit timer 300 & show configuration sessions detail | json

4.31 and before:

{
    "sessions": {
        "troubleshooting": {
            "state": "pendingCommitTimer",
            "completedTime": 1739832190.8418295,
            "commitBy": 1739835851.8256721,
            "commitUser": "adminuser",
            "description": "",
            "instances": {}
        }
    },
    "maxSavedSessions": 1,
    "maxOpenSessions": 5,
    "mergeOnCommit": false,
    "saveToStartupConfigOnCommit": false
}

4.32 and later:

{
    "sessions": {
        "troubleshooting": {
            "state": "committed",
            "completedTime": 1739832020.1816368,
            "commitUser": "adminuser",
            "description": "",
            "instances": {}
        }
    },
    "maxSavedSessions": 1,
    "maxOpenSessions": 5,
    "mergeOnCommit": false,
    "saveToStartupConfigOnCommit": false,
    "commitTimerSessionName": "troubleshooting",
    "commitTimerExpireTime": 1739835681.1816053
}
@ktbyers
Copy link
Contributor

ktbyers commented Feb 19, 2025

@brandondrm Did you test these changes on 4.32+ EOS system?

I can regression test them on an older system (since I have that available).

@brandondrm
Copy link
Author

@ktbyers - Yes, I was testing on a pair of 7280CR3K-36S running EOS 4.32.4M, both 32-bit and 64bit variations. I was able lock it down to a change in 4.32 after trying 4.29.10M, 4.30.9M, and 4.31.6M.

Afterward, we found in Arista's EOS-4.32.4M-CommandApiGuide.pdf section 2.278 highlights the changes in 4.32.0 - as well as some changes in 4.29.1. The 4.29.1 changes did not have a noticeable impact on our workflows.

@tlund42
Copy link

tlund42 commented Feb 24, 2025

Ah, thanks for this! We are looking to deploy 4.32 in our environment soon.

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

No branches or pull requests

3 participants