On Apr 5, 2012 3:06 PM, "twalker" <twa...@heartflow.com> wrote:
>
> Is the visual studio express actually needed for a minion install on a Windows machine?
>
> It seems that an IDE would have any added components that would allow it to function
You can definitely uninstall visual studio after the install.
I'm working on an easier way to do the install. I've been out of town for a couple weeks and will be finishing it soon
Dave Boucha
On Apr 9, 2012 9:50 AM, "twalker" <twa...@heartflow.com> wrote:
>
> Yeah,
>
> I will check it out
>
> I can't really think of any suggestions except streamlining the
> install process.
>
> Perhaps add some "windowsy" stuff like Win32 / WMI stuff (I have
> 'some' python methods for this stuff, since we run a windows inventory
> on some of our workstations here, which is why I started down this
> path)
>
> Perhaps, a native Win32 service for the salt minion, but I am not sure
> how that even works in the windows/python realm.
>
Win32 service already works.
python c:\python27\Scripts\salt-minion -d
Note the "-d".
That will install and start the salt-minion service
I'm hoping to have an easier windows released later this week
Great! Thanks for testing that.
>
> When I did the salt-minion -d I was unable to get any response from
> the salt master (i.e. grains.items)
>
> However, when I did the salt-minion command without the -d, I was able
> to get a response from the master (grains.items)
>
> When trying to start the Salt Minion service on my Win7(x64) machine,
> I get a "Windows could not start the service on the Local Computer"
>
> The Application Event Log provided the following event/event detail
> - <EventData>
> <Data>Traceback (most recent call last): File "C:\Python27\lib\site-
> packages\salt\utils\saltminionservice.py", line 6, in <module> import
> salt File "C:\Python27\lib\site-packages\salt\__init__.py", line 14,
> in <module> import salt.config File "C:\Python27\lib\site-packages\salt
> \config.py", line 14, in <module> import yaml File "C:\Python27\lib
> \site-packages\salt\utils\yaml.py", line 6, in <module> from
> yaml.nodes import MappingNode ImportError: No module named nodes</
> Data>
> </EventData>
Hmm. Thanks for that traceback. I can confirm that it's not creating
the service
on Windows7 64 bit for me either. I think your traceback will be helpful.
Tom, any ideas there?
import yaml.nodes works fine.
it's a path issue again, of course.
I'm still digging. I'm not sure why this is working fine in WinXP
I've got an idea of what this is. Hop on IRC and I'll troubleshoot
with you for a few.
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
The msgpack installer worked great
When I did the salt-minion -d I was unable to get any response from
the salt master (i.e. grains.items)
However, when I did the salt-minion command without the -d, I was able
to get a response from the master (grains.items)
When trying to start the Salt Minion service on my Win7(x64) machine,
I get a "Windows could not start the service on the Local Computer"
The Application Event Log provided the following event/event detail
- <EventData>
<Data>Traceback (most recent call last): File "C:\Python27\lib\site-
packages\salt\utils\saltminionservice.py", line 6, in <module> import
salt File "C:\Python27\lib\site-packages\salt\__init__.py", line 14,
in <module> import salt.config File "C:\Python27\lib\site-packages\salt
\config.py", line 14, in <module> import yaml File "C:\Python27\lib
\site-packages\salt\utils\yaml.py", line 6, in <module> from
yaml.nodes import MappingNode ImportError: No module named nodes</
Data>
</EventData>
"The Salt Minion service terminated with service-specific error Incorrect function.."