delphix / appliance-build

This repository contains the code used to build the Ubuntu-based Delphix Appliance, leveraging open-source tools such as Debian's live-build, Docker, Ansible, OpenZFS, and others.
Apache License 2.0
19 stars 41 forks source link

TOOL-24608 Remove unused Python dependencies #750

Closed ghost closed 9 months ago

ghost commented 9 months ago

Problem

My PR from August 2022 - https://github.com/delphix/appliance-build/pull/689 - was lost because it was integrated into master and master was never merged back into 6.0/stage before the large branch renaming happened.

Solution

Cherrypick that change

Testing Done

The upgrade worked (mostly) --- To test this I will: 1. Add a downtime on the dcol-dev calendar 2. Download the image and perform an upgrade ```console $ python -u venv/bin/aws s3 cp --no-progress ${s3BuildUrl}/upgrade-artifacts/${imageName} . $ sudo unpack-image -f ${imageName} $ rm -fv ${imageName} $ sudo /var/dlpx-update/latest/upgrade -v ${opts} deferred ``` 3. Validate that the dependencies I've removed are no longer there