← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1950333] Re: Misleading ssh_redirect_user warning

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3924

** Bug watch added: github.com/canonical/cloud-init/issues #3924
   https://github.com/canonical/cloud-init/issues/3924

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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/1950333

Title:
  Misleading ssh_redirect_user warning

Status in cloud-init:
  Expired

Bug description:
  On an Oracle instance containing this:
  cat /etc/cloud/cloud.cfg.d/99-oracle-compute-user-redirect.cfg 
  # CLOUD_IMG: This file was created/modified by the Cloud Image build process
  users:
    - default
    - name: opc
      ssh_redirect_user: true

  We get a WARNING in the log with this:
  __init__.py[WARNING]: Unable to disable SSH logins for opc given ssh_redirect_user: ubuntu. No cloud public-keys present.

  Given that the user specified `ssh_redirect_user: true`, seeing
  `ubuntu` here is strange and misleading, even though the value has
  been changed for good reason.

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



References