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

Don't deploy nexus in Origin #102

Open
aopatricio opened this issue Aug 28, 2018 · 4 comments
Open

Don't deploy nexus in Origin #102

aopatricio opened this issue Aug 28, 2018 · 4 comments

Comments

@aopatricio
Copy link

The pod instaled in openshift origin deploy don't starting...

--> Scaling nexus-1 to 1
-- | error: update acceptor rejected nexus-1: pods for rc 'cicd-itonelab/nexus-1' took longer than 600 seconds to become available

Thank you.

Alessandro Patricio

@siamaksade
Copy link
Owner

The Nexus pod uses a init container. You OpenShift might not allow running init-containers. Where did you deploy it?

@jmferrer
Copy link

Same problem.
This is the "oc logs nexus-2-vftzs":

id: cannot find name for user ID 1000440000
2018-10-26 11:46:53,980+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.pax.logging.NexusLogActivator - start
2018-10-26 11:46:56,277+0000 ERROR [FelixStartLevel] *SYSTEM org.apache.karaf.features.internal.service.BootFeaturesInstaller - Error installing boot features
org.osgi.framework.BundleException: The framework has been shutdown.
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2978)
	at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167)
	at org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundle0(BundleIdBasedRegion.java:117)
	at org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundleAtLocation(BundleIdBasedRegion.java:97)
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installBundle(FeaturesServiceImpl.java:1261)
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:739)
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

@jmferrer
Copy link

My persistent storage is too slow.

Changing spec.strategy.recreateParams.timeoutSeconds from 600 to 1200 in nexus dc fixed the issue.

@siamaksade
Copy link
Owner

The nexus template is updated OpenShiftDemos/nexus@6f55656

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