instancemonitor fails if hypervisors are registered with their fqdn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu Cloud Archive |
Medium
|
Unassigned | ||
| Stein |
Medium
|
Unassigned | ||
| Train |
Medium
|
Unassigned | ||
| Ussuri |
Medium
|
Unassigned | ||
| masakari-monitors |
Undecided
|
Tushar Patil | ||
| masakari-monitors (Ubuntu) |
Medium
|
Unassigned | ||
| Eoan |
Medium
|
Unassigned | ||
| Focal |
Medium
|
Unassigned |
Bug Description
When instance-monitor sends a notification that an instance is down it uses the bare hostname which will result in a host not found error being returned by the masakari api service. The code that sends notifications of instances being down will always return the bare hostname ( https:/
Example of error:
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
2020-03-09 15:06:13.395 13338 ERROR masakarimonitor
Changed in masakari-monitors: | |
assignee: | nobody → Liam Young (gnuoy) |
status: | New → In Progress |
Changed in masakari-monitors (Ubuntu Eoan): | |
status: | New → Triaged |
Changed in masakari-monitors (Ubuntu Focal): | |
status: | New → Triaged |
Changed in masakari-monitors (Ubuntu Eoan): | |
importance: | Undecided → Medium |
Changed in masakari-monitors (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in masakari-monitors: | |
assignee: | Liam Young (gnuoy) → Tushar Patil (tpatil) |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 85dda1b0ebab75a
Author: Liam Young <email address hidden>
Date: Mon Mar 9 17:10:59 2020 +0000
Check config file for hostname
When sending an alert from the instancemonitor check the monitors
config file for the hostname before sending the alert.
Change-Id: If11aa1abb11429
Closes-Bug: #1866638
Changed in masakari-monitors: | |
status: | In Progress → Fix Released |
Brian Murray (brian-murray) wrote : | #3 |
The Eoan Ermine has reached end of life, so this bug will not be fixed for that release
Changed in masakari-monitors (Ubuntu Eoan): | |
status: | Triaged → Won't Fix |
Change abandoned by Radosław Piliszek (<email address hidden>) on branch: stable/train
Review: https:/
Reason: see my last comment
Change abandoned by Radosław Piliszek (<email address hidden>) on branch: stable/stein
Review: https:/
Reason: see my last comment
Fix proposed to branch: master /review. opendev. org/711954
Review: https:/