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

New install on Mac M3Max - gitlab runner fails. #2187

Open
1 task done
paxinos opened this issue May 30, 2024 · 4 comments
Open
1 task done

New install on Mac M3Max - gitlab runner fails. #2187

paxinos opened this issue May 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@paxinos
Copy link

paxinos commented May 30, 2024

Which version of kubefirst are you using?

2.4.8

Which cloud provider?

k3d (local)

Which DNS?

None specific

Which installation type?

CLI

Which distributed Git provider?

GitLab

Did you use a fork of gitops-template?

No

Which Operating System?

macOS

What is the issue?

Tried a couple times with the same results.

Command line is:

kubefirst k3d create --git-provider gitlab --gitlab-group theosis1 --cluster-name theosis1

Verfied gitlab-token is valid and has proper permissions.

Another Mac issue is when using bash as the shell, if kubefirst exits I need to run 'stty sane' or else the shell behaves poorly (doesn't use newlines/returns,... doesn't show cursor,.... )

Registration attempt 28 of 30                                                                                                                                   │
│ Runtime platform                                    arch=arm64 os=linux pid=480 revision=d540b510 version=15.9.1                                                │
│ WARNING: Running in user-mode.                                                                                                                                  │
│ WARNING: The user-mode requires you to manually start builds processing:                                                                                        │
│ WARNING: $ gitlab-runner run                                                                                                                                    │
│ WARNING: Use sudo for system-mode:                                                                                                                              │
│ WARNING: $ sudo gitlab-runner...                                                                                                                                │
│                                                                                                                                                                 │
│ Merging configuration from template file "/configmaps/config.template.toml"                                                                                     │
│ PANIC: The registration-token needs to be entered                                                                                                               │
│ Registration attempt 29 of 30                        

Code of Conduct

  • I agree to follow this project's Code of Conduct
@paxinos paxinos added the bug Something isn't working label May 30, 2024
@fharper
Copy link
Member

fharper commented May 30, 2024

Thanks for reporting the issues @paxinos .

For stty, it's probably related to #2176 . You can check the comment, and try with a PR from our team. I wasn't able to test it yet, but it should fix the problem.

As for the GitLab issue, can you share the error from the GitLab Runner please?

@paxinos
Copy link
Author

paxinos commented May 30, 2024

Thanks for reporting the issues @paxinos .

For stty, it's probably related to #2176 . You can check the comment, and try with a PR from our team. I wasn't able to test it yet, but it should fix the problem.

Thanks. Will try.

As for the GitLab issue, can you share the error from the GitLab Runner please?

The only error I have is what is in the initial report. It is repeated 30 times and then the container fails.

The key error seems to be:

 PANIC: The registration-token needs to be entered                                                                                                               │

@johndietz
Copy link
Member

johndietz commented Jun 4, 2024

hey @paxinos just a note to confirm that we have recreated and appreciate the report, we'll report back once we have a workaround and will patch in the next drop. looks like gitlab-runner registration had a recent breaking change that bit us.

@paxinos
Copy link
Author

paxinos commented Jun 5, 2024

Thanks @johndietz ! Appreciated! Glad to know it wasn't me ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants