Page MenuHomeSoftware Heritage
Feed Advanced Search

Jul 4 2022

ardumont reopened T4334: Test rollback of a repo migration as "Open".
Jul 4 2022, 4:00 PM · System administration, GitLab migration, Roadmap 2020

Jun 24 2022

ardumont moved T4064: Test GitLab migration scripts from in-progress to deployed/landed/monitoring on the System administration board.
Jun 24 2022, 4:15 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4334: Test rollback of a repo migration , a subtask of T4064: Test GitLab migration scripts, as Resolved.
Jun 24 2022, 3:11 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4334: Test rollback of a repo migration as Resolved.
Jun 24 2022, 3:11 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4334: Test rollback of a repo migration .

New test. tl; dr There is a way to update a repository migrated (drop it and import it
back, see 2nd run.)

Jun 24 2022, 3:08 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 24 2022, 11:05 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

I'm reseting the gitlab state again and doing a migration from scratch.

Jun 24 2022, 10:26 AM · System administration, GitLab migration, Roadmap 2020

Jun 22 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

My tryout in T4334 made me reset an important file which now messes up everything.
I'm reseting the gitlab state again and doing a migration from scratch.

Jun 22 2022, 5:13 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4334: Test rollback of a repo migration .

I'm gonna check again tomorrow (well friday since thursday we are at rocq for hardware installation).

Jun 22 2022, 5:11 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4064: Test GitLab migration scripts from deployed/landed/monitoring to in-progress on the System administration board.
Jun 22 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4334: Test rollback of a repo migration from in-progress to deployed/landed/monitoring on the System administration board.
Jun 22 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4334: Test rollback of a repo migration from Open to Work in Progress.
Jun 22 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4334: Test rollback of a repo migration , a subtask of T4064: Test GitLab migration scripts, from Open to Work in Progress.
Jun 22 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4334: Test rollback of a repo migration .

Actions:

  • connect through the gitlab ui
  • Select the repository to drop (e.g. swh-ansible)
  • Settings > General > Section "Advanced" > Expand > Bottom of the page click on "Delete"
  • input the name of the repository to destroy and validate on "Yes, delete project"
  • Cleanup eventually remains from the previous run on the host running the migration:
rm -rvf /var/tmp/migrate-gitlab/forgerie/{gitlab,phabricator}/swh-ansible
  • Trigger back the migration:
Jun 22 2022, 4:34 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

A new one...

Got error running git command push with args ("gitlab" "--delete"
                                              "generated-differential-D1804-source") in dir /tmp/forgerie/gitlab/swh-jenkins-jobs
Jun 22 2022, 3:07 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4347: gitlab migration reset state routine is flaky, a subtask of T4064: Test GitLab migration scripts, as Resolved.
Jun 22 2022, 1:59 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4347: gitlab migration reset state routine is flaky as Resolved.
Jun 22 2022, 1:59 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4347: gitlab migration reset state routine is flaky from in-progress to deployed/landed/monitoring on the System administration board.
Jun 22 2022, 1:59 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4334: Test rollback of a repo migration from Backlog to Weekly backlog on the System administration board.
Jun 22 2022, 12:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4320: Upgrade gitlab instance to v15, a subtask of T4064: Test GitLab migration scripts, as Resolved.
Jun 22 2022, 12:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont closed T4320: Upgrade gitlab instance to v15 as Resolved.
Jun 22 2022, 12:52 PM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4347: gitlab migration reset state routine is flaky, a subtask of T4064: Test GitLab migration scripts, from Open to Work in Progress.
Jun 22 2022, 12:52 PM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4347: gitlab migration reset state routine is flaky from Open to Work in Progress.
Jun 22 2022, 12:52 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4347: gitlab migration reset state routine is flaky.

Thanks.

Jun 22 2022, 12:17 PM · System administration, GitLab migration, Roadmap 2020
vsellier added a comment to T4347: gitlab migration reset state routine is flaky.

Looks like something is wrong in the operator state management.
For what I found on internet, it could be related to the cert-manager version but it should be already fixed. For example: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/issues/315
(The current cert-manager version in the cluster is 1.8.0)

Jun 22 2022, 10:40 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

After unstucking the migration again, he avatar upload routine is now compliant with the
last http client optimization change and works! I've rebased the commit again and pushed
in the swh branch [1].

Jun 22 2022, 9:54 AM · System administration, GitLab migration, Roadmap 2020
ardumont triaged T4347: gitlab migration reset state routine is flaky as High priority.
Jun 22 2022, 9:53 AM · System administration, GitLab migration, Roadmap 2020

Jun 20 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

/me grunts
another one bites the dust:

Jun 20 2022, 10:49 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 20 2022, 3:35 PM · System administration, GitLab migration, Roadmap 2020

Jun 17 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

Unstuck after some mob debugging ;)
There is a fallback which tries and use the git am command and fails as some git config is missing.
We unstuck it by adding some .gitconfig in the dockerfile declaration.

Jun 17 2022, 4:13 PM · System administration, GitLab migration, Roadmap 2020
bchauvet triaged T4334: Test rollback of a repo migration as High priority.
Jun 17 2022, 2:59 PM · System administration, GitLab migration, Roadmap 2020

Jun 16 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

The migration did a lot more work this time. It finally crashed on the git am command though [1] [2] [3].

Jun 16 2022, 10:15 AM · System administration, GitLab migration, Roadmap 2020

Jun 15 2022

vsellier added a comment to T4064: Test GitLab migration scripts.

\o/ well done

Jun 15 2022, 6:41 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4064: Test GitLab migration scripts from in-progress to deployed/landed/monitoring on the System administration board.
Jun 15 2022, 4:07 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 15 2022, 2:40 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 15 2022, 2:40 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 15 2022, 2:39 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 15 2022, 2:39 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.
  • Private repository after migration are private.
Jun 15 2022, 2:38 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

And it seems it finished without any issues this time [1] [2]

Jun 15 2022, 2:25 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Changing the command args from [1] to [2], the run cli no longer complains! [3]

Jun 15 2022, 1:56 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.
  • Report migration status
Jun 15 2022, 11:23 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Status update:

  • Clean up gitlab state
  • Checks
    • make sure host ssh key did not change after state reset (ssh-keyscan)
    • state folder permissions ok
    • access token key generated (and properly referenced in config.lisp)
  • Trigger migration
  • Report migration status
Jun 15 2022, 10:42 AM · System administration, GitLab migration, Roadmap 2020

Jun 13 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

So i dug as to why my laptop was ok but not my desktop.

Jun 13 2022, 5:10 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Better cli to execute...

forgerie@bespin:~$ logpath="/tmp/forgerie/run-$(date +%Y%m%d-%H%M).log"; echo "## Running migration logs in $logpath ##"; time /opt/forgerie/bin/run | tee $logpath
## Running migration logs in /tmp/forgerie/run-20220613-1410.log ##
...
Jun 13 2022, 4:14 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Ah the migration scripts are still relying on the rails console to actually create merge requests... so we need that setup to work.
So i dug as to why my laptop was ok but not my desktop.

Jun 13 2022, 4:07 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

And now it fails on snippet creation which needs access to the rails console (in the current state of the migration script) [1]
I've got no proper setup which allows this to work now [2].
The only way i see is to comment that part for now... [3]

Jun 13 2022, 3:47 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4064: Test GitLab migration scripts from code-review/await-feedback/pause to in-progress on the System administration board.
Jun 13 2022, 1:11 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4320: Upgrade gitlab instance to v15 from in-progress to deployed/landed/monitoring on the System administration board.
Jun 13 2022, 1:11 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Migration failed again with a problem when creating a snippet [1]

Jun 13 2022, 1:10 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

The source of that issue was the ssh connection failing to be established [1]
Fixing with ssh-keygen [2]

Jun 13 2022, 10:35 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Failed [1] (full logs [2])

Jun 13 2022, 10:02 AM · System administration, GitLab migration, Roadmap 2020

Jun 10 2022

ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 10 2022, 7:02 PM · System administration, GitLab migration, Roadmap 2020
olasd added a comment to T4320: Upgrade gitlab instance to v15.

After killing the minio data store, we've decided (as we had planned anyway) to start again from a clean slate.

Jun 10 2022, 6:41 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 10 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4320: Upgrade gitlab instance to v15.
  • Upgrade gitlab operator
Jun 10 2022, 4:53 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 10 2022, 4:50 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 10 2022, 2:02 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4320: Upgrade gitlab instance to v15.

Backup done:

Jun 10 2022, 11:08 AM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4320: Upgrade gitlab instance to v15, a subtask of T4064: Test GitLab migration scripts, from Open to Work in Progress.
Jun 10 2022, 10:06 AM · System administration, GitLab migration, Roadmap 2020
ardumont changed the status of T4320: Upgrade gitlab instance to v15 from Open to Work in Progress.
Jun 10 2022, 10:06 AM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 10 2022, 9:55 AM · System administration, GitLab migration, Roadmap 2020

Jun 9 2022

ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 9 2022, 6:08 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 9 2022, 6:04 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 9 2022, 5:52 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 9 2022, 5:19 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4320: Upgrade gitlab instance to v15.
Jun 9 2022, 4:14 PM · System administration, GitLab migration, Roadmap 2020
ardumont triaged T4320: Upgrade gitlab instance to v15 as High priority.
Jun 9 2022, 4:13 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 9 2022, 2:37 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 9 2022, 2:37 PM · System administration, GitLab migration, Roadmap 2020

Jun 7 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

well, no, computer says no ¯\_(ツ)_/¯

Jun 7 2022, 4:54 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
Jun 7 2022, 4:33 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

fwiw, we're received notifications that the upstream repository have been delivered with some fixes.
So i've pulled the upstream branch and rebase the swh branch on it.

Jun 7 2022, 4:32 PM · System administration, GitLab migration, Roadmap 2020

May 25 2022

ardumont moved T4064: Test GitLab migration scripts from deployed/landed/monitoring to code-review/await-feedback/pause on the System administration board.
May 25 2022, 2:09 PM · System administration, GitLab migration, Roadmap 2020
ardumont moved T4064: Test GitLab migration scripts from in-progress to deployed/landed/monitoring on the System administration board.
May 25 2022, 2:09 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
May 25 2022, 2:09 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

"Full" (with the overall sysadm repositories) run [1].

May 25 2022, 8:36 AM · System administration, GitLab migration, Roadmap 2020

May 24 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

Another "private" (for the test) repository to try and migrate [1], it should be private but it's not [2]:

May 24 2022, 3:05 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Added 2 more repositories [1] to migrate and triggered it [2] [3]:

May 24 2022, 2:58 PM · System administration, GitLab migration, Roadmap 2020

May 23 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

It seems to have finished badly [1].
But that may only be because it's configured to run in debug mode.
Latest run logs for later [2]

May 23 2022, 5:12 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Migration is now ongoing without failing thus far.
Configured to only import puppet-environment for now [1] (to fix papercuts).
But that's still migrating the rest (users, issues, etc...).

May 23 2022, 4:39 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7885: docker: Install required ssh/config so migration can push to gitlab.
May 23 2022, 4:15 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Summary sent to Frank Duncan and Karl Fogel.

May 23 2022, 4:05 PM · System administration, GitLab migration, Roadmap 2020
ardumont merged T4146: Test gitlab migrations in the gitlab staging instance into T4064: Test GitLab migration scripts.
May 23 2022, 2:26 PM · System administration, GitLab migration, Roadmap 2020

May 20 2022

ardumont added a comment to T4064: Test GitLab migration scripts.

Clean up gitlab instance

May 20 2022, 12:30 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a comment to T4064: Test GitLab migration scripts.

Gist of the actions are currently:

  • Mirror the forgerie repository to add some docker commands to allow sandboxed execution (see diffs ^)
  • Adaptations in the forgerie code source to allow migration runs with our current gitlab/phabricator instances (see diffs ^)
  • Current runs are working a bit but do not succeed entirely
May 20 2022, 12:17 PM · System administration, GitLab migration, Roadmap 2020
ardumont updated the task description for T4064: Test GitLab migration scripts.
May 20 2022, 12:15 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7866: gitlab: Allow gitlab rail command to run without ssh.
May 20 2022, 9:07 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7865: Allow remote mysql connection.
May 20 2022, 9:05 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7858: Allow main script executions within container.
May 20 2022, 9:00 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7856: docs: Fix typos and clean up whitespace.
May 20 2022, 9:00 AM · System administration, GitLab migration, Roadmap 2020
ardumont added a revision to T4064: Test GitLab migration scripts: D7857: Install Dockerfile to allow containerized script execution.
May 20 2022, 8:59 AM · System administration, GitLab migration, Roadmap 2020

May 19 2022

ardumont changed the status of T4064: Test GitLab migration scripts, a subtask of T2225: Migrate to GitLab, from Open to Work in Progress.
May 19 2022, 4:55 PM · meta-task, Roadmap 2022, GitLab migration, Roadmap 2020
ardumont changed the status of T4064: Test GitLab migration scripts from Open to Work in Progress.
May 19 2022, 4:55 PM · System administration, GitLab migration, Roadmap 2020
ardumont added a project to T4064: Test GitLab migration scripts: System administration.
May 19 2022, 4:55 PM · System administration, GitLab migration, Roadmap 2020

May 18 2022

ardumont added a revision to T2225: Migrate to GitLab: D7858: Allow main script executions within container.
May 18 2022, 5:59 PM · meta-task, Roadmap 2022, GitLab migration, Roadmap 2020
ardumont added a revision to T2225: Migrate to GitLab: D7857: Install Dockerfile to allow containerized script execution.
May 18 2022, 5:57 PM · meta-task, Roadmap 2022, GitLab migration, Roadmap 2020
ardumont added a revision to T2225: Migrate to GitLab: D7850: Add script to mirror an upstream repository to our forge.
May 18 2022, 2:42 PM · meta-task, Roadmap 2022, GitLab migration, Roadmap 2020
ardumont added a revision to T2225: Migrate to GitLab: D7847: scripts: Extract reusable functions to a common module.
May 18 2022, 11:58 AM · meta-task, Roadmap 2022, GitLab migration, Roadmap 2020

Apr 29 2022

olasd closed T3544: Deal with GitHub removing support for git:// URLs, a subtask of T2207: Improve ingestion efficiency , as Resolved.
Apr 29 2022, 4:11 PM · Origin-GitLab, Origin-GitHub, Roadmap 2020