More logging in get_distro_from_downburst()

Signed-off-by: Zack Cerza <zack@redhat.com>
Properly ignore site-specific lab_domain in tests

Signed-off-by: Zack Cerza <zack@redhat.com>
Respect --os-version and --os-type in teuthology.run.

Remove default value of 'ubuntu' for --os-type for teuthology.run and
make sure that teuthology.misc.get_distro accounts for ctx.os_type now
defaulting to None instead of 'ubuntu'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
moved the get_distro and get_distro_version functions from misc to provision as it was the only user of those functions

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
include the os_type in the log message when it's invalid

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Clean up tests that were importing teuthology modules as teuthology to avoid confusion

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
There were two different code paths used to get the os_type and
os_version for bare metal machines and vps machines.  This moves
get_distro and get_distro_version back into teuthology.misc and uses
those functions to retrieve os_version and os_type for both bare metal
and vps machines.

When the bare metal machines weren't using get_distro for os_type it
would set os_type to None when there were was not a os_type in the
config or a --os-type flag given.  Now, os_type will be properly
defaulted to ubuntu for bare metal machines.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>