← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1924922] [NEW] ssh-import-id gives bad handshake

 

Public bug reported:

Ubuntu 20.04 server runs with user data as below,  yet it raises the
error from launchpad.net

2020-04-01 17:24:18,815 ERROR HTTPSConnectionPool(host='launchpad.net', port=443): Max retries exceeded with url: /~aniecki/+sshkeys (C
aused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
Cloud-init v. 20.4.1-0ubuntu1~20.04.1 running 'modules:config' at Wed, 01 Apr 2020 17:24:17 +0000. Up 42.20 seconds.

Apparently this is the error because the host time is not yet synch up,
but the ntp is also set there,


#cloud-config

ntp:
  enabled: true
  ntp_client: chrony

users:
  - name: kevo
    primary-group: users
    shell: /bin/bash
    sudo: ALL=(ALL) NOPASSWD:ALL
    groups: users
    ssh_import_id: aniecki
    lock_passwd: true
    ssh_pwauth: false

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1924922

Title:
  ssh-import-id gives bad handshake

Status in cloud-init:
  New

Bug description:
  Ubuntu 20.04 server runs with user data as below,  yet it raises the
  error from launchpad.net

  2020-04-01 17:24:18,815 ERROR HTTPSConnectionPool(host='launchpad.net', port=443): Max retries exceeded with url: /~aniecki/+sshkeys (C
  aused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
  Cloud-init v. 20.4.1-0ubuntu1~20.04.1 running 'modules:config' at Wed, 01 Apr 2020 17:24:17 +0000. Up 42.20 seconds.

  Apparently this is the error because the host time is not yet synch
  up, but the ntp is also set there,

  
  #cloud-config

  ntp:
    enabled: true
    ntp_client: chrony

  users:
    - name: kevo
      primary-group: users
      shell: /bin/bash
      sudo: ALL=(ALL) NOPASSWD:ALL
      groups: users
      ssh_import_id: aniecki
      lock_passwd: true
      ssh_pwauth: false

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1924922/+subscriptions


Follow ups