cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
408 stars 149 forks source link

Cloudbase Init 1.1.4 does not install on Windows 7 or Server 2008 R2 #138

Closed gr4ytech closed 1 month ago

gr4ytech commented 1 month ago

I recently tried to install Cloudbase Init on Windows 7 and Server 2008 R2 for our cyber range and got the error below:

api-ms-win-core-path-l1-1-0.dll is missing from your computer

This seems to be based on an error where Cloudbase Init tries to install or use Python 3.9 which is not supported by Windows 7/Server 2008. It looks like Python 3.8 should be supported and is by the cloudbase-init python package.

What would be the appropriate course of action for Cloudbase Init to properly install on these OS platforms?

ader1990 commented 1 month ago

Hello,

Firstly, Windows 7/Windows Server 2008 R2 are no longer supported by Microsoft or Python community. I think you might be able to use an older version of the installer if you have all the latest updates installed on Win7/2008 R2.

1.1.4 installer uses Python 3.10 and latest installer uses Python 3.11 https://github.com/cloudbase/cloudbase-init-installer. You can check the https://github.com/cloudbase/cloudbase-init/releases page and try with an older version of the installers.

Python 3.8 is no longer maintained, but the installer can be changed if it is needed. Please let us know if there is a need for it.

Thank you, Adrian Vladu

gr4ytech commented 1 month ago

Hi Adrian,

Yes, I understand that Windows 7/ Server 2008 is not supported by Microsoft. The goal of our cyber range is to get people exposure to legacy operating systems that are still found in industry and how to defend against such attacks.

I've confirmed that version 1.1.2 and below work properly with 2008/Windows 7 images. So I'll close this issue. Thanks!