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

Fresh peers install fails #2896

Open
lbthomsen opened this issue Dec 5, 2020 · 3 comments
Open

Fresh peers install fails #2896

lbthomsen opened this issue Dec 5, 2020 · 3 comments

Comments

@lbthomsen
Copy link
Contributor

Fresh peer install on bare metal fails to run proper after subutai import management. Process list is:

root@management:/# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0 169012  6660 ?        Ss   13:06   0:00 /sbin/init
root        38  0.0  0.0  27456  6144 ?        Ss   13:06   0:00 /lib/systemd/systemd-journa
root        73  0.0  0.0   7268  1516 ?        Ss   13:06   0:00 /usr/sbin/cron -f
root        75  0.0  0.0 156332  2608 ?        Ssl  13:06   0:00 /usr/sbin/rsyslogd -n -iNON
root        79  0.0  0.0   4176  1276 console  Ss+  13:06   0:00 /sbin/agetty -o -p -- \u --
root        81  0.0  0.0  15856  4080 ?        Ss   13:06   0:00 /usr/sbin/sshd -D
influxdb   135  0.0  0.1 1113976 9564 ?        Ssl  13:06   0:00 /usr/bin/influxd -config /e
root       150  0.0  0.0   3992  2444 ?        S    13:07   0:00 /bin/bash
root       174  0.0  0.0   7644  1824 ?        R+   13:09   0:00 ps aux

The java process appears to be missing.

@lbthomsen
Copy link
Contributor Author

After import:

root@ncpws05:~# subutai list t
TEMPLATE
--------
debian-buster:subutai:0.5.5
management:jenkins:8.7.4
root@ncpws05:~# subutai list i
NAME            STATE   IP              Interface
----            -----   --              ---------
management      RUNNING 10.10.10.1      eth0

@lbthomsen
Copy link
Contributor Author

root@management:/lib/systemd/system# systemctl status management.service 
● management.service - Subutai Management Console
   Loaded: loaded (/lib/systemd/system/management.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: https://github.com/subutai-io/peer-os/wiki

@lbthomsen
Copy link
Contributor Author

Manual start worked:

root@management:/lib/systemd/system# systemctl start management.service 
root@management:/lib/systemd/system# systemctl status management.service 
● management.service - Subutai Management Console
   Loaded: loaded (/lib/systemd/system/management.service; disabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-12-05 13:24:59 UTC; 3s ago
     Docs: https://github.com/subutai-io/peer-os/wiki
 Main PID: 190 (java)
    Tasks: 37 (limit: 4915)
   Memory: 129.6M
   CGroup: /system.slice/management.service
           ├─190 /usr/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt
           ├─195 /bin/bash /opt/subutai-mng/bin/influxdbinit.sh
           └─471 curl -sk -X POST https://localhost:8086/query -u root:root --data-urlencode

Dec 05 13:24:59 management start[190]: Warning:
Dec 05 13:24:59 management start[190]: The JKS keystore uses a proprietary format. It is rec
Dec 05 13:25:00 management start[190]: Warning:
Dec 05 13:25:00 management start[190]: The JKS keystore uses a proprietary format. It is rec
Dec 05 13:25:00 management start[190]: Certificate stored in file <client.cer>
Dec 05 13:25:00 management start[190]: Warning:
Dec 05 13:25:00 management start[190]: The JKS keystore uses a proprietary format. It is rec
Dec 05 13:25:00 management start[190]: Certificate was added to keystore
Dec 05 13:25:02 management start[190]: {"results":[{"statement_id":0}]}
Dec 05 13:25:02 management start[190]: {"results":[{"statement_id":0}]}
root@management:/lib/systemd/system# systemctl enable management
Created symlink /etc/systemd/system/multi-user.target.wants/management.service → /lib/systemd/system/management.service.

@lbthomsen lbthomsen transferred this issue from subutai-io/agent Dec 5, 2020
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

1 participant