Initial ugly commit.

Definitely some enhancements can be done. I think I have everything
needed but I have not been able to test this yet. If this needs to
get done before I am back feel free to work on it.

Completely untested and probably a few mistakes somewhere...

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Distro kernel bug-fixes.

Fixed some things that were being done incorrectly.

Some distro kernels have no debug so added | true when disabling
kdb. Also changed what was skipping kernels if non-ubuntu to also
schedule kernel install if a distro kernel.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Add some debug logging.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Merge pull request #152 from dachary/master

add git clone to installation instrutions
ceph_manager: provide unique pool names to avoid collision

Fixes: #6769
Signed-off-by: Samuel Just <sam.just@inktank.com>
Fix ceph.repo so it uses URI value.

Basically some weird cases where ceph-releases would be pointing
to the wrong branch/build when two branches had the same sha1.
This fixes that.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Add optional 'use_existing_cluster' flag

If this flag is present, skip a few unnecessary steps

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use shortened version in order to avoid revision/arch mishaps.

Sometimes -X is added to package names which does not exist in the
/version file. Simply using the version string does not work on
RHEL (it does on centos). Until version and the packages match
identically we instead will just split the version at the - and
no longer specify the dist for better reliability but slightly
lower accuracy.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Merge pull request #153 from ceph/wip-6790

Reviewed by Warren.
Skip cluster() if use_existing_cluster is True

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Allow ability to use multi machine type deliminated by ,- \t.

I was originally attempting a more complicated locking mechanism
but I think its almost as good to just have it attempt the other
machine type if one.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Schedule-suite Use 'multi' tube for multiple types. Scheduling.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
internal.py: nitty little spelling error

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Also catch httplib2.ServerNotFoundError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Changes suggested per review.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Merge pull request #154 from ceph/wip-multi-mtype

Wip multi mtype
tgt and iscsi code need some minor fixes.  Moved the settle call during
simple read testing.  In iscsi.py, generic_mkfs and generic_mount need
to be called from the main body of the task.  An extraneous iscsiadm
command was removed.  The tgt size is now not hard-coded.  It is extracted
from the property and defaults to 10240.

Fixes: #6782
Merge branch 'wip-fix-teuth-tgt-wusui'
rbd: make default size larger for xfstests

Test 167 runs out of space on newer kernels

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Added docstrings.  Cleaned up code (broke up long lines, removed unused
variable references, pep8 formatted most of the code (one set of long lines
remains), and changed some variable and method names to conform to pylint
standards).

Fixes: 6530