Misleading ssh_redirect_user warning

Bug #1950333 reported by James Falcon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Low
Unassigned

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.

Tags: bitesize
James Falcon (falcojr)
Changed in cloud-init:
status: New → Triaged
importance: Undecided → Low
tags: added: bitesize
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.