Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
00b9fa2d
Commit
00b9fa2d
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Improve SSH known host error messages"
parents
316a42e6
78909146
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/ssh-known-host/tasks/main.yml
+14
-0
14 additions, 0 deletions
ansible/roles/ssh-known-host/tasks/main.yml
releasenotes/notes/improve-ssh-known-host-error-15fbc6ae4fa3dbd6.yaml
+6
-0
6 additions, 0 deletions
.../notes/improve-ssh-known-host-error-15fbc6ae4fa3dbd6.yaml
with
20 additions
and
0 deletions
ansible/roles/ssh-known-host/tasks/main.yml
+
14
−
0
View file @
00b9fa2d
---
# If no IP address has been configured for the host on the admin network, this
# is typically the first task to fail. Provide a friendly message with
# information on how to resolve the issue.
-
name
:
Validate SSH address
fail
:
msg
:
>-
Host {{ inventory_hostname }} has no address configured on the admin
network. IP addresses may be manually configured in
'network-allocations.yml', or are automatically allocated during the
following commands: 'kayobe seed hypervisor host configure', 'kayobe
seed host configure', 'kayobe overcloud host configure', 'kayobe seed
vm provision' and 'kayobe overcloud inventory discover'.
when
:
not ansible_host | default(inventory_hostname)
-
name
:
Scan for SSH keys
local_action
:
module
:
command ssh-keyscan {{ item }}
...
...
This diff is collapsed.
Click to expand it.
releasenotes/notes/improve-ssh-known-host-error-15fbc6ae4fa3dbd6.yaml
0 → 100644
+
6
−
0
View file @
00b9fa2d
---
fixes
:
-
|
Improves error message seen when discovering SSH known hosts for a host
without an IP address defined in
``${KAYOBE_CONFIG_PATH}/network-allocation.yml``.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment