This commit adds the capability to run deploy host
for a major release deployment (release upgrade).
To achieve this, this commit essentially changes
some code that is already used by patching to allow:
1. Create a new remote pointing to the to_release feed ostree
2. Pull the to_release ostree commit to sysroot ostree
3. Deploy the to_release ostree commit
This commit also includes some additional steps for
sysinv/puppet integration with USM, and fixes minor
flake8 issues on the files that are being changed.
Test Plan
PASS: run "deploy host" for major release deployment
successfully on AIO-SX
PASS: run "deploy host" for major release deployment
successfully on AIO-DX
PASS: (regression) run "deploy host" successfully for a
patch release
Story: 2010676
Task: 49787
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
Change-Id: Ib8b08d1cd85dcad7d6fc858e2fae623b5900cffc