Project

General

Profile

Actions

action #76786

closed

openQA Project (public) - coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

Configure static hostnames with salt for all salt nodes

Added by okurz about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See https://progress.opensuse.org/issues/75445#note-5 . As a fallback if the initial network configuration takes a bit we should have the static hostnames properly configured. This likely also makes logs a bit more readable when the hostname in the log is something we "know"

Acceptance criteria

  • AC1: All salt nodes currently covered by gitlab.suse.de/openqa/salt-states-openqa and gitlab.suse.de/openqa/salt-pillars-openqa have a static hostname configured with salt

Suggestions

Further details

Currently some hosts have a static hostname defined that can interfer with operations

openqa:~ # salt -l error -C '*' cmd.run 'hostnamectl | grep "suse$"'
openqaworker8.suse.de:
openqaworker3.suse.de:
       Static hostname: linux-5h37.suse
openqaworker5.suse.de:
openqaworker6.suse.de:
openqaworker2.suse.de:
       Static hostname: linux-1nn1.suse
openqaworker9.suse.de:
       Static hostname: linux-q6bp.suse
grenache-1.qa.suse.de:
openqa-monitor.qa.suse.de:
openqaworker10.suse.de:
QA-Power8-4-kvm.qa.suse.de:
openqaworker13.suse.de:
openqaworker-arm-3.suse.de:
openqaworker-arm-1.suse.de:
openqa.suse.de:
openqaworker-arm-2.suse.de:
QA-Power8-5-kvm.qa.suse.de:

Related issues 2 (0 open2 closed)

Related to openQA Infrastructure (public) - action #76783: research how hostnames with systemd work and make them static for all OSD related machinesResolvedokurz2020-10-29

Actions
Copied from openQA Infrastructure (public) - action #75445: unknown dashboards for "linux-fwcx" and "localhost" reappearing on monitor.qaResolvedokurz2020-10-28

Actions
Actions

Also available in: Atom PDF