[httpv2] Migrated HTTP checks leaves the old ones back

CMK version:
2.4.0p11

OS version:
ubuntu 24.04

We followed this guide:

to move the deprecated http checks to httpv2.

After all the steps were done, including thefinalize one, the new check were present alongside the old ones.

To fix that, we ran:

cmk-update-config

We are sharing this tip:

  1. in case somebody has the same problem
  2. if it was an awful idea, it would be good to know that

We did not investigate further on why the problem happened in the first place.
It might as well be that some migration step was not properly executed or not executed at all.

Do you have an example of an old and new check which was showing despite “cmk-migrate-http finalize” ?

As per the man page of this command line tool:

Delete v1 rules that have been migrated and remove the migration references from the created v2 rules. Use only as the final step of the
process, as the script can not take any action on finalized rules. This can not be undone.