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

ssh unable to authenticate with Ubuntu 22.04 #366

Closed
quadespresso opened this issue May 4, 2022 · 8 comments · Fixed by #368
Closed

ssh unable to authenticate with Ubuntu 22.04 #366

quadespresso opened this issue May 4, 2022 · 8 comments · Fixed by #368
Assignees

Comments

@quadespresso
Copy link
Contributor

Overview

Launchpad hits an ssh: unable to authenticate issue when dealing with Ubuntu 22.04.

Of particular interest: I've hit this same issue with Packer, testkit, and terraform. All tools that are written in Go.

Details

The issue at hand:

[2022-05-04 18:38:06] INFO ==> Running phase: Open Remote Connection
[2022-05-04 18:38:07] DEBU phase 'Open Remote Connection' took 0s
[2022-05-04 18:38:07] DEBU tracking analytics event 'Check For Upgrades'
[2022-05-04 18:38:07] DEBU tracking analytics event 'Cluster Apply Failed'
[2022-05-04 18:38:07] INFO See /Users/jimcarroll/.mirantis-launchpad/cluster/testkit/apply.log for more logs
[2022-05-04 18:38:07] FATA failed on 1 hosts:
[2022-05-04 18:38:07]  - [ssh] 34.219.84.22:22: All attempts fail:
[2022-05-04 18:38:07] #1: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

(Pardon the leading timestamps... those are part of my personal setup.)

My launchpad.yaml:

"apiVersion": "launchpad.mirantis.com/mke/v1.3"
"kind": "mke"
"metadata":
  "name": "testkit"
"spec":
  "cluster":
    "prune": false
  "hosts":
    - "hooks":
        "apply":
          "after":
            - ""
          "before":
            - ""
      "role": "manager"
      "ssh":
        "address": "34.219.84.22"
        "keyPath": "~/.ssh/jimc-core-oregon.pem"
        "user": "docker"
  "mcr":
    "channel": "test"
    "installURLLinux": "https://get.mirantis.com/"
    "installURLWindows": "https://get.mirantis.com/install.ps1"
    "repoURL": "https://repos-internal.mirantis.com"
    "version": "20.10.11"
  "mke":
    "adminPassword": "--REDACTED--"
    "adminUsername": "admin"
    "imageRepo": "docker.io/mirantis"
    "installFlags":
      - "--default-node-orchestrator=kubernetes"
      - "--cloud-provider=aws"
    "upgradeFlags":
      - "--force-recent-backup"
      - "--force-minimums"
    "version": "3.5.3"

Manual ssh check

Added verification: I can confirm that I can ssh into the same instance (below) that fails with launchpad (above):

❯ ssh -i ~/.ssh/jimc-core-oregon.pem [email protected]
Warning: Permanently added '34.219.84.22' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1005-aws x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed May  4 23:52:19 UTC 2022

  System load:  0.0               Processes:             108
  Usage of /:   5.2% of 38.60GB   Users logged in:       0
  Memory usage: 3%                IPv4 address for ens5: 172.31.14.61
  Swap usage:   0%

 * Ubuntu Pro delivers the most comprehensive open source security and
   compliance features.

   https://ubuntu.com/aws/pro

0 updates can be applied immediately.


The list of available updates is more than a week old.
To check for new updates run: sudo apt update

Last login: Wed May  4 23:38:39 2022 from 47.186.105.173
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

docker@ip-172-31-14-61:~$ grep PRETTY /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"

See also

@kke
Copy link
Collaborator

kke commented May 5, 2022

This was fixed in k0sproject/rig#48 which is also used by launchpad but the dependency needs to be updated, which requires some changes as there are some incompatible changes.

@cstever1987
Copy link

cstever1987 commented May 9, 2022

@kke Can you please clarify whether this dependency will be updated and when? Being unable to resolve this prevents us from deploying Ubuntu 22.04 via launchpad. We are being asked to support it likely for the summer and would need a workaround or resolution on this before then.

@stevenjohnstone
Copy link

#348 is related. I worked around this using an ECDSA ssh key.

@quadespresso
Copy link
Contributor Author

I had previously gone down the path of trying to use an ECDSA key, ie, within terraform (which suffers the same issue). I kept going around in circles until today, upon finding this helpful tidbit:

hashicorp/terraform-provider-aws#24025

I can confirm launchpad now works using the ECDSA workaround, at least when using a local build that incorporates this PR: #367

@kke
Copy link
Collaborator

kke commented May 11, 2022

@cstever1987 I'll try to get that done this week then

@kke kke self-assigned this May 11, 2022
This was referenced May 11, 2022
@kke
Copy link
Collaborator

kke commented May 12, 2022

#368 should fix the authentication part, there's binaries attached to the PR if someone wants to try it out.

@cstever1987
Copy link

Thank you for your hard work on this Kimmo! I'll have Jim use the binaries today and reply with yay or nay!

@quadespresso
Copy link
Contributor Author

#368 should fix the authentication part, there's binaries attached to the PR if someone wants to try it out.

I downloaded the binary and had a go using an RSA ssh key:

Click to expand!
[2022-05-12 10:49:36] DEBU tracking analytics event 'Cluster Apply Started'
[2022-05-12 10:49:36] DEBU opened config file from /Users/jimcarroll/sandbox/terraform/U0/launchpad.yaml
[2022-05-12 10:49:36] DEBU migrated configuration from launchpad.mirantis.com/v1.2 to launchpad.mirantis.com/mke/v1.3
[2022-05-12 10:49:36] INFO Note: The configuration has been migrated from a previous version
[2022-05-12 10:49:36] INFO       to see the migrated configuration use: launchpad describe config
[2022-05-12 10:49:36] DEBU loaded configuration:
[2022-05-12 10:49:36] apiVersion: launchpad.mirantis.com/mke/v1.4
[2022-05-12 10:49:36] kind: mke
[2022-05-12 10:49:36] metadata:
[2022-05-12 10:49:36]   name: manual
[2022-05-12 10:49:36] spec:
[2022-05-12 10:49:36]   cluster:
[2022-05-12 10:49:36]     prune: false
[2022-05-12 10:49:36]   hosts:
[2022-05-12 10:49:36]   - hooks:
[2022-05-12 10:49:36]       apply:
[2022-05-12 10:49:36]         after:
[2022-05-12 10:49:36]         - ""
[2022-05-12 10:49:36]         before:
[2022-05-12 10:49:36]         - ""
[2022-05-12 10:49:36]     role: manager
[2022-05-12 10:49:36]     ssh:
[2022-05-12 10:49:36]       address: 44.227.242.29
[2022-05-12 10:49:36]       keyPath: ~/.ssh/jimc-core-oregon.pem
[2022-05-12 10:49:36]       user: ubuntu
[2022-05-12 10:49:36]   mcr:
[2022-05-12 10:49:36]     channel: test
[2022-05-12 10:49:36]     installURLLinux: https://get.mirantis.com/
[2022-05-12 10:49:36]     installURLWindows: https://get.mirantis.com/install.ps1
[2022-05-12 10:49:36]     repoURL: https://repos-internal.mirantis.com
[2022-05-12 10:49:36]     version: 20.10.11
[2022-05-12 10:49:36]   mke:
[2022-05-12 10:49:36]     adminPassword: --REDACTED--
[2022-05-12 10:49:36]     adminUsername: admin
[2022-05-12 10:49:36]     imageRepo: docker.io/mirantis
[2022-05-12 10:49:36]     installFlags:
[2022-05-12 10:49:36]     - --default-node-orchestrator=kubernetes
[2022-05-12 10:49:36]     - --cloud-provider=aws
[2022-05-12 10:49:36]     upgradeFlags:
[2022-05-12 10:49:36]     - --force-recent-backup
[2022-05-12 10:49:36]     - --force-minimums
[2022-05-12 10:49:36]     version: 3.5.3
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]                        ..,,,,,..
[2022-05-12 10:49:36]               .:i1fCG0088@@@@@880GCLt;,               .,,::::::,,...
[2022-05-12 10:49:36]          ,;tC0@@@@@@@@@@@@@@@@@@@@@@@@@0:,     .,:ii111i;:,,..
[2022-05-12 10:49:36]       ,;1ttt1;;::::;;itfCG8@@@@@@@@@i @@@@0fi1t111i;,.
[2022-05-12 10:49:36]      .,.                  .:1L0@@   @8GCft111ii1;
[2022-05-12 10:49:36]                                :f0CLft1i;i1tL . @8Cti:.               .,:,.
[2022-05-12 10:49:36]                            .:;i1111i;itC;  @@@@@@@@@@@80GCLftt11ttfLLLf1:.
[2022-05-12 10:49:36]                     .,:;ii1111i:,.    , G8@@@@@@@@@@@@@@@@@@@@@@@0Lt;,
[2022-05-12 10:49:36]             ...,,::;;;;::,.               ,;itfLCGGG0GGGCLft1;:.
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]    ;1:      i1, .1, .11111i:      .1i     :1;     ,1, i11111111: ;i   ;1111;
[2022-05-12 10:49:36]    G@GC:  1G0@i ;@1 ;@t:::;G0.   .0G8f    L@GC:   i@i :;;;@G;;;, C@ .80i:,:;
[2022-05-12 10:49:36]    C8 10CGC::@i :@i :@f:;;;CG.  .0G ,@L   [email protected], ;@;     @L     L@. tLft1;.
[2022-05-12 10:49:36]    G8   1;  ;@i ;@i :@L11C@t   ,08fffL@L  L@.  10fi@;    .@L     L@.    .:t@1
[2022-05-12 10:49:36]    C0       ;@i :@i :@i   ;Gf..0C     ,8L f@.   .f0@;    .8L     L8  fft11fG;
[2022-05-12 10:49:36]    ..        .   .   ..     ,..,        , ..      ..      ..     ..  .,:::,
[2022-05-12 10:49:36]
[2022-05-12 10:49:36]    Mirantis Launchpad (c) 2021 Mirantis, Inc.                          vdev
[2022-05-12 10:49:36]
[2022-05-12 10:49:36] DEBU preparing phase 'Check For Upgrades'
[2022-05-12 10:49:36] INFO ==> Running phase: Check For Upgrades
[2022-05-12 10:49:36] DEBU phase 'Check For Upgrades' took 0s
[2022-05-12 10:49:36] DEBU preparing phase 'Open Remote Connection'
[2022-05-12 10:49:36] INFO ==> Running phase: Open Remote Connection
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: executing `uname | grep -q Linux`
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: executing `cat /etc/os-release || cat /usr/lib/os-release`
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: PRETTY_NAME="Ubuntu 22.04 LTS"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: NAME="Ubuntu"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: VERSION_ID="22.04"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: VERSION="22.04 LTS (Jammy Jellyfish)"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: VERSION_CODENAME=jammy
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: ID=ubuntu
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: ID_LIKE=debian
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: HOME_URL="https://www.ubuntu.com/"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: SUPPORT_URL="https://help.ubuntu.com/"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: UBUNTU_CODENAME=jammy
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: executing `[ "$(id -u)" = 0 ]`
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: executing `sudo -n true`
[2022-05-12 10:49:37] INFO [ssh] 44.227.242.29:22: testing connection
[2022-05-12 10:49:37] DEBU [ssh] 44.227.242.29:22: executing `echo`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22:
[2022-05-12 10:49:38] DEBU phase 'Open Remote Connection' took 0s
[2022-05-12 10:49:38] DEBU preparing phase 'Detect host operating systems'
[2022-05-12 10:49:38] INFO ==> Running phase: Detect host operating systems
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: is running Ubuntu 22.04 LTS
[2022-05-12 10:49:38] DEBU phase 'Detect host operating systems' took 0s
[2022-05-12 10:49:38] DEBU preparing phase 'Gather Facts'
[2022-05-12 10:49:38] INFO ==> Running phase: Gather Facts
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: gathering host facts
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `sudo -n true`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `docker version -f "{{.Server.Version}}"`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: (stderr) bash: line 1: docker: command not found
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: mirantis container runtime not installed
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `hostname 2> /dev/null`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: ip-172-31-55-128
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `hostname -f 2> /dev/null`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: ip-172-31-55-128.us-west-2.compute.internal
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH; (ip route list scope global | grep -P "\b(172|10|192\.168)\.") || (ip route list | grep -m1 default)`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: default via 172.31.48.1 dev ens5 proto dhcp src 172.31.55.128 metric 100
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: 172.31.0.2 via 172.31.48.1 dev ens5 proto dhcp src 172.31.55.128 metric 100
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: detected private interface 'ens5'
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH ip -o addr show dev ens5 scope global`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: 2: ens5    inet 172.31.55.128/20 metric 100 brd 172.31.63.255 scope global dynamic ens5\       valid_lft 3446sec preferred_lft 3446sec
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: using 172.31.55.128 as private IP
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: is running "Ubuntu 22.04 LTS"
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: internal address: 172.31.55.128
[2022-05-12 10:49:38] INFO [ssh] 44.227.242.29:22: gathered all facts
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `sudo docker info --format "{{ .Swarm.ControlAvailable}}"`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: (stderr) sudo: docker: command not found
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: failed to get host's swarm leader status, probably not part of swarm
[2022-05-12 10:49:38] DEBU did not find a real swarm manager, fallback to first manager host
[2022-05-12 10:49:38] DEBU phase 'Gather Facts' took 0s
[2022-05-12 10:49:38] DEBU preparing phase 'Validate Facts'
[2022-05-12 10:49:38] INFO ==> Running phase: Validate Facts
[2022-05-12 10:49:38] WARN [ssh] 44.227.242.29:22: added manager node's public address to mke installFlag SANs: --san=44.227.242.29
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- getenforce | grep -iq enforcing 2> /dev/null`
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: (stderr) /bin/bash: line 1: getenforce: command not found
[2022-05-12 10:49:38] DEBU did not find a MSR installation, falling back to the first MSR host
[2022-05-12 10:49:38] DEBU validating data plane settings
[2022-05-12 10:49:38] DEBU phase 'Validate Facts' took 0s
[2022-05-12 10:49:38] DEBU preparing phase 'Validate Hosts'
[2022-05-12 10:49:38] INFO ==> Running phase: Validate Hosts
[2022-05-12 10:49:38] DEBU [ssh] 44.227.242.29:22: executing `sudo hostname --all-ip-addresses`
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: 172.31.55.128
[2022-05-12 10:49:39] INFO validating hostname uniqueness
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: executing `sudo ping -c 1 -w 1 -r localhost`
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: PING localhost (127.0.0.1) 56(84) bytes of data.
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.020 ms
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22:
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: --- localhost ping statistics ---
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: 1 packets transmitted, 1 received, 0% packet loss, time 0ms
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: rtt min/avg/max/mdev = 0.020/0.020/0.020/0.000 ms
[2022-05-12 10:49:39] DEBU phase 'Validate Hosts' took 0s
[2022-05-12 10:49:39] DEBU preparing phase 'Download Mirantis Container Runtime installer'
[2022-05-12 10:49:39] INFO ==> Running phase: Download Mirantis Container Runtime installer
[2022-05-12 10:49:39] INFO downloading container runtime install script from https://get.mirantis.com/
[2022-05-12 10:49:39] DEBU read 13565 bytes from https://get.mirantis.com/
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: checking if host is windows
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: executing `cmd.exe /c exit 0`
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: (stderr) bash: line 1: cmd.exe: command not found
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: host is windows: false
[2022-05-12 10:49:39] DEBU phase 'Download Mirantis Container Runtime installer' took 0s
[2022-05-12 10:49:39] DEBU preparing phase 'Run Before Apply Hooks'
[2022-05-12 10:49:39] INFO ==> Running phase: Run Before Apply Hooks
[2022-05-12 10:49:39] INFO [ssh] 44.227.242.29:22: Executing:
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: executing ``
[2022-05-12 10:49:39] DEBU phase 'Run Before Apply Hooks' took 0s
[2022-05-12 10:49:39] DEBU preparing phase 'Prepare hosts'
[2022-05-12 10:49:39] INFO ==> Running phase: Prepare hosts
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: no environment variables specified for the host
[2022-05-12 10:49:39] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:49:39] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:49:39] Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
[2022-05-12 10:49:39] DEBU [ssh] 44.227.242.29:22: Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease [90.7 kB]
[2022-05-12 10:49:40] Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
[2022-05-12 10:49:40] DEBU [ssh] 44.227.242.29:22: Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
[2022-05-12 10:49:40] Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
[2022-05-12 10:49:40] Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
[2022-05-12 10:49:40] Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
[2022-05-12 10:49:40] Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
[2022-05-12 10:49:40] Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]
[2022-05-12 10:49:40] Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [126 kB]
[2022-05-12 10:49:40] Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [32.6 kB]
[2022-05-12 10:49:40] Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [2200 B]
[2022-05-12 10:49:40] Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [56.2 kB]
[2022-05-12 10:49:40] Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [9436 B]
[2022-05-12 10:49:40] Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [80.5 kB]
[2022-05-12 10:49:40] Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [24.7 kB]
[2022-05-12 10:49:40] Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [1164 B]
[2022-05-12 10:49:40] Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [116 B]
[2022-05-12 10:49:40] Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [112 B]
[2022-05-12 10:49:40] Get:21 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
[2022-05-12 10:49:40] Get:22 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [116 B]
[2022-05-12 10:49:40] Get:23 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
[2022-05-12 10:49:40] Get:24 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [69.5 kB]
[2022-05-12 10:49:40] Get:25 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [18.9 kB]
[2022-05-12 10:49:40] Get:26 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [1124 B]
[2022-05-12 10:49:40] Get:27 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [50.5 kB]
[2022-05-12 10:49:40] Get:28 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [14.5 kB]
[2022-05-12 10:49:40] Get:29 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [628 B]
[2022-05-12 10:49:40] Get:30 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [116 B]
[2022-05-12 10:49:43] Fetched 21.2 MB in 3s (6319 kB/s)      kages store 0 B] [30 Commands
[2022-05-12 10:49:48] Reading package lists... Done eading package lists... 0%
[2022-05-12 10:49:48] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:49:48] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:49:48] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:49] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:49:49] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:49:49] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:49:49] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:49:49] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:49:50] Reading package lists... Done % [Working]
[2022-05-12 10:49:50] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:49:50] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:49:51] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:51] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:49:51] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:49:51] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:49:51] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:49:51] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:49:52] Reading package lists... Done % [Working]
[2022-05-12 10:49:52] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:49:52] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:49:53] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:53] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:49:53] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:49:53] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:49:53] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:49:53] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:49:54] Reading package lists... Done % [Working]
[2022-05-12 10:49:54] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:49:54] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:49:55] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:55] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:49:56] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:49:56] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:49:56] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:49:56] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:49:57] Reading package lists... Done % [Working]
[2022-05-12 10:49:57] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:49:58] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:49:59] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:49:59] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:50:00] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:50:00] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:50:00] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:50:00] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:50:01] Reading package lists... Done % [Working]
[2022-05-12 10:50:01] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:50:01] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:50:05] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:50:05] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:50:05] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:50:05] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:50:05] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:50:05] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:50:07] Reading package lists... Done % [Working]
[2022-05-12 10:50:07] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:50:07] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:50:14] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:50:14] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:50:14] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:50:14] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:50:14] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:50:14] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:50:15] Reading package lists... Done % [Working]
[2022-05-12 10:50:16] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:50:16] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:50:28] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:50:29] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:50:29] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:50:29] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:50:29] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:50:29] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:50:30] Reading package lists... Done % [Working]
[2022-05-12 10:50:31] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:50:31] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:50:56] INFO [ssh] 44.227.242.29:22: installing base packages
[2022-05-12 10:50:56] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- apt-get update`
[2022-05-12 10:50:57] Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease
[2022-05-12 10:50:57] Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
[2022-05-12 10:50:57] DEBU [ssh] 44.227.242.29:22: Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
[2022-05-12 10:50:57] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease m (
[2022-05-12 10:50:58] Reading package lists... Done % [Working]
[2022-05-12 10:50:58] DEBU [ssh] 44.227.242.29:22: executing `sudo -s -- DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl apt-utils socat iputils-ping`
[2022-05-12 10:50:58] DEBU [ssh] 44.227.242.29:22: /bin/bash: line 1: DEBIAN_FRONTEND=noninteractive: command not found
[2022-05-12 10:50:58] ERRO [ssh] 44.227.242.29:22: failed to install base packages -> All attempts fail:
[2022-05-12 10:50:58] #1: Process exited with status 127
[2022-05-12 10:50:58] #2: Process exited with status 127
[2022-05-12 10:50:58] #3: Process exited with status 127
[2022-05-12 10:50:58] #4: Process exited with status 127
[2022-05-12 10:50:58] #5: Process exited with status 127
[2022-05-12 10:50:58] #6: Process exited with status 127
[2022-05-12 10:50:58] #7: Process exited with status 127
[2022-05-12 10:50:58] #8: Process exited with status 127
[2022-05-12 10:50:58] #9: Process exited with status 127
[2022-05-12 10:50:58] #10: Process exited with status 127
[2022-05-12 10:50:58] ERRO All attempts fail:
[2022-05-12 10:50:58] #1: Process exited with status 127
[2022-05-12 10:50:58] #2: Process exited with status 127
[2022-05-12 10:50:58] #3: Process exited with status 127
[2022-05-12 10:50:58] #4: Process exited with status 127
[2022-05-12 10:50:58] #5: Process exited with status 127
[2022-05-12 10:50:58] #6: Process exited with status 127
[2022-05-12 10:50:58] #7: Process exited with status 127
[2022-05-12 10:50:58] #8: Process exited with status 127
[2022-05-12 10:50:58] #9: Process exited with status 127
[2022-05-12 10:50:58] #10: Process exited with status 127
[2022-05-12 10:50:58] DEBU phase 'Prepare hosts' took 1m0s
[2022-05-12 10:50:58] DEBU tracking analytics event 'Prepare hosts'
[2022-05-12 10:50:58] DEBU tracking analytics event 'Download Mirantis Container Runtime installer'
[2022-05-12 10:50:58] DEBU tracking analytics event 'Validate Hosts'
[2022-05-12 10:50:58] DEBU tracking analytics event 'Validate Facts'
[2022-05-12 10:50:58] DEBU tracking analytics event 'Gather Facts'
[2022-05-12 10:50:58] DEBU tracking analytics event 'Detect host operating systems'
[2022-05-12 10:50:59] DEBU tracking analytics event 'Check For Upgrades'
[2022-05-12 10:50:59] DEBU tracking analytics event 'Cluster Apply Failed'
[2022-05-12 10:50:59] INFO See /Users/jimcarroll/.mirantis-launchpad/cluster/manual/apply.log for more logs
[2022-05-12 10:50:59] FATA failed on 1 hosts:
[2022-05-12 10:50:59]  - [ssh] 44.227.242.29:22: All attempts fail:
[2022-05-12 10:50:59] #1: Process exited with status 127
[2022-05-12 10:50:59] #2: Process exited with status 127
[2022-05-12 10:50:59] #3: Process exited with status 127
[2022-05-12 10:50:59] #4: Process exited with status 127
[2022-05-12 10:50:59] #5: Process exited with status 127
[2022-05-12 10:50:59] #6: Process exited with status 127
[2022-05-12 10:50:59] #7: Process exited with status 127
[2022-05-12 10:50:59] #8: Process exited with status 127
[2022-05-12 10:50:59] #9: Process exited with status 127
[2022-05-12 10:50:59] #10: Process exited with status 127

Seems to be working!

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

Successfully merging a pull request may close this issue.

4 participants