Migrate services from barnard.kosmos.org to VMs #259

Closed
opened 2020-12-09 14:58:50 +00:00 by raucao · 6 comments
Owner
  • botka_freenode
  • hal8000
  • hal8000_xmpp
  • wormhole
  • kredits-github
  • kredits-ipfs-pinner (+ go-ipfs, basically ipfs-2 and/or -3)
  • Sockethub
  • LDAP
* [x] botka_freenode * [x] hal8000 * [x] hal8000_xmpp * [x] wormhole * [x] kredits-github * [x] kredits-ipfs-pinner (+ go-ipfs, basically `ipfs-2` and/or `-3`) * [x] Sockethub * [x] LDAP
raucao added the
ops
label 2020-12-09 14:58:50 +00:00
Author
Owner

Update: VM nodejs-1 is running/prepared on 10.147.20.3.

Update: VM `nodejs-1` is running/prepared on `10.147.20.3`.
Owner

I have added sockethub to the list of services in the issue

I have added sockethub to the list of services in the issue
Author
Owner

Found another one: kredits-github. :)

Found another one: kredits-github. :)
Author
Owner

Also just happened on barnard, but we'll come across it (or not) automatically when moving dirsrv:

"FATAL: NoMethodError: dirsrv_instance[master] (kosmos-dirsrv::default line 29) had an error: NoMethodError: undefined method `root_directory' for Chef::Resource::Execute"

Also just happened on barnard, but we'll come across it (or not) automatically when moving dirsrv: > "FATAL: NoMethodError: dirsrv_instance[master] (kosmos-dirsrv::default line 29) had an error: NoMethodError: undefined method `root_directory' for Chef::Resource::Execute"
Author
Owner

Just apt-updated nodejs-1, tried to reboot and now it won't boot up anymore, taking up full CPU resources while trying to do so. I have shut it off for now. No idea what's going on, because there's no console output.

Just apt-updated `nodejs-1`, tried to reboot and now it won't boot up anymore, taking up full CPU resources while trying to do so. I have shut it off for now. No idea what's going on, because there's no console output.
Author
Owner

Created nodejs-2 with private IP 10.1.1.229 and deleted the broken VM. Then deployed kredits-github to it.

centaurus is running nginx on the host, so we cannot use HTTP/S forwarding with HAProxy, as we do on draco. It's possible to do this in Nginx nowadays (see here and here), but I didn't want to get into that right now, because we should discuss it first for that server, and we shouldn't do the exact same thing with 2 different programs IMO. So the traffic forwarding is done from draco to the VM on centaurus for now.

Created `nodejs-2` with private IP `10.1.1.229` and deleted the broken VM. Then deployed `kredits-github` to it. `centaurus` is running nginx on the host, so we cannot use HTTP/S forwarding with HAProxy, as we do on `draco`. It's possible to do this in Nginx nowadays (see [here](https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/) and [here](https://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html)), but I didn't want to get into that right now, because we should discuss it first for that server, and we shouldn't do the exact same thing with 2 different programs IMO. So the traffic forwarding is done from `draco` to the VM on `centaurus` for now.
greg closed this issue 2022-11-04 18:14:18 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#259
No description provided.