-
Notifications
You must be signed in to change notification settings - Fork 122
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
IP address for VM is not properly determined #998
Comments
Unfortunately macOS's DHCP server is treating You need to disable DUID/IAID/non-MAC identifiers in your VM to work around that. See cirruslabs/linux-image-templates#39 for more details. |
Thanks @edigaryev for the response. Could it be disabled in the base image then |
Test with the macOS image - same problem:
|
Hmm, indeed. It seems that Could you please re-pull the image? It should work now. |
This is unlikely related. Are you running macOS 15 (Sequoia) on the host by a chance? If so, please see the top of the Gitlab Tart Executor's |
Hello, If it is still relevant, to make network:
version: 2
ethernets:
enp0s1:
dhcp4: true
dhcp-identifier: "mac" tested with ubuntu 24.10 |
|
Something similar is happening to us.
Additionally, all of these have the Both the VM image I intend to run, and the host are on macOS 15.2 (Sequoia):
When the pipeline is started and tart executor prints:
I go into the runner host and check the list of VMs:
|
@gitperr this looks like unrelated issue to me. Here the VM is clearly not running (because it has failed), so it won't be possible to retrieve its IP address.
Are you running GitLab Tart Executor/Tart as Or starting it via |
Gitlab runner is running as root, so I imagine forked processes also start under root. I checked the .plist file: PS: I retried without root and it seems to work now. |
Thanks @edigaryev !
@gitperr I do not run tart is a root neither gitlab-runner. |
I can confirm that I have everything working now. |
Applying it requires superuser privileges, which Homebrew doesn't seem to support. But we can probably add a |
Yeah, you could add a sudo command in post-install , or at least mention this importation information in after-installation hint. |
That's not always possible because by default |
Hi, guys,
After the upgrade to the latest version
2.23.0
of the tart and tart-gitlab-executor1.21.0-7973405
and pulling latest ubuntu image I am having a problemThe command
tart ip
shows wrong IP address for a virtual machine and pipelines stopped to work.Please see the screenshot:
![image](https://private-user-images.githubusercontent.com/142013580/403470461-4b176166-fe7d-45e0-bacb-baee898db980.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDI5OTksIm5iZiI6MTczOTUwMjY5OSwicGF0aCI6Ii8xNDIwMTM1ODAvNDAzNDcwNDYxLTRiMTc2MTY2LWZlN2QtNDVlMC1iYWNiLWJhZWU4OThkYjk4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwMzExMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYzNiMmY1MmViY2JhYThlNWFhNDcyYjJkNDdiM2U3NzA3N2IwNTVjY2JiNjE5NmQ4OTU2YzI4NjNiMzc4NmRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.UKaSQwENqSjvL4ekVKAE0iY5x0qTEqTxmCOqd-0PAL8)
Any clue what might be wrong?
The text was updated successfully, but these errors were encountered: