Commit Graph

3220 Commits

Author SHA1 Message Date
Tsu-ba-me
063840ecb6 fix(tools): correct message_* string keys in striker-manage-vnc-pipes 2021-08-04 13:53:44 -04:00
Tsu-ba-me
70075ba690 fix(cgi-bin): add login cookie guard to manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
8da318c933 fix(tools): patch failure to fix 2nd pipe after server migration 2021-08-04 13:40:02 -04:00
Tsu-ba-me
0f1c3d2435 chore(tools): remove unused function from striker-manage-vnc-pipes 2021-08-04 13:40:02 -04:00
Tsu-ba-me
5f6bc3d3b1 build(cgi-bin): require websockify on server VM hosts in specfile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
cdb66019d3 fix(tools): avoid port conflict 2021-08-04 13:40:02 -04:00
Tsu-ba-me
214ef00647 fix(cgi-bin): allow VNC pipes for different servers to be managed in parallel 2021-08-04 13:40:02 -04:00
Tsu-ba-me
7e447000b4 fix(cgi-bin): use unspecified instead of loopback address in SSH tunnel 2021-08-04 13:40:02 -04:00
Tsu-ba-me
b3b6da8259 chore(cgi-bin): remove debug log level from manage_vnc_pipes and its support scripts 2021-08-04 13:40:02 -04:00
Tsu-ba-me
549758b2f2 build(tools): include support scripts for manager_vnc_pipes endpoint into makefile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
1f8e35ad0a build(cgi-bin): include manage_vnc_pipes endpoint into makefile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e50bfc7308 fix(tools): correct typo in passing server_uuid to get_vnc_info() 2021-08-04 13:40:02 -04:00
Tsu-ba-me
2b6e1bb51b chore(share): add missing labels to error messages 2021-08-04 13:40:02 -04:00
Tsu-ba-me
3a8f4c339b fix(tools): use VNC port in variables table if available 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e4436be17b fix(tools): do checks and kills as root 2021-08-04 13:40:02 -04:00
Tsu-ba-me
f8b45f5a74 fix(cgi-bin): avoid concat blank to job_data in manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e79a3989eb fix(cgi-bin): repair wait until job is complete before responding 2021-08-04 13:40:02 -04:00
Tsu-ba-me
bb155a5786 fix(tools): update job progress in catch-all case 2021-08-04 13:40:00 -04:00
Tsu-ba-me
ffc1fb096a fix(tools): correct switch name typo in striker-manage-vnc-pipes 2021-08-04 13:38:28 -04:00
Tsu-ba-me
b2555f2337 fix(cgi-bin): correct typo in job data in manage_vnc_pipes endpoint 2021-08-04 13:38:28 -04:00
Tsu-ba-me
2bef084118 fix(cgi-bin): always wait until job is done before responding 2021-08-04 13:38:28 -04:00
Tsu-ba-me
64de564472 fix(cgi-bin): avoid concat error on undefined --is-open 2021-08-04 13:38:28 -04:00
Tsu-ba-me
1fec288ad0 fix(tools): make striker-manage-vnc-pipes executable 2021-08-04 13:38:28 -04:00
Tsu-ba-me
1d61c8fff7 fix(cgi-bin): modify manage_vnc_pipes endpoint to trigger a job 2021-08-04 13:38:28 -04:00
Tsu-ba-me
7d9013a60b fix(tools): allow striker-manage-vnc-pipes to be executed as a job 2021-08-04 13:38:26 -04:00
Tsu-ba-me
0935b9a990 feat(tools): move manage_vnc_pipes endpoint core logic to separate script 2021-08-04 13:34:58 -04:00
Tsu-ba-me
5cceb09f2a fix(cgi-bin): insert record on new of either websockify or ssh tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
5459e610aa fix(tools): auto-end tunnel script when connection breaks 2021-08-04 13:34:58 -04:00
Tsu-ba-me
fa15c715e4 fix(cgi-bin): revise is process checks to match tunnel script 2021-08-04 13:34:58 -04:00
Tsu-ba-me
d5724c1457 chore(tools): rename striker-start-ssh-tunnel->striker-open-ssh-tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
23d818cfff fix(cgi-bin): avoid direct SSH calls 2021-08-04 13:34:58 -04:00
Tsu-ba-me
c7f63f4a4b fix(cgi-bin): allow update all pipe pieces 2021-08-04 13:34:58 -04:00
Tsu-ba-me
742af987e9 fix(cgi-bin): provide proper params to check if websockify is in-use 2021-08-04 13:34:58 -04:00
Tsu-ba-me
b528456f45 fix(cgi-bin): update records after comparisons are done 2021-08-04 13:34:58 -04:00
Tsu-ba-me
4bd7cd6f62 fix(cgi-bin): respond with connect info after open VNC pipe 2021-08-04 13:34:58 -04:00
Tsu-ba-me
2ca5ee232b fix(cgi-bin): don't kill websockify instances in-use 2021-08-04 13:34:57 -04:00
Tsu-ba-me
9df976712a fix(cgi-bin): only insert when not repairing pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
2531252e3f fix(cgi-bin): compare UUID with string comparison operators 2021-08-04 13:34:57 -04:00
Tsu-ba-me
85375d69b1 fix(cgi-bin): param name mismatch in is_ssh_tunnel_exists 2021-08-04 13:34:57 -04:00
Tsu-ba-me
7f8532dbb9 fix(cgi-bin): draft pipe repair without destruction 2021-08-04 13:34:57 -04:00
Tsu-ba-me
dfa3990417 fix(cgi-bin): handle kill SSH tunnel on peer striker 2021-08-04 13:34:57 -04:00
Tsu-ba-me
ef27e30160 fix(cgi-bin): don't insert when using existing pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
6711b65151 fix(cgi-bin): include command when logging shell calls 2021-08-04 13:34:57 -04:00
Tsu-ba-me
699400a62c fix(cgi-bin): add missing field when recording VNC pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
d2b43f1d59 fix(cgi-bin): add missing host_uuid param to start SSH tunnel 2021-08-04 13:34:57 -04:00
Tsu-ba-me
424fdd70dd fix(cgi-bin): try SIGTERM before SIGKILL when stopping processes 2021-08-04 13:34:57 -04:00
Tsu-ba-me
0f4198155f fix(cgi-bin): prevent start-websockify-in-background from hanging 2021-08-04 13:34:57 -04:00
Tsu-ba-me
3adbd8bca1 fix(cgi-bin): add missing server_uuid variables 2021-08-04 13:34:57 -04:00
Tsu-ba-me
6ba6819078 chore(cgi-bin): rename manage_vnc_ports->manage_vnc_pipes 2021-08-04 13:34:57 -04:00
Tsu-ba-me
5208332b2d fix(cgi-bin): complete draft of open and close VNC pipes 2021-08-04 13:34:57 -04:00