Hi yuuvis team
I am struggling to get the commander working. I want to reindex our ElasticSearch Index due to Schema changes (to field types).
I have read the help page, but cannot connect to the commander. I cannot seem to authenticate:
ssh -o "ServerAliveInterval 20" -l root -p 8022 127.0.0.1
Password authentication
Password:
Password authentication
Password:
Password authentication
Password:
root@127.0.0.1's password:
Permission denied, please try again.
root@127.0.0.1's password:
Permission denied, please try again.
root@127.0.0.1's password:
In the log output of the commander I can see a password that was generated, but it does not work. I cannot see the user name and just assumed this is root, user or admin, but none worked.
2021-03-23 14:45:43.566 INFO [commander,,,] 7 --- [ main] c.o.s.h.c.config.ElasticsearchConfig : rest client es timeout: 30000
Warning: Nashorn engine is planned to be removed from a future JDK release
2021-03-23 14:45:48.292 INFO [commander,,,] 7 --- [ main] s.s.s.server.SshdServerConfiguration : ********** User password not set. Use following password to login: db95c948-...-fb0d3576d750 **********
2021-03-23 14:45:48.679 INFO [commander,,,] 7 --- [ main] .b.BouncyCastleSecurityProviderRegistrar : getOrCreateProvider(BC) created instance of org.bouncycastle.jce.provider.BouncyCastleProvider
2021-03-23 14:45:49.275 INFO [commander,,,] 7 --- [ main] o.a.s.c.i.DefaultIoServiceFactoryFactory : No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory
2021-03-23 14:45:49.309 INFO [commander,,,] 7 --- [ main] s.s.s.server.SshdServerConfiguration : SSH server started on port 8022
Is there a yaml file or helm chart to start the service? I created the image on my own as follows:
apiVersion: v1
kind: Pod
metadata:
name: commander
spec:
containers:
- name: commander
image: docker.yuuvis.org/yuuvis/commander:4.5.9
env:
- name: JAVA_OPTS
value: -Xmx128m -XX:+ExitOnOutOfMemoryError
- name: SPRING_PROFILES_ACTIVE
value: prod,docker,jpapostgres,dbs,kubernetes,metrics
- name: SPRING_CLOUD_CONFIG_URI
valueFrom:
configMapKeyRef:
name: yuuvis-common-env
key: CONFIGSERVICEURL
ports:
- containerPort: 8022
imagePullSecrets:
- name: yuuvisorg
Do I need to add more or other profiles?
Can you please advise in more detail on how to start the commander service and connect?
Kind regards
Nicole