Activity log for bug #1816421

Date Who What changed Old value New value Message
2019-02-18 13:40:04 Dmitrii Shcherbakov bug added bug
2019-02-19 13:01:36 Alexander Litvinov description Juju does not add an ssh public key from your local client's directory (.local/share/juju/ssh/id_rsa.pub) to a per-model cache when deploying to a model created by somebody else. This is more of a UX request, consider the following: 1) and admin creates a model for you and gives you rw rights on it; 2) you login to the target controller (via Candid in my case); 3) switch to the created model; 4) you can deploy to this model but `juju ssh` fails as your key was not imported; 5) then you do `juju add-ssh-key <key-from-local-share-juju-ssh-id_rsa.pub>` and now you can ssh there. The first impression when you encounter an authentication error is that Juju did something wrong when importing keys. If you know that `juju run` allows you to do `cat .ssh/authorized_keys` you may be able to figure it out but this is far from obvious for a novice user who is likely to be a consumer of a model (e.g. in the JAAS use-case). Juju does not add an ssh public key from your local client's directory (.local/share/juju/ssh/id_rsa.pub) to a per-model cache when deploying to a model created by somebody else. This is more of a UX request, consider the following: 1) and admin creates a model for you and gives you rw rights on it; 2) you login to the target controller (via Candid in my case); 3) switch to the created model; 4) you can deploy to this model but `juju ssh` fails as your key was not imported; 5) then you do `juju add-ssh-key "key-from-local-share-juju-ssh-id_rsa.pub"` and now you can ssh there. The first impression when you encounter an authentication error is that Juju did something wrong when importing keys. If you know that `juju run` allows you to do `cat .ssh/authorized_keys` you may be able to figure it out but this is far from obvious for a novice user who is likely to be a consumer of a model (e.g. in the JAAS use-case).
2019-02-20 12:53:18 Richard Harding juju: status New Triaged
2019-02-20 12:53:20 Richard Harding juju: importance Undecided Medium
2020-02-14 09:45:40 Dmitrii Shcherbakov description Juju does not add an ssh public key from your local client's directory (.local/share/juju/ssh/id_rsa.pub) to a per-model cache when deploying to a model created by somebody else. This is more of a UX request, consider the following: 1) and admin creates a model for you and gives you rw rights on it; 2) you login to the target controller (via Candid in my case); 3) switch to the created model; 4) you can deploy to this model but `juju ssh` fails as your key was not imported; 5) then you do `juju add-ssh-key "key-from-local-share-juju-ssh-id_rsa.pub"` and now you can ssh there. The first impression when you encounter an authentication error is that Juju did something wrong when importing keys. If you know that `juju run` allows you to do `cat .ssh/authorized_keys` you may be able to figure it out but this is far from obvious for a novice user who is likely to be a consumer of a model (e.g. in the JAAS use-case). Juju does not add an ssh public key from your local client's directory (.local/share/juju/ssh/id_rsa.pub) to a per-model cache when deploying to a model created by somebody else. This is more of a UX request, consider the following: 1) an admin creates a model for you and gives you rw rights on it; 2) you login to the target controller (via Candid in my case); 3) switch to the created model; 4) you can deploy to this model but `juju ssh` fails as your key was not imported; 5) then you do `juju add-ssh-key "key-from-local-share-juju-ssh-id_rsa.pub"` and now you can ssh there. The first impression when you encounter an authentication error is that Juju did something wrong when importing keys. If you know that `juju run` allows you to do `cat .ssh/authorized_keys` you may be able to figure it out but this is far from obvious for a novice user who is likely to be a consumer of a model (e.g. in the JAAS use-case).
2022-11-03 15:43:02 Canonical Juju QA Bot juju: importance Medium Low
2022-11-03 15:43:03 Canonical Juju QA Bot tags cpe-onsite cpe-onsite expirebugs-bot