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

Dockerhost setup of dockerhost-osuosl-ubuntu2204-aarch64-1 #2991

Closed
Haroon-Khel opened this issue Mar 13, 2023 · 11 comments
Closed

Dockerhost setup of dockerhost-osuosl-ubuntu2204-aarch64-1 #2991

Haroon-Khel opened this issue Mar 13, 2023 · 11 comments

Comments

@Haroon-Khel
Copy link
Contributor

The dockerhost dockerhost-osuosl-ubuntu2204-aarch64-1 is setup (with Ansible), but has only 1 centos8 container running.

Its container setup needs to be completed

@Haroon-Khel
Copy link
Contributor Author

ref #2975 (comment)

@sxa
Copy link
Member

sxa commented Mar 14, 2023

(Noting also that CentOS8 is unsupported so we should even ditch the one that's currently on there :-) )

@sxa
Copy link
Member

sxa commented Feb 13, 2024

This machine is mostly unused at present but is likely a good choice of test system for the work under #3368

@Haroon-Khel
Copy link
Contributor Author

Just had a look at this machine. It has 8 cpus and a 80g disk. Seems a bit low to be used as a dockerhost machine no?

@sxa
Copy link
Member

sxa commented Feb 15, 2024

Just had a look at this machine. It has 8 cpus and a 80g disk. Seems a bit low to be used as a dockerhost machine no?

It should be ok for hosting 2-4 containers - mostly as a backup in case of a problem with equinix. I think 80Gb is probably ok if we're not running builds on it sine the dockerstatic containers are pretty small.

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Feb 23, 2024

https://ci.adoptium.net/computer/test-docker-centos8-armv8-1/log and https://ci.adoptium.net/computer/test-docker-ubuntu2204-armv8-4/log, both of which are hosted on dockerhost-osuosl-ubuntu2204-aarch64-1, cannot connect. Connection times out

@sxa
Copy link
Member

sxa commented Feb 27, 2024

I assume this isn't specific to jenkins and you can't establish a connection to that port from the comment line either?
In which case it'll be a firewall issue - likely at the provider. If you got to the OSUOSL arm-openstack UI (Ping me via DM if you can't access it) then we'll need to either:

  1. adjust the default "security group" (see below) or define a new one with a suitable set of inbound (ingress) firewall holes - the screenshot below shows what it looks like currently):
  2. Create a new security group with a suitable set of holes and apply that to the dockerhost systems

image

@Haroon-Khel
Copy link
Contributor Author

Im not sure if im reading it wrong, but the 3rd security rule suggests the firewall allows all inbound ipv4 to any port?

Either way, I added a specific rule to allow ipv4 traffic to port 2226 specifically (a port on which a docker container is running), and still no luck.

In the mean time I have changed the jenkins config of the 2 nodes to connect to the controller so we can have them running as nodes

https://ci.adoptium.net/computer/test-docker-centos8-armv8-1/
https://ci.adoptium.net/computer/test-docker-ubuntu2204-armv8-4/

@sxa
Copy link
Member

sxa commented Mar 13, 2024

Remote IP Prefix in the 3rd security rule and your new one was blank, so it presumably wasn't accepting connections from any IP address. The test sxa rule in the screen shot below seems to allow 2226 to work (See ssh attempt below - feel free to delete that rule and adjust to add a small range in instead):
image

sxa@fedora:~$ ssh 140.211.167.67 -l ubuntu -p 2226
The authenticity of host '[140.211.167.67]:2226 ([140.211.167.67]:2226)' can't be established.
ED25519 key fingerprint is SHA256:...

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Mar 13, 2024

Ah ok thanks. Ive now added a suitable rule which works.
image

The 2 nodes are now able to connect properly

@Haroon-Khel Haroon-Khel self-assigned this Apr 24, 2024
@Haroon-Khel
Copy link
Contributor Author

Closing this as the dockerhost is completely setup

@sxa sxa added this to the 2024-04 (April) milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants