-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
External services causing node li element overlap and repeat #4249
Comments
Hi @ritzz32 Thanks for trying things out for us and filing this issue! I have a feeling that this is due to an issue with the API that is on our radar. Would you be able to paste me in the response of the I'm specifically looking for the ID properties in this response, but if you can paste the entire response in then great, if not, I'm looking to check whether any Thanks, |
You are correct, the ID key is empty for all of the nodes which were added through the As a test I specified a UUID value for the ID key when registering the service. This did apply the ID to the node data and that node is being rendered correctly in the UI. Here is the full response if you want to check it out. [
{
"ID": "e9436bd6-e504-50f6-d525-09e355746738",
"Node": "dev-set-homeless-register-app1.vnet",
"Address": "172.28.128.13",
"TaggedAddresses": {
"lan": "172.28.128.13",
"wan": "172.28.128.13"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "test-jar1",
"Service": "test-jar1",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1341,
"ModifyIndex": 1341
},
{
"ID": "test-jar2",
"Service": "test-jar2",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1342,
"ModifyIndex": 1342
},
{
"ID": "test-tomcat1",
"Service": "test-tomcat1",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1343,
"ModifyIndex": 1343
},
{
"ID": "test-tomcat2",
"Service": "test-tomcat2",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1344,
"ModifyIndex": 1344
}
],
"Checks": [
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "link_priority_test-jar1",
"Name": "Link Priority - test-jar1",
"Status": "critical",
"Notes": "",
"Output": "dev-set-homeless-register-lb1.vnet is the primary link\n",
"ServiceID": "test-jar1",
"ServiceName": "test-jar1",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1341,
"ModifyIndex": 1364
},
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "link_priority_test-jar2",
"Name": "Link Priority - test-jar2",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-jar2",
"ServiceName": "test-jar2",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1342,
"ModifyIndex": 1353
},
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "link_priority_test-tomcat1",
"Name": "Link Priority - test-tomcat1",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-tomcat1",
"ServiceName": "test-tomcat1",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1343,
"ModifyIndex": 1350
},
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "link_priority_test-tomcat2",
"Name": "Link Priority - test-tomcat2",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-tomcat2",
"ServiceName": "test-tomcat2",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1344,
"ModifyIndex": 1352
},
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1340,
"ModifyIndex": 1340
},
{
"Node": "dev-set-homeless-register-app1.vnet",
"CheckID": "tomcat_health_check",
"Name": "Tomcat Health Check",
"Status": "passing",
"Notes": "",
"Output": "Tomcat Health Check\n",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1345,
"ModifyIndex": 1349
}
]
},
{
"ID": "0a6a9676-4fa0-6b8a-50f2-fedc975b697d",
"Node": "dev-set-homeless-register-lb1.vnet",
"Address": "172.28.128.14",
"TaggedAddresses": {
"lan": "172.28.128.14",
"wan": "172.28.128.14"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "test-jar1",
"Service": "test-jar1",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1356,
"ModifyIndex": 1356
},
{
"ID": "test-jar2",
"Service": "test-jar2",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1357,
"ModifyIndex": 1357
},
{
"ID": "test-tomcat1",
"Service": "test-tomcat1",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1358,
"ModifyIndex": 1358
},
{
"ID": "test-tomcat2",
"Service": "test-tomcat2",
"Tags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1359,
"ModifyIndex": 1359
}
],
"Checks": [
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "link_priority_test-jar1",
"Name": "Link Priority - test-jar1",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-jar1",
"ServiceName": "test-jar1",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1356,
"ModifyIndex": 1362
},
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "link_priority_test-jar2",
"Name": "Link Priority - test-jar2",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-jar2",
"ServiceName": "test-jar2",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1357,
"ModifyIndex": 1363
},
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "link_priority_test-tomcat1",
"Name": "Link Priority - test-tomcat1",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-tomcat1",
"ServiceName": "test-tomcat1",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1358,
"ModifyIndex": 1358
},
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "link_priority_test-tomcat2",
"Name": "Link Priority - test-tomcat2",
"Status": "passing",
"Notes": "",
"Output": "This is the primary link\n",
"ServiceID": "test-tomcat2",
"ServiceName": "test-tomcat2",
"ServiceTags": [
"dev-set-homeless",
"tier-dev",
"area-set",
"partition-homeless"
],
"Definition": {},
"CreateIndex": 1359,
"ModifyIndex": 1365
},
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1355,
"ModifyIndex": 1355
},
{
"Node": "dev-set-homeless-register-lb1.vnet",
"CheckID": "tomcat_health_check",
"Name": "Tomcat Health Check",
"Status": "passing",
"Notes": "",
"Output": "Tomcat Health Check\n",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1360,
"ModifyIndex": 1361
}
]
},
{
"ID": "38b16f9d-cc71-e3f8-b9ca-9afd195253cb",
"Node": "dev-set-vagrant-consul-node1.vnet",
"Address": "172.28.128.11",
"TaggedAddresses": {
"lan": "172.28.128.11",
"wan": "172.28.128.11"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "consul",
"Service": "consul",
"Tags": null,
"Address": "",
"Meta": null,
"Port": 8300,
"EnableTagOverride": false,
"CreateIndex": 8,
"ModifyIndex": 8
}
],
"Checks": [
{
"Node": "dev-set-vagrant-consul-node1.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 8,
"ModifyIndex": 8
}
]
},
{
"ID": "c77b40ba-8939-55b0-8ed7-7a1ad4c49a64",
"Node": "dev-set-vagrant-register-app1.vnet",
"Address": "172.28.128.12",
"TaggedAddresses": {
"lan": "172.28.128.12",
"wan": "172.28.128.12"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "test-jar1",
"Service": "test-jar1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1308,
"ModifyIndex": 1308
},
{
"ID": "test-jar2",
"Service": "test-jar2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1309,
"ModifyIndex": 1309
},
{
"ID": "test-tomcat1",
"Service": "test-tomcat1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1310,
"ModifyIndex": 1310
},
{
"ID": "test-tomcat2",
"Service": "test-tomcat2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1311,
"ModifyIndex": 1311
}
],
"Checks": [
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "link_priority_test-jar1",
"Name": "Link Priority - test-jar1",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-jar1",
"ServiceName": "test-jar1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1308,
"ModifyIndex": 1308
},
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "link_priority_test-jar2",
"Name": "Link Priority - test-jar2",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-jar2",
"ServiceName": "test-jar2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1309,
"ModifyIndex": 1309
},
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "link_priority_test-tomcat1",
"Name": "Link Priority - test-tomcat1",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-tomcat1",
"ServiceName": "test-tomcat1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1310,
"ModifyIndex": 1310
},
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "link_priority_test-tomcat2",
"Name": "Link Priority - test-tomcat2",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-tomcat2",
"ServiceName": "test-tomcat2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1311,
"ModifyIndex": 1311
},
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1307,
"ModifyIndex": 1307
},
{
"Node": "dev-set-vagrant-register-app1.vnet",
"CheckID": "tomcat_health_check",
"Name": "Tomcat Health Check",
"Status": "passing",
"Notes": "",
"Output": "Tomcat Health Check\n",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1312,
"ModifyIndex": 1313
}
]
},
{
"ID": "a0661689-6675-c10f-3d60-04703887b2d5",
"Node": "dev-set-vagrant-register-app2.vnet",
"Address": "172.28.128.16",
"TaggedAddresses": {
"lan": "172.28.128.16",
"wan": "172.28.128.16"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "test-jar1",
"Service": "test-jar1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1323,
"ModifyIndex": 1323
},
{
"ID": "test-jar2",
"Service": "test-jar2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1320,
"ModifyIndex": 1320
},
{
"ID": "test-tomcat1",
"Service": "test-tomcat1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1321,
"ModifyIndex": 1321
},
{
"ID": "test-tomcat2",
"Service": "test-tomcat2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "001",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1322,
"ModifyIndex": 1322
}
],
"Checks": [
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "link_priority_test-jar1",
"Name": "Link Priority - test-jar1",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-jar1",
"ServiceName": "test-jar1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1323,
"ModifyIndex": 1323
},
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "link_priority_test-jar2",
"Name": "Link Priority - test-jar2",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-jar2",
"ServiceName": "test-jar2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1320,
"ModifyIndex": 1320
},
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "link_priority_test-tomcat1",
"Name": "Link Priority - test-tomcat1",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-tomcat1",
"ServiceName": "test-tomcat1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1321,
"ModifyIndex": 1321
},
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "link_priority_test-tomcat2",
"Name": "Link Priority - test-tomcat2",
"Status": "critical",
"Notes": "",
"Output": "",
"ServiceID": "test-tomcat2",
"ServiceName": "test-tomcat2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1322,
"ModifyIndex": 1322
},
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1319,
"ModifyIndex": 1319
},
{
"Node": "dev-set-vagrant-register-app2.vnet",
"CheckID": "tomcat_health_check",
"Name": "Tomcat Health Check",
"Status": "passing",
"Notes": "",
"Output": "Tomcat Health Check\n",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1324,
"ModifyIndex": 1326
}
]
},
{
"ID": "1b1f3096-1770-568f-8f4b-be18684f4302",
"Node": "dev-set-vagrant-register-lb1.vnet",
"Address": "172.28.128.15",
"TaggedAddresses": {
"lan": "172.28.128.15",
"wan": "172.28.128.15"
},
"Meta": {
"consul-network-segment": ""
},
"Services": [
{
"ID": "test-jar1",
"Service": "test-jar1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1297,
"ModifyIndex": 1297
},
{
"ID": "test-jar2",
"Service": "test-jar2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "jar"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1294,
"ModifyIndex": 1294
},
{
"ID": "test-tomcat1",
"Service": "test-tomcat1",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1295,
"ModifyIndex": 1295
},
{
"ID": "test-tomcat2",
"Service": "test-tomcat2",
"Tags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Address": "",
"Meta": {
"priority": "010",
"service_type": "tomcat"
},
"Port": 8080,
"EnableTagOverride": false,
"CreateIndex": 1296,
"ModifyIndex": 1296
}
],
"Checks": [
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "link_priority_test-jar1",
"Name": "Link Priority - test-jar1",
"Status": "passing",
"Notes": "",
"Output": "Service not found in Consul - Assuming this is the only healthy node\n",
"ServiceID": "test-jar1",
"ServiceName": "test-jar1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1297,
"ModifyIndex": 1305
},
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "link_priority_test-jar2",
"Name": "Link Priority - test-jar2",
"Status": "passing",
"Notes": "",
"Output": "Service not found in Consul - Assuming this is the only healthy node\n",
"ServiceID": "test-jar2",
"ServiceName": "test-jar2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1294,
"ModifyIndex": 1302
},
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "link_priority_test-tomcat1",
"Name": "Link Priority - test-tomcat1",
"Status": "passing",
"Notes": "",
"Output": "Service not found in Consul - Assuming this is the only healthy node\n",
"ServiceID": "test-tomcat1",
"ServiceName": "test-tomcat1",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1295,
"ModifyIndex": 1303
},
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "link_priority_test-tomcat2",
"Name": "Link Priority - test-tomcat2",
"Status": "passing",
"Notes": "",
"Output": "Service not found in Consul - Assuming this is the only healthy node\n",
"ServiceID": "test-tomcat2",
"ServiceName": "test-tomcat2",
"ServiceTags": [
"dev-set-vagrant",
"tier-dev",
"area-set",
"partition-vagrant"
],
"Definition": {},
"CreateIndex": 1296,
"ModifyIndex": 1301
},
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "serfHealth",
"Name": "Serf Health Status",
"Status": "passing",
"Notes": "",
"Output": "Agent alive and reachable",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1293,
"ModifyIndex": 1293
},
{
"Node": "dev-set-vagrant-register-lb1.vnet",
"CheckID": "tomcat_health_check",
"Name": "Tomcat Health Check",
"Status": "passing",
"Notes": "",
"Output": "Tomcat Health Check\n",
"ServiceID": "",
"ServiceName": "",
"ServiceTags": null,
"Definition": {},
"CreateIndex": 1298,
"ModifyIndex": 1299
}
]
},
{
"ID": "",
"Node": "dev-set.test1-db",
"Address": "1.2.3.4",
"TaggedAddresses": null,
"Meta": null,
"Services": [
{
"ID": "test1-db",
"Service": "test1-db",
"Tags": [
"dev-set",
"db"
],
"Address": "",
"Meta": {
"type": "external"
},
"Port": 1433,
"EnableTagOverride": false,
"CreateIndex": 307,
"ModifyIndex": 307
}
],
"Checks": [
{
"Node": "dev-set.test1-db",
"CheckID": "service:test1-db",
"Name": "External Service - test1-db",
"Status": "passing",
"Notes": "",
"Output": "",
"ServiceID": "test1-db",
"ServiceName": "test1-db",
"ServiceTags": [
"dev-set",
"db"
],
"Definition": {},
"CreateIndex": 307,
"ModifyIndex": 332
}
]
},
{
"ID": "",
"Node": "dev-set.test2-db",
"Address": "5.6.7.8",
"TaggedAddresses": null,
"Meta": null,
"Services": [
{
"ID": "test2-db",
"Service": "test2-db",
"Tags": [
"dev-set",
"db"
],
"Address": "",
"Meta": {
"type": "external"
},
"Port": 1433,
"EnableTagOverride": false,
"CreateIndex": 345,
"ModifyIndex": 345
}
],
"Checks": [
{
"Node": "dev-set.test2-db",
"CheckID": "service:test2-db",
"Name": "External Service - test2-db",
"Status": "passing",
"Notes": "",
"Output": "",
"ServiceID": "test2-db",
"ServiceName": "test2-db",
"ServiceTags": [
"dev-set",
"db"
],
"Definition": {},
"CreateIndex": 345,
"ModifyIndex": 345
}
]
},
{
"ID": "",
"Node": "dev-set.test3-db",
"Address": "9.10.11.12",
"TaggedAddresses": null,
"Meta": null,
"Services": [
{
"ID": "test3-db",
"Service": "test3-db",
"Tags": [
"dev-set",
"db"
],
"Address": "",
"Meta": {
"type": "external"
},
"Port": 1433,
"EnableTagOverride": false,
"CreateIndex": 362,
"ModifyIndex": 362
}
],
"Checks": [
{
"Node": "dev-set.test3-db",
"CheckID": "service:test3-db",
"Name": "External Service - test3-db",
"Status": "passing",
"Notes": "",
"Output": "",
"ServiceID": "test3-db",
"ServiceName": "test3-db",
"ServiceTags": [
"dev-set",
"db"
],
"Definition": {},
"CreateIndex": 362,
"ModifyIndex": 362
}
]
}
] |
This looks to be an issue with uuids not being generated for requests to /v1/catalog/register when no ID is provided. The docs say Consul should generate it but reviewing the code, it doesn't look to ever happen. |
Overview of the Issue
I have been playing with registering external services (not managed by an agent) through the catalog api register endpoint. The registration itself works as expected and I am able to discover the services trough the api and through dns just fine.
The problem is in the new ui in the nodes section. When a single external node is registered the UI displays as expected, however with each subsequent node the first <li> for the external node overlaps the same position as the normal first <li> and every <li> for the external nodes is a repeat of the most recently registered node.
I apologize if this has already been reported, but I was unable to find another bug report.
Reproduction Steps
{ "Node": "dev-set.test1-db", "Address": "1.2.3.4", "Service": { "Service": "test1-db", "Port": 1433, "Tags": [ "dev-set", "db" ], "Meta": { "type": "external" } }, "Check": { "Node": "dev-set.test1-db", "CheckID": "service:test1-db", "Name": "External Service - test1-db", "Status": "passing", "ServiceID": "test1-db" } }
{ "Node": "dev-set.test2-db", "Address": "5.6.7.8", "Service": { "Service": "test2-db", "Port": 1433, "Tags": [ "dev-set", "db" ], "Meta": { "type": "external" } }, "Check": { "Node": "dev-set.test2-db", "CheckID": "service:test2-db", "Name": "External Service - test2-db", "Status": "passing", "ServiceID": "test2-db" } }
{ "Node": "dev-set.test3-db", "Address": "9.10.11.12", "Service": { "Service": "test3-db", "Port": 1433, "Tags": [ "dev-set", "db" ], "Meta": { "type": "external" } }, "Check": { "Node": "dev-set.test3-db", "CheckID": "service:test3-db", "Name": "External Service - test3-db", "Status": "passing", "ServiceID": "test3-db" } }
Operating system and Environment details
Server - Vagrant VM in Virtual Box - Ubuntu 16.04 Server
Agents - Vagrant VM in Virtual Box - Ubuntu 16.04 Server
Tested in both Firefox and Chrome
Additional Info
Please let me know if there are any more details you may need to know about the configuration I am using.
The text was updated successfully, but these errors were encountered: