Debugging

pull/6863/head
Priya Wadhwa 2020-02-20 15:05:07 -08:00
parent 5ac8520ab8
commit 55dd40efc5
4 changed files with 3 additions and 11 deletions

View File

@ -101,8 +101,6 @@ func CreateContainerNode(p CreateParams) error {
if p.OCIBinary == Docker {
volumeName := p.PreloadedVolume
if volumeName == "" {
fmt.Println("volume name was empty!!")
os.Exit(1)
if err := createDockerVolume(p.Name); err != nil {
return errors.Wrapf(err, "creating volume for %s container", p.Name)
}

View File

@ -28,9 +28,8 @@ const (
Version = "v0.0.5"
// BaseImage is the base image is used to spin up kic containers. it uses same base-image as kind.
BaseImage = "gcr.io/k8s-minikube/kicbase:v0.0.5-snapshot"
// OverlayImage is the cni plugin used for overlay image, created by kind.
// CNI plugin image used for kic drivers created by kind.
BaseImage = "gcr.io/k8s-minikube/kicbase:v0.0.5@sha256:3ddd8461dfb5c3e452ccc44d87750b87a574ec23fc425da67dccc1f0c57d428a" // CNI plugin image used for kic drivers created by kind.
OverlayImage = "kindest/kindnetd:0.5.3"
)

View File

@ -62,11 +62,6 @@ func CacheImagesForBootstrapper(imageRepository string, version string, clusterB
// LoadImages loads previously cached images into the container runtime
func LoadImages(cc *config.MachineConfig, runner command.Runner, images []string, cacheDir string) error {
glog.Info("skipping load images")
if true {
return nil
}
glog.Infof("LoadImages start: %s", images)
start := time.Now()

View File

@ -105,7 +105,7 @@ func waitDownloadKicArtifacts(g *errgroup.Group) {
if err := g.Wait(); err != nil {
glog.Errorln("Error downloading kic artifacts: ", err)
}
glog.Info("Succesfully downloaded all kic artifacts")
glog.Info("Successfully downloaded all kic artifacts")
}
// waitCacheRequiredImages blocks until the required images are all cached.