microsoft / omi

Open Management Infrastructure
Other
360 stars 114 forks source link

Wrong version of OMI gets installed OpenSSL1.0 on a OpenSSL 1.1.x VM #731

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi, We have noticed a strange behaviour whenever we try to install OMI on Ubuntu 18.04: sudo apt-get install omi Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-azure-5.4-cloud-tools-5.4.0-1086 linux-azure-5.4-headers-5.4.0-1086 linux-azure-5.4-tools-5.4.0-1086 linux-cloud-tools-5.4.0-1086-azure linux-headers-5.4.0-1086-azure linux-image-5.4.0-1086-azure linux-modules-5.4.0-1086-azure linux-modules-extra-5.4.0-1086-azure linux-tools-5.4.0-1086-azure Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: omi 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 0 B/1885 kB of archives. After this operation, 4932 kB of additional disk space will be used. Selecting previously unselected package omi. (Reading database ... 167677 files and directories currently installed.) Preparing to unpack .../omi_1.6.11.0_amd64.deb ... Expecting SSL version (compatible with): 1.0.0 SSL version found on system: 1.1.1

Incorrect version of OMI for your system, please check SSL version. dpkg: error processing archive /var/cache/apt/archives/omi_1.6.11.0_amd64.deb (--unpack): new omi package pre-installation script subprocess returned error exit status 3 Errors were encountered while processing: /var/cache/apt/archives/omi_1.6.11.0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

When we download the 110 version and install it manually it works just fine . Can you let us know what could be the reason behind it and can this be fixed?

JumpingYang001 commented 1 year ago

@petarivanovmsft Ubuntu 18.04 use openssl 1.1 package in https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/o/omi/, not sure why your environment apt-get download openssl 1.0 pacakge. are your repo using MS Repo? MS Repo: https://learn.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software

JumpingYang001 commented 1 year ago

@petarivanovmsft not repro on our side, and if you repro the issue, feel free to create ticket to Azure portal(for OMS/LAD) or SCOM support(for SCOM).

JumpingYang001 commented 1 year ago

@petarivanovmsft I guess you should used incorrct repo like https://github.com/microsoft/omi/issues/739