fabric8io / fabric8-installer

To install fabric8 into a Kubernetes, OpenShift or Atomic environment
12 stars 37 forks source link

Openshift/Vagrant - Saying installing templates from X but installing from Y #97

Closed davsclaus closed 8 years ago

davsclaus commented 8 years ago

Noticed this little difference

==> default: Downloading templates for version 2.2.211

But the installed version are 2.2.2.13

The other packages further below seems okay and report the same version being downloaded and installed.

==> default: fabric8 console...............................................................✔
==> default: Downloading templates for version 2.2.211
==> default: Created fabric8 console
==> default: Installing templates!
==> default: Loading template main/metrics-2.2.213.json
==> default: Loading template microservices/gitlab-2.2.213.json
==> default: Loading template microservices/letschat-2.2.213.json
==> default: Loading template main/chat-irc-2.2.213.json
==> default: Loading template microservices/ingress-nginx-2.2.213.json
==> default: Loading template microservices/manageiq-2.2.213.json
==> default: Loading template main/cd-pipeline-2.2.211.json
==> default: Loading template microservices/fabric8-docker-registry-2.2.213.json
==> default: Loading template microservices/chaos-monkey-2.2.213.json
==> default: Loading template microservices/nexus-2.2.213.json
==> default: Loading template main/chat-letschat-2.2.213.json
==> default: Loading template microservices/gerrit-2.2.213.json
==> default: Loading template microservices/maven-shell-2.2.213.json
==> default: Loading template main/chat-slack-2.2.213.json
==> default: Loading template microservices/jenkins-2.2.213.json
==> default: Loading template main/social-2.2.213.json
==> default: Loading template microservices/git-collector-2.2.213.json
==> default: Loading template microservices/kiwiirc-2.2.213.json
==> default: Loading template microservices/content-repository-2.2.213.json
==> default: Loading template microservices/fabric8-forge-2.2.211.json
==> default: Loading template main/logging-2.2.213.json
==> default: Loading template microservices/artifactory-2.2.213.json
==> default: Loading template main/management-2.2.213.json
==> default: Loading template microservices/gogs-2.2.213.json
==> default: Install DevOps templates......................................................✔
==> default: Downloading templates for version 2.2.143
==> default: Loading template microservices/zookeeper-2.2.143.json
==> default: Loading template microservices/message-gateway-2.2.143.json
==> default: Loading template main/messaging-2.2.143.json
==> default: Loading template main/apiman-2.2.143.json
==> default: Loading template microservices/example-message-producer-2.2.143.json
==> default: Loading template microservices/kafka-2.2.143.json
==> default: Loading template microservices/example-message-consumer-2.2.143.json
==> default: Loading template microservices/message-broker-2.2.143.json
==> default: Install iPaaS templates.......................................................✔
==> default: Downloading templates for version 1.0.17
==> default: Loading template main/kubeflix-1.0.17.json
==> default: Loading template microservices/turbine-server-1.0.17.json
==> default: Loading template microservices/hystrix-dashboard-1.0.17.json
==> default: Install Kubeflix templates....................................................✔
==> default: Downloading templates for version 0.0.8
==> default: Loading template main/zipkin-0.0.8.json
==> default: Install Zipkin templates......................................................✔
==> default: runFlag: cd-pipeline
jstrachan commented 8 years ago

I think its mostly just confusing logging TBH; in the old days we had 1 version for everything. That log statement is showing the version used just for the forge release; but not for devops/console/ipaas/kubeflix et al.

Will fix the log statement a bit better...

jstrachan commented 8 years ago

btw notice there are many lines that say Downloading templates for - just fixing that comment to show the URL that each download happens from so its a bit more obvious

jstrachan commented 8 years ago

Here's the new output I'm about to commit

Installing templates!
Downloading apps from: https://repo1.maven.org/maven2/io/fabric8/forge/distro/distro/2.2.211/distro-2.2.211-templates.zip
Loading template main/metrics-2.2.213.json
Loading template microservices/gitlab-2.2.213.json
Loading template microservices/letschat-2.2.213.json
Loading template main/chat-irc-2.2.213.json
Loading template microservices/ingress-nginx-2.2.213.json
Loading template microservices/manageiq-2.2.213.json
Loading template main/cd-pipeline-2.2.211.json
Loading template microservices/fabric8-docker-registry-2.2.213.json
Loading template microservices/chaos-monkey-2.2.213.json
Loading template microservices/nexus-2.2.213.json
Loading template main/chat-letschat-2.2.213.json
Loading template microservices/gerrit-2.2.213.json
Loading template microservices/maven-shell-2.2.213.json
Loading template main/chat-slack-2.2.213.json
Loading template microservices/jenkins-2.2.213.json
Loading template main/social-2.2.213.json
Loading template microservices/git-collector-2.2.213.json
Loading template microservices/kiwiirc-2.2.213.json
Loading template microservices/content-repository-2.2.213.json
Loading template microservices/fabric8-forge-2.2.211.json
Loading template main/logging-2.2.213.json
Loading template microservices/artifactory-2.2.213.json
Loading template main/management-2.2.213.json
Loading template microservices/gogs-2.2.213.json
Install DevOps templates......................................................✔
Downloading apps from: https://repo1.maven.org/maven2/io/fabric8/ipaas/distro/distro/2.2.143/distro-2.2.143-templates.zip
Loading template microservices/zookeeper-2.2.143.json
Loading template microservices/message-gateway-2.2.143.json
Loading template main/messaging-2.2.143.json
Loading template main/apiman-2.2.143.json
Loading template microservices/example-message-producer-2.2.143.json
Loading template microservices/kafka-2.2.143.json
Loading template microservices/example-message-consumer-2.2.143.json
Loading template microservices/message-broker-2.2.143.json
Install iPaaS templates.......................................................✔
Downloading apps from: https://repo1.maven.org/maven2/io/fabric8/kubeflix/distro/distro/1.0.17/distro-1.0.17-templates.zip
Loading template main/kubeflix-1.0.17.json
Loading template microservices/turbine-server-1.0.17.json
Loading template microservices/hystrix-dashboard-1.0.17.json
Install Kubeflix templates....................................................✔
Downloading apps from: https://repo1.maven.org/maven2/io/fabric8/zipkin/packages/distro/0.0.8/distro-0.0.8-templates.zip
Loading template main/zipkin-0.0.8.json
Install Zipkin templates......................................................✔
davsclaus commented 8 years ago

Ah thanks.

So in the first downloads it says version 2.2.211, and then most of the templates are 2.2.213, except for cd-pipeline which is 2.2.211.

jstrachan commented 8 years ago

yeah - the forge apps contain various microservices from devops which have a different version number - to add to the confusion ;)

davsclaus commented 8 years ago

Thanks, we could maybe mention this in the output somewhere, so users knows this can be expected.

(some templates may install different versions than others)