operator-registry icon indicating copy to clipboard operation
operator-registry copied to clipboard

Remove `opm registry serve`

Open joelanford opened this issue 2 years ago • 2 comments

The sqlite-based commands in opm have been deprecated for almost two years. We know of some users still building sqlite-based catalogs, but they are also converting them to FBC and serving FBC.

I propose that we remove the opm registry serve command so that we can avoid concerns around maintaining parity between the sqlite server (which is not receiving new features) and the FBC server (which is receiving new features).

joelanford avatar May 31 '23 21:05 joelanford

Notes from Tue 6th June operator framework meeting (see recording for more detail):

Suggest to remove because it is diverging and has additional maintenance cost.

Consumers who have not migrated to FBC could use the old OPM image for serving catalogs.

It is easy to migrate an sqlite database to FBC to enable serving.

Could we enable automatic migration and then just run the FBC serve? (concerns about implying that its ok for people to still use sqlite)

Need to look more closely at the index commands, which make assumptions that there is an opm registry serve command.

Note: If we are following semver, We'll need to rev the major version to 2.0.0

Jamstah avatar Jun 06 '23 15:06 Jamstah

I did a quick experiment not long ago to see how much size I could take out of a catalog image by building just the FBC serve command from opm: https://github.com/jamstah/operator-registry/tree/opm-serve.

It struck me that this could be a carrot for getting users to migrate to FBC in their catalogs - add an option for a smaller image but only if they use FBC.

Might be overcomplicating things, but thought I'd share.

-rwxr-xr-x.  1 jammy jammy 73178008 May 30 10:17 opm
-rwxr-xr-x.  1 jammy jammy 25223168 Jun  8 09:28 opm-serve

Jamstah avatar Jun 08 '23 08:06 Jamstah

Issues go stale after 90 days of inactivity. If there is no further activity, the issue will be closed in another 30 days.

github-actions[bot] avatar May 30 '25 01:05 github-actions[bot]

This issue has been closed due to inactivity.

github-actions[bot] avatar Jun 29 '25 01:06 github-actions[bot]