internal.py: report more-accurate info about locked machines

Don't hide the fact that there are reserved machines that may
cause a scheduled lock request to have to wait.

Fixes: 9914
Signed-off-by: Dan Mick <dan.mick@redhat.com>
support Fedora when using bootstrap

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Merge pull request #350 from ceph/fedora

support Fedora when using bootstrap
Update to reflect bootstrap.sh's Fedora support

Signed-off-by: Zack Cerza <zack@cerza.org>
Merge pull request #349 from ceph/wip-9914

internal.py: report more-accurate info about locked machines
lock.py: update keys for any owned VMs, even if none mentioned on CLI

teuthology-lock to create new VMs followed by "--list-targets" was
returning the old hostkeys.  The code rightly avoids fetching keys
for all hosts; this change makes it update keys owned by the
current querying user.

Fixes: #9871
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Merge pull request #348 from ceph/wip-9871

lock.py: update keys for any owned VMs, even if none mentioned on CLI
Fix for 9871 was wrong: original <= should always have been <

...but now it matters.  lock_list returns exactly the length needed,
and so the 'failure' case is strict less-than.

Suggested-by: Sandon VanNess <svanness@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Allow more strings in filters

A comma separated list can now be used in filter and filter-out.

Fixes: #9925
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Remove MySQL requirements

These are only needed for teuthology-coverage, which requires a good
amount of extra setup (if it even works).

Signed-off-by: Zack Cerza <zack@cerza.org>
Revert "Remove MySQL requirements"

This reverts commit c69051367069eab4dd608753e14ffc8cee75b50b.
Add libmysqlclient-dev to ubuntu requirements

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Continue fix for 9871

The existing logic was too tortured, and the previous fix was bad.
Rewrite to extract "get_statuses()" to a worker, and make it
extremely clear which VM hostkeys are being updated and why.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
ceph.conf: set mon pg warn max per osd = 10000

Signed-off-by: Sage Weil <sage@redhat.com>
If lock_server is not set, check_lock() no-ops

Signed-off-by: Zack Cerza <zack@cerza.org>
Abstract the lab domain (e.g. front.sepia.ceph.com)

This should make usage in other labs easier.

Signed-off-by: Zack Cerza <zack@cerza.org>
Allow omitting 'tasks' stanza in job definitions

Signed-off-by: Zack Cerza <zack@cerza.org>
Explicitly pass json header

Signed-off-by: Zack Cerza <zack@cerza.org>
Drop default watchdog_interval to 120s

Signed-off-by: Zack Cerza <zack@cerza.org>
Fix typo

Signed-off-by: Zack Cerza <zack@cerza.org>