]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
task/install: populate "downgrade_packages" to nested_config 1245/head
authorKefu Chai <kchai@redhat.com>
Fri, 21 Dec 2018 07:17:09 +0000 (15:17 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Dec 2018 12:40:55 +0000 (20:40 +0800)
commit456017ec235c737a4d382dd0074a7754c5c1e105
tree0cea74293bb72b3184d3acc4dadfaa560a14c45d
parent35ad5dd78dc0e53faa521c4a1beaf9560c874c2e
task/install: populate "downgrade_packages" to nested_config

- populate "downgrade_packages" to `nested_config` in `task()`.
  otherwise, the "downgrade_packages" is invisible to the `install()`
  function.
- also print logging message before downgrading packages.
- cleanup rpm._downgrade_packages(), no need to format `downgrade_cmd`.
  it's already formated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/task/install/__init__.py
teuthology/task/install/rpm.py