salt icon indicating copy to clipboard operation
salt copied to clipboard

MSI package fails to install with 0.17.4, extra "None" is inserted into the command

Open m87carlson opened this issue 12 years ago • 8 comments

From the salt-users posting:

It seems that 0.17.4 adds "None" to the end of the msiexec command:

From a 0.17.4 minion:

Executing command 'msiexec /i "c:\\salt\\var\\cache\\salt\\minion\\extrn_files\\base\\fileserver.discdrive.bayphoto.com\\installs\\GPOInstalls\\Libreoffice\\LibreOffice_4.1.2_Win_x86.msi"  /qn /norestart /l c:\\libreoffice_install.log None' in directory 'C:\\Windows\\system32\\config\\systemprofile'

So msiexec just hangs out in the background.

On a 0.17.2 system, it works as expected:

Executing command 'msiexec /i "c:\\salt\\var\\cache\\salt\\minion\\extrn_files\\base\\fileserver.discdrive.bayphoto.com\\installs\\GPOInstalls\\Libreoffice\\LibreOffice_4.1.2_Win_x86.msi"  /qn /norestart /l c:\\libreoffice_install.log' in directory 'C:\\Windows\\system32\\config\\systemprofile'

I don't know where that None is coming from, but here is our win repo sls for libreoffice:

libreoffice:
  4.1.2.3:
    installer: 'http://fileserver.discdrive.bayphoto.com/installs/GPOInstalls/Libreoffice/LibreOffice_4.1.2_Win_x86.msi'
    full_name: 'LibreOffice 4.1.2.3'
    install_flags: ' /qn /norestart /l c:\libreoffice_install.log'
    msiexec: True
    uninstaller: 'http://fileserver.discdrive.bayphoto.com/installs/GPOInstalls/Libreoffice/LibreOffice_4.1.2_Win_x86.msi'
    uninstall_flags: ' /qn /l c:\libreoffice_uninstall.log'

m87carlson avatar Jan 10 '14 23:01 m87carlson

@UtahDave I see this was assigned to you, just wanted to make sure you saw this.

terminalmage avatar Jan 11 '14 23:01 terminalmage

I did see it. Thanks, @terminalmage! I started tracking it down just before the end of the day on Friday. I made some decent progress. I think I found where this bug was introduced. Still need to pick apart the commit and fix it.

UtahDave avatar Jan 12 '14 06:01 UtahDave

I'm having the same issue. This problem also seems to be in v0.17.4-3

t-v avatar Jan 17 '14 14:01 t-v

@UtahDave - please note that this issues practically makes Salt (latest) not usable for Windows as not only it fails to install stuff - but the minion is stuck forever (due to interactive MSI error window)

Thanks

froyke avatar Jan 28 '14 05:01 froyke

update: This issue remains in Salt-Minion-0.17.4-6

t-v avatar Jan 31 '14 09:01 t-v

update: still remains in Salt-Minion-0.17.5 x64

belawaeckerlig avatar Feb 17 '14 07:02 belawaeckerlig

update: in Salt-Minion-0.17.5-2-AMD64 it is fixed.

belawaeckerlig avatar Feb 18 '14 10:02 belawaeckerlig

Thanks, @todesregen !

UtahDave avatar Feb 18 '14 16:02 UtahDave