Commit 58136e2b authored by Xavier Thompson's avatar Xavier Thompson

slap/standalone: Add comment about slapos binary

Standalone uses the path of a slapos binary passed as a parameter to
run slapos commands with supervisord or as subprocesses, instead of
recreating an entry point script into the slapos version currently
running standalone. Normally the slapos binary provided is actually
the same slapos. One reason to do it this way is that in test nodes,
standalone is run with pygolang's gpython which doesn't support
running buildout (buildout tries to reexec with -S).
parent 5e14ee6d
...@@ -443,6 +443,10 @@ class StandaloneSlapOS(object): ...@@ -443,6 +443,10 @@ class StandaloneSlapOS(object):
self._ipv6_range_prefixlen = None self._ipv6_range_prefixlen = None
self._partitions_have_ipv6_range = False self._partitions_have_ipv6_range = False
# NOTE: Using Standalone's own slapos (slapos.cli.entry) instead
# is not that easy because in test nodes standalone is often run
# with gpython (pygolang), and gpython currently doesn't support
# buildout
self._slapos_bin = slapos_bin self._slapos_bin = slapos_bin
self._slapos_commands = { self._slapos_commands = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment