So in a recent post i mentioned that we are running an Openstack staging environment that should reflect the production environment in every way possible. However, that is not the case at the moment.
Every time I redeploy the staging environment Juju updates all the packages to the latest versions. What i would like to achieve is to force Juju in some way to install the exact same versions of all the packages as in production, or find another solution with the same outcome.
I cannot find a way to ensure this with Juju so i was looking into APT version pinning. The plan was to create a /etc/apt/preferences with all the packages listed from the production environment. This could be inserted into the machine by MAAS before Juju begins the installation and deployment, ensuring the exact same versions.
- Any ideas or is this a good solution?
- Have anyone else had this problem?