Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odo push fails on 3.11 cluster having docker version (18.06.0-ce) running on travis xenial distro #3055

Closed
prietyc123 opened this issue Apr 30, 2020 · 4 comments · Fixed by #3109
Assignees
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug.

Comments

@prietyc123
Copy link
Contributor

prietyc123 commented Apr 30, 2020

/kind bug

What versions of software are you using?

Operating System:
All supported

Output of odo version:
master

How did you run odo exactly?

Running tests jobs on travis CI

Actual behavior

Hitting error https://travis-ci.com/github/openshift/odo/jobs/324857465#L582 and some more different errors in the test running on openshift 3.11 with xenial distro of travis CI.

I am suspecting oc cluster up is having compatibility issue with the default docker available on xenial distro causing error like i mentioned above.

Expected behavior

Tests associated with openshift should also run on xenial distro of travis CI.

Any logs, error output, etc?

more details of errors : https://github.com/openshift/odo/pull/2913/checks?check_run_id=632261884

@prietyc123
Copy link
Contributor Author

prietyc123 commented Apr 30, 2020

Xenial distro of travis CI is required to run latest kubernetes cluster. On the other hand we can use older version of minikube but odo push throws error in version of minikube, which has been elaborated in issue : #2928 .

However there are some other consequences also of using older version of minikube like lag of latest feature implementation and I am suspecting this could be one of the reason that odo push is not working as expected on older version of minikube. IMO we should move towards latest version minikube and hence xenial distro of travis CI could be one of the solution.

Currently we are running our test on travis CI with trusty distro, ubuntu version 14.04. And running the latest minikube needs systemd which was added in ubuntu 16.04, therefore we need to bump the ubuntu version to 16.04+ using xenial distro of travis CI.

So, i think we need to think for docker version on xenial distro of travis CI. The default docker version available in Xenial has incompatibility issue with 3.11 cluster i guess. Also i will try same app deployment using oc just to confirm the incompatibility issue.

Default docker version on Xenial distro

Client:
 Version:           18.06.0-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        0ffa825
 Built:             Wed Jul 18 19:11:02 2018
 OS/Arch:           linux/amd64
 Experimental:      false
Server:
 Engine:
  Version:          18.06.0-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       0ffa825
  Built:            Wed Jul 18 19:09:05 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Will check with other docker version on Xenial distro. If it works then will stick to that version.

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 30, 2020
@prietyc123 prietyc123 changed the title docker compatibility issue with xenial travis distribution docker compatibility issue with xenial travis distro Apr 30, 2020
@amitkrout amitkrout changed the title docker compatibility issue with xenial travis distro Default docker version (18.06.0-ce) available on travis xenial distro has compatibility issue with 3.11 cluster May 2, 2020
@dharmit dharmit added the area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering label May 4, 2020
@kadel
Copy link
Member

kadel commented May 4, 2020

@prietyc123 you might need to configure docker daemon to allow unsecured registry on 172.30.1.1:5000

@prietyc123 prietyc123 changed the title Default docker version (18.06.0-ce) available on travis xenial distro has compatibility issue with 3.11 cluster Odo push fails on 3.11 cluster having docker version (18.06.0-ce) running on travis xenial distro May 5, 2020
@prietyc123
Copy link
Contributor Author

@prietyc123 you might need to configure docker daemon to allow unsecured registry on 172.30.1.1:5000

Ahh... Thanks for the tips. I will try it out for sure 👍

@prietyc123
Copy link
Contributor Author

In ubuntu xenial configuring docker daemon /etc/docker/daemon.json with insecure registry "insecure-registries": ["172.30.0.0\/16"] worked fine for oc cluster up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants