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

Misleading ssh_redirect_user warning #3924

Open
ubuntu-server-builder opened this issue May 12, 2023 · 0 comments
Open

Misleading ssh_redirect_user warning #3924

ubuntu-server-builder opened this issue May 12, 2023 · 0 comments
Labels
bug Something isn't working correctly good first issue launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1950333

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = None
date_created = 2021-11-09T14:56:44.541823+00:00
date_fix_committed = None
date_fix_released = None
id = 1950333
importance = low
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1950333
milestone = None
owner = falcojr
owner_name = James Falcon
private = False
status = triaged
submitter = falcojr
submitter_name = James Falcon
tags = ['bitesize']
duplicates = []

Launchpad user James Falcon(falcojr) wrote on 2021-11-09T14:56:44.541823+00:00

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.

@ubuntu-server-builder ubuntu-server-builder added bug Something isn't working correctly good first issue launchpad Migrated from Launchpad labels May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly good first issue launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant