Feature #7400
closedlocking should update distro and version in lock db
0%
Description
We currently store a 'distro' in the lock db, but it's not managed by the various locking operations, and it should be. Also, we should store a 'version' as well. This will mostly be useful currently for humans, but its utility there is large.
Also, locker/config.py should be updated to reflect the current DB schema.
Updated by Zack Cerza over 9 years ago
- Tracker changed from Bug to Feature
- Status changed from New to Resolved
- Assignee set to Zack Cerza
- Target version set to sprint13
Add Remote.distro
https://github.com/ceph/teuthology/commit/959353415598cb8a6a3c20c0d0cc80d0c97cfcc1
Add Remote.arch
https://github.com/ceph/teuthology/commit/d0630f76519efc209c4139bf54b64ea0c1e59319
Add Remote.host_key
https://github.com/ceph/teuthology/commit/58cbb236e46212a2c1d6920198b3219ccd0cd78e
Roll the above into Remote.inventory_info
https://github.com/ceph/teuthology/commit/4351173d08ddd68eb8f6737f205e5099cd0ed1b2
Add teuthology.lock.update_inventory()
https://github.com/ceph/teuthology/commit/33f8f08ef1930af71fc0c28f2e66a65ccf19f0a6
Call teuthology.lock.update_inventory()
from teuthology.task.internal
https://github.com/ceph/teuthology/commit/7806c6ae21af6ac8df88a1e2d3c6ccd630b9ef6b