I have made up a set with masterless minion on windows and wen running
salt-call command i get the following error:
C:\salt>salt-call --local state.highstate
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already
in ca
che 'salt://top.sls'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\mod
ules'
[INFO ] Syncing modules for environment 'base'
[INFO ] Loading cache from salt://_modules, for base)
[INFO ] Caching directory '_modules/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\sta
tes'
[INFO ] Syncing states for environment 'base'
[INFO ] Loading cache from salt://_states, for base)
[INFO ] Caching directory '_states/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\gra
ins'
[INFO ] Syncing grains for environment 'base'
[INFO ] Loading cache from salt://_grains, for base)
[INFO ] Caching directory '_grains/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\ren
derers'
[INFO ] Syncing renderers for environment 'base'
[INFO ] Loading cache from salt://_renderers, for base)
[INFO ] Caching directory '_renderers/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\ret
urners'
[INFO ] Syncing returners for environment 'base'
[INFO ] Loading cache from salt://_returners, for base)
[INFO ] Caching directory '_returners/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\out
putters'
[INFO ] Syncing outputters for environment 'base'
[INFO ] Loading cache from salt://_outputters, for base)
[INFO ] Caching directory '_outputters/' for environment 'base'
[INFO ] Creating module dir
'c:\\salt\\var\\cache\\salt\\minion\\extmods\\uti
ls'
[INFO ] Syncing utils for environment 'base'
[INFO ] Loading cache from salt://_utils, for base)
[INFO ] Caching directory '_utils/' for environment 'base'
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already
in ca
che 'salt://webserver.sls'
[INFO ] Running state [firefox] at time 02:23:52.430000
[INFO ] Executing state pkg.installed for firefox
[INFO ] Executing command 'Powershell " $msi = New-Object -ComObject
WindowsI
nstaller.Installer; $msi.GetType().InvokeMember(\'ProductsEx\',
\'GetProperty\',
$null, $msi, (\'\', \'s-1-1-0\', 7)) | select @{ name=\'name\';
exp
ression={$_.GetType().InvokeMember(\'InstallProperty\', \'GetProperty\',
$null,
$_, (\'ProductName\'))} }, @{ name=\'version\';
expression={
$_.GetType().InvokeMember(\'InstallProperty\', \'GetProperty\', $null, $_,
(\'Ve
rsionString\'))} } | Write-host "' in directory 'C:\\Users\\John Ari'
[ERROR ] Command " $msi = New-Object -ComObject
WindowsInstaller.Installer; $m
si.GetType().InvokeMember('ProductsEx', 'GetProperty', $null, $msi, ('',
's-1-1-
0', 7)) | select @{ name='name';
expression={$_.GetType().InvokeMemb
er('InstallProperty', 'GetProperty', $null, $_, ('ProductName'))} },
@{
name='version';
expression={$_.GetType().InvokeMember('InstallProper
ty', 'GetProperty', $null, $_, ('VersionString'))} } | Write-host "
failed w
ith return code: 1
[ERROR ] stderr: Exception calling "InvokeMember" with "5" argument(s):
"Produ
ctsEx,Product,User
Sid,Contexts"
At line:1 char:86
+ $msi = New-Object -ComObject WindowsInstaller.Installer;
$msi.GetType().Invo
keMember <<<< ('ProductsEx', 'GetProperty', $null, $msi, ('', 's-1-1-0',
7)) |
select @{ name='name';
expression={$_.GetType().InvokeMember('Insta
llProperty', 'GetProperty', $null, $_, ('ProductName'))} }, @{
na
me='version';
expression={$_.GetType().InvokeMember('InstallProperty', 'G
etProperty', $null, $_, ('VersionString'))} } | Write-host
+ CategoryInfo : NotSpecified: (:) [],
MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodTargetInvocation
[ERROR ] retcode: 1
[INFO ] Executing command ['srv\\salt\\win\\repo\\firefox\\Firefox Setup
Stub
35.0.1.exe', '-ms'] in directory 'C:\\Users\\John Ari'
[ERROR ] An error was encountered while installing package(s): Unable to
run c
ommand ['srv\\salt\\win\\repo\\firefox\\Firefox Setup Stub 35.0.1.exe',
'-ms'] w
ith the context {'with_communicate': True, 'shell': False, 'env': {'TMP':
'C:\\U
sers\\JOHNAR~1\\AppData\\Local\\Temp', 'COMPUTERNAME': 'JOHNARI-PC',
'USERDOMAIN
': 'JohnAri-PC', 'PSMODULEPATH':
'C:\\Windows\\system32\\WindowsPowerShell\\v1.0
\\Modules\\', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common
Files', 'PR
OCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 42 Stepping 7, GenuineIntel',
'PROG
RAMFILES': 'C:\\Program Files (x86)', 'PROCESSOR_REVISION': '2a07',
'SYSTEMROOT'
: 'C:\\Windows', 'PATH':
'C:\\salt\\salt-2014.7.1.win32;C:\\Perl\\site\\bin;C:\\
Perl\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Wind
ows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\
;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program
Files (x8
6)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files
(x86)\\Git\\cmd;C:\\Progr
am Files (x86)\\Git\\bin;C:\\Program Files
(x86)\\Sudowin\\Clients\\Console', 'P
ROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'COMSPEC':
'C:\\Windows\\system32\
\cmd.exe', 'TEMP': 'C:\\Users\\JOHNAR~1\\AppData\\Local\\Temp',
'COMMONPROGRAMFI
LES(X86)': 'C:\\Program Files (x86)\\Common Files',
'PROCESSOR_ARCHITECTURE': 'x
86', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'LOCALAPPDATA': 'C:\\Users\\John
Ari\
\AppData\\Local', 'HOMEPATH': '\\Users\\John Ari', 'PROGRAMW6432':
'C:\\Program
Files', 'USERNAME': 'John Ari', 'LOGONSERVER': '\\\\JOHNARI-PC', 'PROMPT':
'$P$G
', 'WINDOWS_TRACING_FLAGS': '3', 'PROGRAMDATA': 'C:\\ProgramData',
'ESET_OPTIONS
': '
', 'SESSIONNAME': 'Console', 'PATHEXT':
'.COM
;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'FP_NO_HOST_CHECK':
'NO', 'W
INDIR': 'C:\\Windows', 'WINDOWS_TRACING_LOGFILE':
'C:\\BVTBin\\Tests\\installpac
kage\\csilogfile.log', 'HOMEDRIVE': 'C:', 'SYSTEMDRIVE': 'C:',
'NUMBER_OF_PROCES
SORS': '4', 'APPDATA': 'C:\\Users\\John Ari\\AppData\\Roaming',
'PROCESSOR_LEVEL
': '6', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'COMMONPROGRAMW6432':
'C:\\Program Fi
les\\Common Files', 'OS': 'Windows_NT', 'PUBLIC': 'C:\\Users\\Public',
'USERPROF
ILE': 'C:\\Users\\John Ari'}, 'stdout': -1, 'stdin': None, 'stderr': -2,
'cwd':
'C:\\Users\\John Ari'}, reason: [Error 2] The system cannot find the file
specif
ied
[INFO ] Completed state [firefox] at time 02:23:52.975000
[INFO ] Executing command ['attrib', '-R',
'c:\\salt\\var\\cache\\salt\\minio
n\\highstate.p'] in directory 'C:\\Users\\John Ari'
local:
----------
ID: firefox
Function: pkg.installed
Result: False
Comment: An error was encountered while installing package(s): Unable
to ru
n command ['srv\\salt\\win\\repo\\firefox\\Firefox Setup Stub 35.0.1.exe',
'-ms'
] with the context {'with_communicate': True, 'shell': False, 'env':
{'TMP': 'C:
\\Users\\JOHNAR~1\\AppData\\Local\\Temp', 'COMPUTERNAME': 'JOHNARI-PC',
'USERDOM
AIN': 'JohnAri-PC', 'PSMODULEPATH':
'C:\\Windows\\system32\\WindowsPowerShell\\v
1.0\\Modules\\', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common
Files',
'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 42 Stepping 7,
GenuineIntel', 'P
ROGRAMFILES': 'C:\\Program Files (x86)', 'PROCESSOR_REVISION': '2a07',
'SYSTEMRO
OT': 'C:\\Windows', 'PATH':
'C:\\salt\\salt-2014.7.1.win32;C:\\Perl\\site\\bin;C
:\\Perl\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\W
indows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.
0\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program
Files
(x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files
(x86)\\Git\\cmd;C:\\Pr
ogram Files (x86)\\Git\\bin;C:\\Program Files
(x86)\\Sudowin\\Clients\\Console',
'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'COMSPEC':
'C:\\Windows\\system
32\\cmd.exe', 'TEMP': 'C:\\Users\\JOHNAR~1\\AppData\\Local\\Temp',
'COMMONPROGRA
MFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
'PROCESSOR_ARCHITECTURE':
'x86', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'LOCALAPPDATA':
'C:\\Users\\John A
ri\\AppData\\Local', 'HOMEPATH': '\\Users\\John Ari', 'PROGRAMW6432':
'C:\\Progr
am Files', 'USERNAME': 'John Ari', 'LOGONSERVER': '\\\\JOHNARI-PC',
'PROMPT': '$
P$G', 'WINDOWS_TRACING_FLAGS': '3', 'PROGRAMDATA': 'C:\\ProgramData',
'ESET_OPTI
ONS': '
', 'SESSIONNAME': 'Console',
'PATHEXT': '.
COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'FP_NO_HOST_CHECK':
'NO',
'WINDIR': 'C:\\Windows', 'WINDOWS_TRACING_LOGFILE':
'C:\\BVTBin\\Tests\\install
package\\csilogfile.log', 'HOMEDRIVE': 'C:', 'SYSTEMDRIVE': 'C:',
'NUMBER_OF_PRO
CESSORS': '4', 'APPDATA': 'C:\\Users\\John Ari\\AppData\\Roaming',
'PROCESSOR_LE
VEL': '6', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'COMMONPROGRAMW6432':
'C:\\Program
Files\\Common Files', 'OS': 'Windows_NT', 'PUBLIC': 'C:\\Users\\Public',
'USERP
ROFILE': 'C:\\Users\\John Ari'}, 'stdout': -1, 'stdin': None, 'stderr': -2,
'cwd
': 'C:\\Users\\John Ari'}, reason: [Error 2] The system cannot find the
file spe
cified
Started: 02:23:52.430000
Duration: 545.0 ms
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Can anyone help me figure out what the issue is?? please
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.