Comment 13 for bug 1591488

Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have isolated this \o/
The problem is that on some occasions, we save metadata without going through apiserver layer but by calling persistence (state layer) directly. The apiserver layer will populate some defaults if values are missing, for example, empty "stream" will contain "released".

In other words, now we end up with some data in database that we cannot easily retrieve using our filters. Our filters are pre-populated with sensible defaults when we look for available image metadata.

Related pieces of code in both provisioner and bootstrap need to be modified to either go through apiserver or to ensure data contains our standard defaults before persisting.