Improve errata_upgrade task

Finish missing automation parts of errata_upgrade.