← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1950333] [NEW] Misleading ssh_redirect_user warning

 

Public bug reported:

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.

** Affects: cloud-init
     Importance: Low
         Status: Triaged


** Tags: bitesize

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

** Changed in: cloud-init
   Importance: Undecided => Low

** Tags added: bitesize

-- 
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:
  Triaged

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



Follow ups