toggle quoted message
Show quoted text
We have been aware of some potential performance limitations for the audit-stack command on large orgs and intend to see how we can reduce that response time. I am a fan of your export idea as well. I'd love to understand your use case a little further in order to make stack-auditor a one-and-done tool for cflinuxfs3 migration purposes. Would you be open to a 30 minute conversation at some point in the near future?
Nice to e-meet you and thank you very much for the pointer!
Finding out how to build the plugin, I created a PR adding this part to the readme:
Additionally, I have tried the plugin on our biggest Cloud Foundry landscape and here is my feedback:
- The plugin took a bit longer than 30 mins to collect the overall status of the system using `cf audit-stack` and an admin user. This is more a result of the size
of our Cloud Foundry landscape. So, I guess even knowing about the plugin I’d still wish for a SQL join that I hope would give me the same overview with what I’d hope to be a much shorter runtime.
- I think the plugin is still a nice self-service for individual org owners planning and executing a switch, so thank you very much for providing it!
- Regarding the output, one use case I keep having for any such tool is to be able to dump things into a CSV so that I can analyze the data in Excel later on. Here,
it would help if either the plugin would offer a special output format or offer an option to quote “nasty” things like orgs and spaces containing blanks.
I hope this helps as an additional input.
Thanks & Regards,
My name is Elliott Shanks and I'm a new PM on the CF Core Buildpacks Team. We have recently introduced a cf-cli plugin called stack-auditor which would accomplish exactly what you are looking to do. It includes an audit command (audit-stack)
to show all applications and their respective stacks as well as a command to change the stack (change-stack) of any particular app. You can download the plugin at:
Not only would I recommend this approach for your current needs, but would love to gather some feedback from you about the stack-auditor plugin after you have had a chance to use it. We are actively contributing to the plugin and would
welcome any feedback in an attempt to make this a perfect tool for everyone who still needs to migrate applications over to cflinuxfs3.
Feel free to let me know if you have any questions while using the tool. I'd be happy to help.
Hi Josh, all,
I assume many people are currently in the process of moving off of cflinuxfs2 to cflinuxfs3.
I was trying to figure out a good (and quick) way to see which apps haven’t done the move yet. Looking into the Cloud Controller tables, I was hoping that the
apps table would contain a reference to the stack or at least the buildpack table (which has a reference to the stack), but it seems like this is not how things work.
What are the additional Cloud Controller tables to consider when formulating a join to answer the question: Which apps are still on cflinuxfs2?
Thanks in advance,
Hi CF Community,
As of cf-deployment v6.0 (Nov 5, 2018) cf-d will deploy with support for both cflinuxfs2 and cflinuxfs3 stacks (with cflinuxfs2 continuing to be the default
In cf-deployment v7.0, to be published early in December, cflinuxfs3 will become the default stack (cflinuxfs2 will continue to be supported, but will no longer
Once cflinuxfs3 is the default, new apps that are pushed will be staged with cflinuxfs3 unless new apps that are pushed set the stack explicitly to cflinuxfs2.
The stack property is “sticky,” so all existing apps will remain associated with cflinuxfs2 unless they are manually migrated to cflinuxfs3 (or deleted and re-created).
Both stacks will be supported for several months to allow app developers and operators time to migrate all apps from cflinuxfs2 to cflinuxfs3.
Canonical will cease support for Ubuntu 14.04 LTS (Trusty) in April 2019. Therefore, at the end of March 2019, cflinuxfs2 will be removed from cf-deployment
and all apps that haven’t been migrated will crash when the foundation is upgraded.
Josh Collins & Stephen Levine