bootstrap fails with fork/exec /usr/bin/ssh: permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Fix Committed
|
High
|
Guillaume Boutry |
Bug Description
2023.2/edge, testing MAAS deployments
When running sunbeam cluster bootstrap -m manifest.yaml it deploys juju controller but cannot connect to it and cancels the bootstrap.
During that time I am able to ssh manually.
Running with debug I saw this
15:46:36 INFO cmd bootstrap.go:334 - yfcmft (arch=amd64 mem=4G cores=2)
15:46:36 INFO juju.environs.
15:46:36 INFO juju.environs.
15:46:36 INFO cmd bootstrap.go:629 Installing Juju agent on bootstrap instance
15:54:38 DEBUG juju.cloudconfi
Waiting for address
15:54:39 DEBUG juju.provider.maas instance.go:88 "juju-1" has addresses ["local-
Attempting to connect to 10.244.40.102:22
15:54:39 DEBUG juju.provider.
15:54:44 DEBUG juju.provider.
15:54:49 DEBUG juju.provider.maas instance.go:88 "juju-1" has addresses ["local-
15:54:49 DEBUG juju.provider.
15:54:54 DEBUG juju.provider.
15:54:59 DEBUG juju.provider.
Message repeats many times and then cancels the process
Changed in snap-openstack: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Guillaume Boutry (gboutry) |
As suggested by @gboutry `sudo snap connect openstack:ssh-keys` helped