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

problems running the skipper #5528

Closed
DaniloSottoDeLima opened this issue Oct 24, 2023 · 4 comments
Closed

problems running the skipper #5528

DaniloSottoDeLima opened this issue Oct 24, 2023 · 4 comments
Labels
status/need-feedback Calling participant to provide feedback

Comments

@DaniloSottoDeLima
Copy link

Description:
I'm creating a project that will use spring cloud dataflow with an oracle database. However, looking at the documentation, I saw that there is no driver for Oracle, thus forcing the dependency to be added to the skipper's pom.xml, for example.
After adding this dependency, I generated the jar file and a docker image on top of it. Therefore, when I try to deploy this image to Kuberentes, based on the skipper-config-kafka.yaml and skipper-deployment.yaml files, it is not able to read the configmap's application.yaml.

Release versions:
latest

Steps to reproduce:
Build the skipper-server application with the oracle database dependency in pom.xml and upload it to the kubernetes environment using the files skipper-config-kafka.yaml and skipper-deployment.yaml.

Screenshots:
skipper-config-kafka.yaml:
image
skipper-deployment.yaml:
image
error on deploy skipper:
image

Error text
Parameter 2 of method cloudFoundryPlatform in org.springframework.cloud.skipper.server.autoconfigure.CloudFoundryPlatformAutoConfiguration required a bean of type 'org.cloudfoundry.logcache.v1.LogCacheClient' that could not be found.

Additional context:
It seems to me that he can't fill the application.yaml settings.

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Oct 24, 2023
@DaniloSottoDeLima
Copy link
Author

checking the behavior here, when I use the already generated skipper image in springcloud/spring-cloud-skipper-server it can read the application.yaml, however when I build this image and generate my own docker to work with the oracle driver , it can no longer fill these files. The documentation only says to add the dependency and generate the jar.

@corneil
Copy link
Contributor

corneil commented Oct 25, 2023

I will be better to use 2.11.1 or skipper and 2.9.2 of deployer dependencies.
The 2.11.2-SNAPSHOT is in flux at the moment.

@onobc
Copy link
Contributor

onobc commented Oct 27, 2023

Hi @DaniloSottoDeLima
Did you follow these steps to generate the jar? My guess is that what you are ending up w/ is not a Spring Boot executable jar. The above process will make sure to build the jar up properly (see here for details).

@ilayaperumalg ilayaperumalg added status/need-feedback Calling participant to provide feedback and removed status/need-triage Team needs to triage and take a first look labels Nov 2, 2023
@cppwfs
Copy link
Contributor

cppwfs commented Jul 22, 2024

Closing due to inactivity. If closed in error please let us know.

@cppwfs cppwfs closed this as completed Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-feedback Calling participant to provide feedback
Projects
None yet
Development

No branches or pull requests

5 participants