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

set fabric8.openshift.trimImageInContainerSpec to true by default? #23

Closed
Ladicek opened this issue Mar 7, 2018 · 13 comments
Closed

set fabric8.openshift.trimImageInContainerSpec to true by default? #23

Ladicek opened this issue Mar 7, 2018 · 13 comments
Milestone

Comments

@Ladicek
Copy link
Contributor

Ladicek commented Mar 7, 2018

With the upgrade of Fabric8 Maven plugin to version 3.5.35, should we maybe set fabric8.openshift.trimImageInContainerSpec to true by default in the parent POM? It works around the OpenShift 3.7 app redeploy problem, per fabric8io/fabric8-maven-plugin#1130 (comment).

This would allow boosters to run on OpenShift 3.7 without changes.

(Yes, I understand someone thought it's enough to update to FPM 3.5.35. My current understanding is that it's not; you need to add that system property too.)

CC @metacosm @geoand @cescoffier

@cescoffier
Copy link
Collaborator

What is not clear to me is the effect of this parameter on OpenShift 3.6. Do you have an idea?

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 7, 2018

Good point. I'll check.

@cescoffier
Copy link
Collaborator

what's also unclear is that redeploy is working for me without the property... is it due to the image size?

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 7, 2018

If I tried with Minishift, and without the property, I didn't experience image pull errors, but the deployment got cancelled, second deployment was started and only that succeeded. With the property, it works on the first try.

@metacosm
Copy link

metacosm commented Mar 7, 2018

Which versions of OpenShift are we supposed to support, anyway? :)
Online is on 3.7 so shouldn't that be our cut-off version?

@cescoffier
Copy link
Collaborator

I believe we still need to support 3.6.

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 7, 2018

Using the property seems to work fine with OpenShift 3.6 (tried with Minishift), but just to be sure, I also asked here: fabric8io/fabric8-maven-plugin#1130 (comment)

@metacosm
Copy link

metacosm commented Mar 7, 2018

Looks like it's confirmed that it works fine on OpenShift 3.6 so should we update booster-parent?

@cescoffier
Copy link
Collaborator

👍

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 7, 2018

Nice! If we're in the mood, could you please take a look at #22 too? :-)

@cescoffier
Copy link
Collaborator

@Ladicek just because it's you ;-)

@cescoffier cescoffier added this to the 18 milestone Mar 8, 2018
@metacosm
Copy link

metacosm commented Jul 2, 2018

It looks that this property is not needed anymore, either.

@Ladicek
Copy link
Contributor Author

Ladicek commented Jul 2, 2018

It does work around an issue in OpenShift Origin 3.7.0 / 3.7.1 and some OCP 3.7.x versions. The issue was fixed in Origin 3.7.2 (didn't check, but I believe their release notes :-) ) and in some OCP 3.7.x. I think we should figure out what the OCP 3.7.x fix version is and keep a note in RN for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants