Skip to content

ARM support VDSM changes#436

Open
shubhaOracle wants to merge 12 commits intooVirt:masterfrom
shubhaOracle:arm-vdsm-changes
Open

ARM support VDSM changes#436
shubhaOracle wants to merge 12 commits intooVirt:masterfrom
shubhaOracle:arm-vdsm-changes

Conversation

@shubhaOracle
Copy link
Contributor

@shubhaOracle shubhaOracle commented Sep 18, 2025

Title: Add ARM support

Added virt validation and flag so that CPU model can be identified

Associated engine side changes are added to PR oVirt/ovirt-engine#1063

Signed-off-by: ShubhaOracle Shubha.kulkarni@oracle.com

Are you owner: yes

peter-boden and others added 6 commits August 22, 2025 13:11
El10 uses python 3.12. This python version removed alot of
api's that had been deprecated since a while.

- Add pyasyncore fallback for removed asyncore module
- Replace deprecated distutils.spawn with shutil.which
- Update SSL socket creation to use modern context API
- Replace deprecated configparser.SafeConfigParser
- Replace deprecated readfp() with read_file()
- Add pyasyncore dependency for EL10 builds

Signed-off-by: Peter Boden <peter.boden@team.blue>
Replace nose testing framework with pytest:

- Replace nose specific env vars (`NOSE_*`)
- Replace nose specific functions (assertions, skip tests,...)
- Remove customizations that are no longer needed for pytest (logformat,verbosity...)
- Remove VdsmTestResult & VdsmTestRunner because pytest already
  provides this or similar functionality out of the box.
- Convert nose plugins to pytest plugins.
- Don't run gluster test suite when gluster is enabled

Signed-off-by: Peter Boden <peter.boden@team.blue>
- Upgrade pylint to >=3.2.0,<4.0.0 and remove deprecated config options
- Replace deprecated ssl.wrap_socket with ssl.SSLContext for Python 3.12
- Fix variable scoping issues (E0601/E0606): initialize variables before
  conditional blocks in merge.py, resourceManager.py, vm.py, hsm.py,
  and gluster/api.py
- Fix attribute access before definition (E0203) in asyncevent.py and
  betterAsyncore.py
- Resolve import conflicts, a false positivie and flake8 style violations in vmdevices/storage.py
- Add default case for unknown bonding modes in bond_speed.py

Signed-off-by: Peter Boden <peter.boden@team.blue>
Upgrade flake8 because the old version was incompatible with newer python versions.

Signed-off-by: Peter Boden <peter.boden@team.blue>
- Add a small sleep to make sure changes have propagated
- Add automatic retry if network ip assert fails

Signed-off-by: Peter Boden <peter.boden@team.blue>
Signed-off-by: ShubhaOracle <Shubha.kulkarni@oracle.com>
@dupondje
Copy link
Member

@shubhaOracle : can you rebase?

@shubhaOracle
Copy link
Contributor Author

@dupondje Requesting review.

Copy link
Member

@dupondje dupondje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some work. Also make sure it's tested and checkstyle is ok.
And rebase, no merge into the PR

sys_info[key]=value

except:
print("ERROR")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs more info

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


out = exec_validate_cmd(VIRT_HOST_VALIDATE_CMD)

if (not 'fail' in out.lower()) :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just check exit code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to verify that there are no failures are reported in the output

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly what the exit code does?
Upon successful validation, an exit status of 0 will be set. Upon failure a non-zero status will be set.

Signed-off-by: ShubhaOracle <Shubha.kulkarni@oracle.com>
Signed-off-by: ShubhaOracle <Shubha.kulkarni@oracle.com>
Signed-off-by: ShubhaOracle <Shubha.kulkarni@oracle.com>
Signed-off-by: ShubhaOracle <Shubha.kulkarni@oracle.com>
@shubhaOracle shubhaOracle requested a review from dupondje January 29, 2026 03:09
@dupondje
Copy link
Member

dupondje commented Feb 3, 2026

Please also rebase and squash the commits

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.

3 participants