On Mon, Jul 2, 2018 at 2:02 AM, Burr Sutter <[email protected]> wrote:
> I am trying to figure out the trick to help my minishift work better offline
> - as in jumping from conference room to conference room, building to airport
> to building jumping on different networks, plus with image caching.
>
> I have either Istio (bit.ly/istio-tutorial) or OpenWhisk
> (bit.ly/faas-tutorial) which are painful to "reload" if minishift gets wonky
> about the changing of networks (especially over slow conference networks)
>
> So, I have added
> minishift ip --set-static
> perhaps that will help but I am not sure how to test the theory.

To test this out once you set the static IP you can try to stop the
minishift and then change the network, finally start the minishfit
again which should have same IP instead getting another one.

>
> Also, in the event that the ip address does change and the VM need
> recreation (create steps seen in the two tutorial docs), I need to figure
> out how to "export" my images and then re-import.
>
> minishift image cache-config add
> docker.io/fabric8/java-jboss-openjdk8-jdk:1.3.1
> minishift image cache-config add docker.io/istio/citadel:0.8.0
> minishift image cache-config add docker.io/istio/grafana:0.8.0
> minishift image cache-config add docker.io/istio/mixer:0.8.0
> minishift image cache-config add docker.io/istio/pilot:0.8.0
> minishift image cache-config add docker.io/istio/proxy_init:0.8.0
> minishift image cache-config add docker.io/istio/proxyv2:0.8.0
> minishift image cache-config add docker.io/istio/servicegraph:0.8.0
> minishift image cache-config add docker.io/istio/sidecar_injector:0.8.0
> minishift image cache-config add docker.io/jaegertracing/all-in-one:1.5
> minishift image cache-config add docker.io/jaegertracing/all-in-one:latest
> minishift image cache-config add docker.io/openshift/origin-deployer:v3.9.0
> minishift image cache-config add
> docker.io/openshift/origin-docker-registry:v3.9.0
> minishift image cache-config add
> docker.io/openshift/origin-haproxy-router:v3.9.0
> minishift image cache-config add docker.io/openshift/origin-pod:v3.9.0
> minishift image cache-config add
> docker.io/openshift/origin-web-console:v3.9.0
> minishift image cache-config add docker.io/openshift/origin:v3.9.0
> minishift image cache-config add docker.io/prom/prometheus:latest
> minishift image cache-config add docker.io/prom/statsd-exporter:latest
> minishift image cache-config add example/customer:latest
> minishift image cache-config add example/preference:v1
> minishift image cache-config add example/recommendation:v1
> minishift image cache-config add example/recommendation:v2
>
> minishift image cache-config view
> this looks pretty good
>
> BUT export --all fails

As per logs, looks like you have an updated image tag and when it
happen docker put <none>:<none> to older image tag which can't be
parsed by minishift hence this error.

Workaround: manually remove that <none>:<none> image hash and then do
export --all

```
$ eval $(minishift docker-env)
$ docker images | grep none
$ docker rmi <image_tag_which_are_none>
$ minishift import export --all
```

> minishift image export --all
> [<none>:<none> docker.io/fabric8/java-jboss-openjdk8-jdk:1.3.1
> docker.io/istio/citadel:0.8.0 docker.io/istio/grafana:0.8.0
> docker.io/istio/mixer:0.8.0 docker.io/istio/pilot:0.8.0
> docker.io/istio/proxy_init:0.8.0 docker.io/istio/proxyv2:0.8.0
> docker.io/istio/servicegraph:0.8.0 docker.io/istio/sidecar_injector:0.8.0
> docker.io/jaegertracing/all-in-one:1.5
> docker.io/jaegertracing/all-in-one:latest
> docker.io/openshift/origin-deployer:v3.9.0
> docker.io/openshift/origin-docker-registry:v3.9.0
> docker.io/openshift/origin-haproxy-router:v3.9.0
> docker.io/openshift/origin-pod:v3.9.0
> docker.io/openshift/origin-web-console:v3.9.0
> docker.io/openshift/origin:v3.9.0 docker.io/prom/prometheus:latest
> docker.io/prom/statsd-exporter:latest example/customer:latest
> example/preference:v1 example/recommendation:v1 example/recommendation:v2
> quay.io/coreos/hyperkube:v1.7.6_coreos.0] contains an invalid image names:
> Error parsing image name '<none>:<none>': invalid reference format
>
>
> minishift version
> minishift v1.20.0+53c500a
>
>
>
> _______________________________________________
> Devtools mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/devtools
>



-- 
Praveen Kumar
https://fedoraproject.org/wiki/User:Kumarpraveen

_______________________________________________
Devtools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/devtools

Reply via email to