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

cgroups issue #56

Open
beliaev-maksim opened this issue Apr 22, 2023 · 3 comments
Open

cgroups issue #56

beliaev-maksim opened this issue Apr 22, 2023 · 3 comments
Assignees

Comments

@beliaev-maksim
Copy link
Member

Bug Description

Cannot use services from snap since there is some issue with cgroups

To Reproduce

create GH runner instance and run following code

sudo snap install firefox
mkdir ~/bin
ln -s /snap/bin/firefox.geckodriver ~/bin/geckodriver
~/bin/geckodriver --version

Environment

Relevant log output

-

Additional context

I have workarounded the issue by


export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
echo "$(id -u)"
loginctl enable-linger $USER
sudo apt-get install dbus-user-session -yqq
systemctl --user start dbus.service

need to solidify the solution on LXD machines from the charm side

@cbartz cbartz self-assigned this Nov 11, 2024
@cbartz
Copy link
Collaborator

cbartz commented Nov 11, 2024

There are no issues using openstack cloud mode with rev 290: https://github.com/canonical/cbartz-runner-testing/actions/runs/11773520890/job/32790565230

cbartz added a commit to cbartz/gh-runner-test that referenced this issue Nov 11, 2024
@cbartz
Copy link
Collaborator

cbartz commented Nov 11, 2024

There are still issues using runners on LXD cloud (rev 282): https://github.com/cbartz/gh-runner-test/actions/runs/11774021950/job/32791875659#step:3:10

/system.slice/lxd-agent.service is not a snap cgroup
Error: Process completed with exit code 1.

@cbartz
Copy link
Collaborator

cbartz commented Nov 11, 2024

Created Jira ticket: https://warthogs.atlassian.net/browse/ISD-2732

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

No branches or pull requests

2 participants