- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 8 2023
Dec 20 2022
Sysadmin projects have been migrated on October 18
Dec 15 2022
This week we have conducted the first gitlab sprint.
Notes on this sprint can be found here:
https://hedgedoc.softwareheritage.org/f-lWPLL5Rei2tybmtf4oDQ
Oct 28 2022
Oct 19 2022
Oct 18 2022
Oct 17 2022
Plenty of fixes happened again.
Multiple iterations happened on bespin to further check the resulting scripts.
Oct 11 2022
DNS entry gitlab.softwareheritage.org declared in the dns
Oct 10 2022
- gitlab production instance created:
name: euwest-gitlab-production internal_ip: 192.168.200.4 public_ip: 20.50.42.230
- private link created: the address of the services exposed in the VPN network will be 192.168.200.5 (prometheus/...)
Oct 6 2022
Oct 5 2022
Aug 2 2022
Jul 11 2022
Jul 6 2022
I just reused the current last migration run and added the swh-objstorage to the list of
repositories (not yet migrated). And the migration just broke on that repository.
Jul 4 2022
Reopened as the need got clarified and the previous check used a repository which did not have any issues/merge-requests associated to it.
So let's check with a repo which does have those ^.
Jun 24 2022
New test. tl; dr There is a way to update a repository migrated (drop it and import it
back, see 2nd run.)
I'm reseting the gitlab state again and doing a migration from scratch.
Jun 22 2022
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.
I'm gonna check again tomorrow (well friday since thursday we are at rocq for hardware installation).
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:
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
Thanks.
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)
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 20 2022
/me grunts
another one bites the dust:
Jun 17 2022
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 16 2022
The migration did a lot more work this time. It finally crashed on the git am command though [1] [2] [3].
Jun 15 2022
\o/ well done
- Private repository after migration are private.
And it seems it finished without any issues this time [1] [2]
Changing the command args from [1] to [2], the run cli no longer complains! [3]
- Report migration status
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 13 2022
So i dug as to why my laptop was ok but not my desktop.
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 ## ...
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.
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]
Migration failed again with a problem when creating a snippet [1]
The source of that issue was the ssh connection failing to be established [1]
Fixing with ssh-keygen [2]
Failed [1] (full logs [2])
Jun 10 2022
After killing the minio data store, we've decided (as we had planned anyway) to start again from a clean slate.
- Upgrade gitlab operator