juju run doesn't after upgrade to 1.20.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Tim Penhey | ||
1.20 |
Fix Released
|
Critical
|
Tim Penhey | ||
1.21 |
Fix Released
|
Critical
|
Tim Penhey |
Bug Description
Both Juju CI and a production env on bootstack cannot use juju run. We see output like this:
- MachineId: "6"
ReturnCode: 255
Stderr: "Warning: Identity file /var/lib/
such file or directory.
Stdout: ""
Most machines do *not* have /var/lib/
This might be a red herring because in Juju CI's case, machine 6 does have system-identity
ls -l /var/lib/
-rw------- 1 root root 1679 Apr 2 2014 /var/lib/
We have confirmed that we can ssh and execute scripts on the machines, but we don't get the juju context provided by juju run
tags: | added: regression |
tags: | added: canonical-bootstack |
summary: |
- juju run doen't after upgrade to 1.20.11 + juju run doesn't after upgrade to 1.20.11 |
Changed in juju-core: | |
assignee: | nobody → Tim Penhey (thumper) |
no longer affects: | juju-core/1.21 |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I got hit by this also, in my case for a 1.18.4 -> 1.19.4 -> 1.20.11 upgrade.
As additional data point, the file was there at node0 before the upgrade
(while still at 1.18.4):
root@node0:~# locate system-identity juju/system- identity juju/system- identity juju/system- identity: No such file or directory
/var/lib/
root@node0:~# ls -l /var/lib/
ls: cannot access /var/lib/