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

issue running VerifyFileSystemUtilization bash commands #905

Open
pvinci-arista opened this issue Oct 29, 2024 · 2 comments
Open

issue running VerifyFileSystemUtilization bash commands #905

pvinci-arista opened this issue Oct 29, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@pvinci-arista
Copy link
Contributor

Commands fail for VerifyFileSystemUtilization.

bash timeout 10 df -h has failed: Authorization denied for command 'bash timeout 10 df -h'.

Are additional privileges/aaa requirements needed for running bash commands over eAPI?

@gmuloc
Copy link
Collaborator

gmuloc commented Oct 29, 2024

Hey @pvinci-arista thanks for opening the issue.
No problem to run it on a switch with

site2-wan1#show run | se aaa
no aaa root
aaa authorization exec default local

Screenshot 2024-10-29 at 22 29 13

Questions:

  1. Can the user used by ANTA run the command on the switch (if you can open a CLI session)?
  2. are you sure you don't have a specific AAA config that would block it?

@mtache mtache added this to the v1.3.0 milestone Dec 24, 2024
@mtache mtache added the documentation Improvements or additions to documentation label Dec 24, 2024
@mtache
Copy link
Collaborator

mtache commented Dec 24, 2024

As discussed, we could document all the commands used by the tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants