cloudstack: Duplicated guest OSes in ACS 4.18.0.0

database query

mysql> select display_name,count(1) as count from guest_os group by display_name having count >1;
+------------------------------+-------+
| display_name                 | count |
+------------------------------+-------+
| SCO OpenServer 5             |     2 |
| Ubuntu 20.04 LTS             |     2 |
| Debian GNU/Linux 11 (64-bit) |     2 |
| Debian GNU/Linux 11 (32-bit) |     2 |
| CentOS 9                     |     2 |
| Oracle Linux 9               |     2 |
+------------------------------+-------+
6 rows in set (0.00 sec)

ISSUE TYPE
  • Bug Report
COMPONENT NAME

CLOUDSTACK VERSION
4.18.0.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

copying from https://github.com/apache/cloudstack/pull/7095#issuecomment-1655190491 :

@weizhouapache @BryanMLima , seems like we need;

  1. a reconsiliation method (merging duplicates)
  2. an extra check in addGuestOsAndHypervisorMappings to make sure such situations don’t arise again

@BryanMLima @weizhouapache see my comment in #7781. (should we keep multiple issues open for this work?

I think it is for the best to maintain multiple issues, even though they are similar and are being addressed in the same PR.