Feature #6146
closedneed a upgrade task that uses ceph-deploy
0%
Description
currently, we only have upgrades that uses the teuthology install task. we need to make sure we are also testing upgrades using ceph-deploy.
i.e
deploy a cluster using ceph-deploy
upgrade using ceph-deploy, restart daemons.
run tests.
Updated by Tamilarasi muthamizhan over 10 years ago
- Tracker changed from Bug to Feature
Updated by Ian Colle over 10 years ago
- Translation missing: en.field_story_points set to 3.00
Updated by Ian Colle over 10 years ago
- Target version changed from v0.70 to v0.71
Updated by Ian Colle over 10 years ago
- Target version changed from v0.71 to v0.72 Emperor
Updated by Anonymous almost 10 years ago
I thought at first that this would be doable with ceph-qa-suite changes, but I think that there should be a ceph_deploy.install function that does not exist and needs to be written.
The ceph_deploy.install function should be much simpler than the current install (it uses ceph-deploy so the interface is simpler and all the remote issues are handled).
Updated by Anonymous over 9 years ago
- Status changed from New to In Progress
The old code behaved as follows:
@contextlib.contextmanager def upgrade(ctx, config): ... common code that checks parameters, and builds dictionaries ... ... of remote nodes and associated role information ... loop through remote nodes: ... do some common stuff ... ...do some ceph install stuff (calls routines that make remote calls)... yield
The version in progress looks like:
def upgrade_common(ctx, config, upgrade_style): ... common code that checks parameters, and builds dictionaries ... ... of remote nodes and associated role information ... loop through remote nodes: ... do some common stuff ... call update_style def upgrade_old_style(...): ...do some ceph install stuff (calls routines that make remote calls)... def upgrade_using_ceph_deploy(...): ...upgrade using ceph deploy... @contextlib.contextmanager def upgrade(ctx, config): upgrade_common(ctx, config, upgrade_old_style) yield @contextlib.contextmanager def ceph_deploy_upgrade(ctx, config): upgrade_common(ctx, config, upgrade_using_ceph_deploy) yield
This change keeps the behavior of current upgrade/install.upgrade
lines in current yaml files the same. It allows yaml file lines
that contain install.ceph_deploy_upgrade instead of install.upgrade
to do the same installations using ceph_deploy.
The experimental wip that I have right now does the above, but the
upgrade_using_ceph_deploy method is not finished. The old upgrade
works fine, and ceph_deploy_upgrade worked when I stubbed it to behave
like the old_upgrade.
Updated by Ian Colle over 9 years ago
- Target version changed from sprint10 to sprint11
Updated by Anonymous over 9 years ago
I have a pull request in for this: #308 (commit 3d6fe89263)
Updated by Anonymous over 9 years ago
- Status changed from In Progress to Fix Under Review
Updated by Ian Colle over 9 years ago
- Target version changed from sprint11 to sprint12
Updated by Zack Cerza over 9 years ago
Please link the PR so we can find it easily:
https://github.com/ceph/teuthology/pull/308
It awaits some responses
Updated by Anonymous over 9 years ago
- Status changed from Fix Under Review to Resolved
Commit 166c8af3 should resolve this