]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Allow locking nodes with mixed OSes
authorZack Cerza <zack@redhat.com>
Tue, 14 Mar 2017 19:13:13 +0000 (13:13 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 21 Mar 2017 19:38:57 +0000 (13:38 -0600)
commitf4970d0ab25ad01ef3bf8cbfc8010d595ec4bc54
treeff6b5488d62880c7c3addce3e4eacdc243ba8ceb
parentc3ad5623d889c9432503215200ba091d970bc419
Allow locking nodes with mixed OSes

Instead of either not specifying an OS type/version and just getting
what's available - or requesting the same OS type/version for all nodes
in the job, allow requesting arbitrary mixes of OSes.

The path forward is going to be replacing things like:
roles:
- ['osd.0', 'mon.a']
- ['osd.1', 'osd.2]
- ['client.0']

With things like:
nodes:
- os_type: ubuntu
  os_version: '16.04'
  roles: ['osd.0', 'mon.a']
- os_type: ubuntu
  os_version: '14.04'
  roles: ['osd.1', 'osd.2]
- os_type: centos
  os_version: '7.3'
  roles: ['client.0']

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/run.py
teuthology/task/internal/lock_machines.py
teuthology/test/test_run.py