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

Migration left over from publicK8s to arm64 #3837

Open
4 of 7 tasks
smerle33 opened this issue Nov 28, 2023 · 16 comments
Open
4 of 7 tasks

Migration left over from publicK8s to arm64 #3837

smerle33 opened this issue Nov 28, 2023 · 16 comments

Comments

@smerle33
Copy link
Contributor

smerle33 commented Nov 28, 2023

Service(s)

Azure

Summary

following #3619
we still have :

  • artifact-caching-proxy
  • datadog
  • falco
  • get-jenkins-io (mirrorbits has no arm image ... yet)
  • keycloak
  • ldap
  • updates-jenkins-io (mirrorbits has no arm image provided ... yet)

Reproduction steps

No response

@smerle33 smerle33 added the triage Incoming issues that need review label Nov 28, 2023
@dduportal dduportal added this to the infra-team-sync-2023-12-05 milestone Nov 29, 2023
@dduportal dduportal removed the triage Incoming issues that need review label Dec 12, 2023
@dduportal dduportal modified the milestones: infra-team-sync-2024-01-09, infra-team-sync-2024-01-16 Jan 10, 2024
@smerle33 smerle33 modified the milestones: infra-team-sync-2024-01-16, infra-team-sync-2024-01-23 Jan 16, 2024
@dduportal dduportal self-assigned this Jan 18, 2024
@dduportal
Copy link
Contributor

Starting with LDAP:

  • The image seems old and should be updated to meet our usual "update/release" system
  • Then we should be able to build it for arm64

@dduportal
Copy link
Contributor

dduportal commented Jan 18, 2024

Starting with LDAP:

* The image seems old and should be updated to meet our usual "update/release" system

Todo:

Then:

* Then we should be able to build it for arm64

@dduportal
Copy link
Contributor

dduportal commented Jan 19, 2024

Update:

@dduportal
Copy link
Contributor

Important note: these migrations are triggering SNAT exhaustion problem, which we though was fixed earlier this week. We have to suspend tentatives until we've fixed it (even temporarily): #3908

@dduportal
Copy link
Contributor

Update:

  • LDAP is now starting with arm64. But authentications have weird behaviors: I'm not seen as "Admin" in accountapp anymore and ci.jenkins.io auth. says "auth error". No logs difference on LDAP side between x86 and arm64 except the message mdb_equality_candidates: (member) not indexed only present on x86 (when it is working).
  • Keycloak them image is being updated (see https://github.com/jenkins-infra/docker-keycloak-theme PR) but need a bit of auth. work to properly deploy on DockerHub.

@dduportal
Copy link
Contributor

Update:

@dduportal
Copy link
Contributor

Update:

We see a visible cost decrease thanks to:

  • the ACP migration to arm64 (x86 node pool is now 2 node instead of 3):

Capture d’écran 2024-07-08 à 15 21 54

  • The data disk migration to ZRS + optimizations:

Capture d’écran 2024-07-08 à 15 25 24


image

@dduportal
Copy link
Contributor

Update:

@smerle33
Copy link
Contributor Author

smerle33 commented Jul 10, 2024

Update:

* LDAP is now starting with `arm64`. But authentications have weird behaviors: I'm not seen as "Admin" in accountapp anymore and ci.jenkins.io auth. says "auth error". No logs difference on LDAP side between x86 and `arm64` except the message `mdb_equality_candidates: (member) not indexed` only present on x86 (when it is working).

seems to say that the indexing is happening on x86 and not on arm64 (cveda/cveda_databank#1)

for reminder: we got a mock ldap in our repositories : https://github.com/jenkins-infra/mock-ldap

I did try to launch the ldap 1.1.1 on my ARM M1 machine and got :

Status: Downloaded newer image for jenkinsciinfra/ldap:1.1.1
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

@dduportal
Copy link
Contributor

dduportal commented Aug 13, 2024

Update:

  • LDAP image has been fixed and is built for both arm64 and x86. It allows debugging locally on a Silicon Mac
  • We might want to run the x86_64 leftover workload on the system pool (which is already x86) to improve packing of resources.

@dduportal
Copy link
Contributor

Update: We are the proud owners of an arm64 image of mirrorbits \o/ Let's move mirrorbits to arm64!

@dduportal
Copy link
Contributor

Update: We are the proud owners of an arm64 image of mirrorbits \o/ Let's move mirrorbits to arm64!

Update:

  • We now only have LDAP running x86 \o/
  • The x86 node (non system) nodepool has been scaled down from 2 to 1 node, while the arm64 stays at 3 nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants