juju 3.0.0 unable to bootstrap on fresh machine
Bug #1988355 reported by
Caner Derici
This bug affects 18 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned | ||
snapd |
Confirmed
|
Medium
|
Alberto Mardegan |
Bug Description
This recently popped up in our pylibjuju CI tests with juju --channel=
Problem is, after
`sudo snap install juju --channel latest/edge --classic`
Warning: flag --classic ignored for strictly confined snap juju
`juju bootstrap localhost test `
fails with:
ERROR cannot load ssh client keys: mkdir /home/jenkins/
This is probably because the juju latest/edge is a strictly confined snap, it doesn't have the permissions to create (parent) directories. @jnsgruk reported on MM that things start to work after manually running `mkdir -p ~/.local/share`.
tags: | added: bootstrap |
Changed in juju: | |
status: | New → Triaged |
milestone: | none → 3.0-rc1 |
importance: | Undecided → High |
Changed in snapd: | |
status: | New → Incomplete |
importance: | Undecided → Medium |
assignee: | nobody → Alberto Mardegan (mardy) |
Changed in juju: | |
milestone: | 3.0-rc1 → none |
Changed in juju: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in juju: | |
milestone: | 3.0.2 → 3.0.3 |
tags: | added: cdo-qa |
To post a comment you must log in.
Hi Caner, I created a branch in snapd which could fix the issue: https:/ /github. com/snapcore/ snapd/pull/ 12111
But I'm not sure it does, because it depends on the setup you have in the test machine (and how you create the jenkins user). Can you please check what is the output of the command
ps -fe | grep userd
in the test machine?
I can also try to create a snapd build for you to test. Which binary architecture are you using?