-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Milestone
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
UI, HOST
CLOUDSTACK VERSION
4.19.1.3, 4.19.1.2
Now I'm using 4.19.1.3 but I noticed the same problem on 4.19.1.2
CONFIGURATION
advanced networking
OS / ENVIRONMENT
Oracle Linux 8.8, Oracle Linux 8.10 on host set as ha_host
SUMMARY
I have two different clusters:
- In the first cluster, none of the hosts have tags configured, except for one host dedicated to HA with the
ha_hosttag. This host is completely unable to start or migrate VMs.
Example of nodes belonging to the first cluster (working one)


Retrieved information throgh cmk:
"host": [
{
"hahost": true,
"hostha": {
"haenable": true,
"haprovider": "kvmhaprovider",
"hastate": "Ineligible"
},
"hosttags": "ha_host",
"name": "cloud02"
},
{
"hahost": false,
"hostha": {
"haenable": true,
"haprovider": "kvmhaprovider",
"hastate": "Ineligible"
},
"name": "cloud01"
}
]
- In the second cluster, all hosts have multiple tags configured. One of these hosts is dedicated to HA and like other host in the same cluster it has the same tags plus the
ha_host, it should not be able to start or migrate VMs, but in this case i can work with this host like a normal one.
Example of nodes belonging to the second cluster


Retrieved information throgh cmk:
"host": [
{
"hahost": false,
"hostha": {
"haenable": true,
"haprovider": "kvmhaprovider",
"hastate": "Ineligible"
},
"hosttags": "KVM,STORAGE1",
"name": "cloud09"
},
{
"hahost": true,
"hostha": {
"haenable": true,
"haprovider": "kvmhaprovider",
"hastate": "Ineligible"
},
"hosttags": "KVM,ha_host,STORAGE1",
"name": "cloudha"
}
]
As you can see the host is correctly recognised as hahost.
I noticed that the only difference is the multiple tag, this should be fixed by #4789. But apparently won't work for me.
Any possible solution?
STEPS TO REPRODUCE
Set Global Settings the host.ha=ha_host
Restart cloudstack management service
Set different tags to hosts
EXPECTED RESULTS
Example on first cluster
##### ACTUAL RESULTS
Second Cluster
Metadata
Metadata
Assignees
Labels
No labels

