Manual provisioning - feedback wanted
andreas at canonical.com
Tue Sep 10 09:56:29 UTC 2013
On Tue, Sep 10, 2013 at 10:17 AM, Andrew Wilkins <
andrew.wilkins at canonical.com> wrote:
> On Tue, Sep 10, 2013 at 4:18 PM, Andreas Hasenack <andreas at canonical.com>wrote:
>> The 10.0.3.53 "machine" is a new container I brought up manually with
>> lxc-create and lxc-start. lxc-list above shows all containers, and it was
>> the only one running.
>> Right now I have this output for that ls command:
>> # ls /etc/init/juju*
> As discussed on IRC: the command will be run in the target (the
> container), not the local host.
>> juju lxc is bootstrapped, but no units are running, and lxc-list shows
>> my both containers stopped.
> I'm creating a new container on my laptop now, using your configuration.
> I'll let you know what I find.
It's because of this ssh warning:
$ ssh 10.0.3.230 "ls /etc/init/ | grep juju.*\\.conf || exit 0"
Warning: Permanently added '10.0.3.230' (ECDSA) to the list of known hosts.
The code grabs both stderr and stdout and checks for len > 0:
out, err := cmd.CombinedOutput()
return len(strings.TrimSpace(string(out))) > 0, nil
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Juju