salt-winrepo-ng icon indicating copy to clipboard operation
salt-winrepo-ng copied to clipboard

Python 2.7 install fails with following error: retcode: 3010

Open rterbush opened this issue 8 years ago • 2 comments

Not sure if this is an issue with the package definition, or my target minion.

2015-11-13 17:44:24,159 [salt.loaded.int.module.cmdmod][ERROR   ][1836] Command ['msiexec', '/i', 'c:\\salt\\var\\cache
\\salt\\minion\\extrn_files\\base\\www.python.org\\ftp\\python\\2.7.10\\python-2.7.10.amd64.msi', '/qn', 'ALLUSERS=1','/norestart', 'ALLUSERS="1"'] failed with return code: 3010
2015-11-13 17:44:24,160 [salt.loaded.int.module.cmdmod][ERROR   ][1836] retcode: 3010
2015-11-13 17:45:44,240 [salt.state       ][ERROR   ][1836] {'_comment': 'Registry not updated.', 'python2_x64': {'new': '2.7.10150', 'old': ''}}

rterbush avatar Nov 13 '15 17:11 rterbush

@rterbush not sure. MS say that error 3010 is:

ERROR_SUCCESS_REBOOT_REQUIRED   3010    A restart is required to complete the install. This message is indicative of a success. This does not include installs where the ForceReboot action is run.

Do you know if the box is OK and had the software installed on it, but just needs a reboot now?

What message do you get if you try installing it again using salt after a reboot of the machine in question?

TheBigBear avatar Nov 13 '15 19:11 TheBigBear

The issue is that with failhard: true, this stops the provisioning process for what I would not expect to be considered an ERROR. Warning, yes, but not an error. Again, not sure whose camp this falls in, but raising it here first.

Trying to reboot this one time after packages are installed that require a reboot.

rterbush avatar Nov 13 '15 20:11 rterbush