Re: cflinuxfs2 --> cflinuxfs3 transition
Connor Braa
Hi Bernd! If you need to use SQL to figure out which apps still use the old stack, you'll want to join apps across the buildpack_lifecycle_data table's app_guid column. but there are lots of possible complications in terms of treating that as a source of truth. For one, entries in that table where `stack` is nil indicate that the default stack should be used, but when upgrading your stack, you may have changed the default from cflinuxfs2 to 3, and in doing so made it very difficult to tell which stack is actually running for a given app (ie whether you'll need to restage). The ruby code handling that table is also pretty nontrivial, so there _might_ be some edge cases around droplet copying that mean the result of a straightforward join won't get you exactly what you need. Generally, the SQL approach is going to be a bit error prone, but if your deployment is very big, I understand why it might be a necessary first step. Stanislav's approach using cfdot is going to get you much closer to the absolute truth of what is running cflinuxfs2, and a good audit will probably use both at different stages. Best, Connor On Thu, Jan 31, 2019 at 5:04 AM Krannich, Bernd <bernd.krannich@...> wrote:
|
|