How to Safely Test Your Data for 2.8 Upgradability
Help us help you! The Pulp team added stronger data validation in 2.8. To ensure that everyone has a smooth upgrade experience, we want your help testing your data in advance. In case there is any data “in the wild” that does not meet the stronger validation requirements, we want to know now so we can adjust the validation before release.
All we need you to do is use
mongodump to export a copy of your data, and then run the small script that we are providing.
See the README for full details. The script will start two docker images; one running mongodb, and the other to run the upgrade test itself. The test will automatically load your data into the mongodb container, run the 2.8 migrations, and then attempt to read and save each record. At the end, both containers are cleaned up, and you’re left with a log of what happened.
Please let us know that you ran the tests, and especially if you encountered any problems. Leave a comment here, send an email, or file a bug report.
We are hoping to release 2.8.0 very soon, so your prompt feedback is appreciated. Thank you in advance for your help!