WIP - Allow OpenShift to start in roles master and node

No, because Docker may not be started yet, and because it should be possible to test and run everything without Docker like in travis.


> On Oct 13, 2014, at 4:33 AM, Maciej Szulik <notifications@github.com> wrote:
> 
> In pkg/cmd/master/kubernetes/node.go:
> 
> > +type NodeConfig struct {
> > +	BindHost   string
> > +	NodeHost   string
> > +	MasterHost string
> > +	VolumeDir  string
> > +
> > +	NetworkContainerImage string
> > +
> > +	EtcdClient   *etcd.Client
> > +	DockerClient *docker.Client
> > +}
> > +
> > +func (c *NodeConfig) EnsureDocker(docker *dockerutil.Helper) {
> > +	dockerClient, dockerAddr := docker.GetClientOrExit()
> > +	if err := dockerClient.Ping(); err != nil {
> > +		glog.Errorf("WARNING: Docker could not be reached at %s.  Docker must be installed and running to start containers.\n%v", dockerAddr, err)
> Wouldn't we want to fail here if no docker, or notify the master somehow, as I see this is called in node starting part.
> 
> —
> Reply to this email directly or view it on GitHub.