]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Andrew Schoen [Tue, 24 Feb 2015 16:56:57 +0000 (10:56 -0600)]
Do not specify a version when upgrading ceph on rpm-based systems.
Because of the split of ceph-devel, upgrading ceph-devel with an
explicit version does not allow check_obsoletes to work.
For, http://tracker.ceph.com/issues/10936
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Tue, 24 Feb 2015 20:05:34 +0000 (13:05 -0700)]
Merge pull request #427 from ceph/travisci
add Travis CI integration
Sage Weil [Mon, 23 Feb 2015 22:14:47 +0000 (14:14 -0800)]
Merge pull request #446 from ceph/wip-10926-andrew
Do not install packages with a specified version, fixes #10926
Andrew Schoen [Mon, 23 Feb 2015 20:47:40 +0000 (14:47 -0600)]
Do not install packages with a specified version, fixes #10926
Now that we've got yum setup to check for obsoletes we don't need to
specify a version. Specifying the version actually keeps yum from
checking for obsoletes.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 23 Feb 2015 18:17:49 +0000 (12:17 -0600)]
Merge pull request #445 from ceph/hadoop
hadoop: clean-up and sigkill delay fix
Noah Watkins [Mon, 23 Feb 2015 00:53:49 +0000 (16:53 -0800)]
hadoop: add yarn sigkill delay hack
This instructs yarn to wait more time (10sec) than the default (250ms)
before killing containers to give ceph clients time to properly
shutdown.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 23 Feb 2015 00:53:09 +0000 (16:53 -0800)]
hadoop: use dict-to-conf converter
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Andrew Schoen [Wed, 18 Feb 2015 18:55:35 +0000 (12:55 -0600)]
Merge pull request #443 from ceph/wip-10910
Allow Remote.get_file() to use original filename
Zack Cerza [Wed, 18 Feb 2015 17:05:18 +0000 (10:05 -0700)]
Allow Remote.get_file() to use original filename
If dest_dir != '/tmp', attempt to use the original filename.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 18 Feb 2015 18:48:26 +0000 (11:48 -0700)]
Update out-of-date integration test
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Tue, 17 Feb 2015 20:57:07 +0000 (14:57 -0600)]
Merge pull request #442 from ceph/wip-7364
Don't fail just because apt-get update does
Zack Cerza [Tue, 17 Feb 2015 20:26:34 +0000 (13:26 -0700)]
Don't fail just because apt-get update does
If we fail later anyway, fine. If not, yay!
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 17 Feb 2015 17:37:40 +0000 (10:37 -0700)]
Don't fail if task runs twice
This was happening because _yum_unset_check_obsoletes() was failing
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Mon, 16 Feb 2015 20:15:54 +0000 (14:15 -0600)]
Merge pull request #440 from ceph/wip-10893
Set check_obsoletes = 1 in yum's priorities.conf
Zack Cerza [Mon, 16 Feb 2015 20:08:57 +0000 (13:08 -0700)]
Set check_obsoletes = 1 in yum's priorities.conf
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 16 Feb 2015 16:03:57 +0000 (09:03 -0700)]
Merge pull request #439 from ceph/pytest-better-errors
put test failures in failure_reason; skip test_correct_os_version for debian
Andrew Schoen [Fri, 13 Feb 2015 21:05:18 +0000 (15:05 -0600)]
Make an exception for debian in tests.test_correct_os_version
This is because of a known issue where downburst gives us 7.1 when we
ask for 7.0. We're ok with this behavior for now. See: issue #10878
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 13 Feb 2015 17:32:59 +0000 (11:32 -0600)]
Include test failures in ctx.summary['failure_reason']
I also added a new line to make reading the log nicer
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 13 Feb 2015 20:58:42 +0000 (14:58 -0600)]
Merge pull request #438 from ceph/wip-10879
Avoid race condition in find_stale_locks()
Zack Cerza [Fri, 13 Feb 2015 19:25:19 +0000 (12:25 -0700)]
Avoid race condition in find_stale_locks()
Because of the way we were checking nodes against running jobs, it was
possible to falsely report nodes as stale if they were part of a job
that was transitioning from the waiting to running state.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 13 Feb 2015 15:36:32 +0000 (08:36 -0700)]
Merge pull request #437 from ceph/pytest-noterminalreporter
Fixes the issue of pytest failing with scheduled jobs
Andrew Schoen [Thu, 12 Feb 2015 21:19:25 +0000 (15:19 -0600)]
Remove the pytest default TerminalReporter in the tests task
This fixes the issue of pytest IO Error failure in a scheduled job
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Feb 2015 21:14:30 +0000 (15:14 -0600)]
If there is an error running pytest, mark job as dead
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Feb 2015 18:42:50 +0000 (12:42 -0600)]
Merge pull request #435 from ceph/wip-10856
Safer vps unlocking
Zack Cerza [Thu, 12 Feb 2015 17:04:23 +0000 (10:04 -0700)]
Pass a description to unlock_one()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 12 Feb 2015 17:03:44 +0000 (10:03 -0700)]
Add optional description arg to unlock_one()
It gets passed to the lock server.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 12 Feb 2015 17:00:38 +0000 (10:00 -0700)]
Add optional description arg to destroy_if_vm()
If it is passed and doesn't match the one received from the lock server,
don't destroy the VM.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 12 Feb 2015 18:14:55 +0000 (11:14 -0700)]
Merge pull request #436 from ceph/wip-hadoop-linter
hadoop: remove parallel from import; fixes linter warning
Greg Farnum [Thu, 12 Feb 2015 18:06:57 +0000 (10:06 -0800)]
hadoop: remove parallel from import; fixes linter warning
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Thu, 12 Feb 2015 05:03:56 +0000 (21:03 -0800)]
Merge pull request #434 from ceph/hadoop
Hadoop 2.0 Task
This will need more updating, but pulling it in-tree gets better in-situ testing, and the hadoop task is isolated.
Zack Cerza [Wed, 11 Feb 2015 22:35:14 +0000 (15:35 -0700)]
Merge pull request #432 from ceph/pytest-stdout
Make pytest capture stdout when running the tests task
Andrew Schoen [Wed, 11 Feb 2015 22:23:10 +0000 (16:23 -0600)]
Make pytest capture stdout when running the tests task
This makes the logs easier to read.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Noah Watkins [Tue, 20 Jan 2015 18:55:28 +0000 (10:55 -0800)]
hadoop: separate ceph/hdfs config actions
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 19 Jan 2015 23:55:41 +0000 (15:55 -0800)]
hadoop: support cephfs
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 19 Jan 2015 22:52:48 +0000 (14:52 -0800)]
hadoop: easier config creation
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 19 Jan 2015 22:25:37 +0000 (14:25 -0800)]
misc: create prepend_lines helper
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 19 Jan 2015 22:25:21 +0000 (14:25 -0800)]
hadoop: 2x
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Andrew Schoen [Wed, 11 Feb 2015 20:31:32 +0000 (14:31 -0600)]
Merge pull request #431 from ceph/wip-10825
Smarter sources.list/.repo removal
Zack Cerza [Wed, 11 Feb 2015 19:03:37 +0000 (12:03 -0700)]
Tweak _remove_sources_list_{deb,rpm}()
Make their implementations more concise, their logging more verbose, and
avoid running apt-get update if no sources list was removed.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 10 Feb 2015 22:32:56 +0000 (15:32 -0700)]
Don't run two apt-get updates in parallel
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Tue, 10 Feb 2015 15:29:05 +0000 (09:29 -0600)]
Merge pull request #430 from tchaikov/fix-readme
README: update with teuthology-suite
Kefu Chai [Mon, 9 Feb 2015 07:38:20 +0000 (15:38 +0800)]
README: update with teuthology-suite
* replace sample usage of deprecated schedule_suite.sh with that of
teuthology-suite
* add a pointer to `teuthology-suite --help`
Fixes: #8678
Signed-off-by: Kefu Chai <kchai@redhat.com>
Zack Cerza [Mon, 9 Feb 2015 22:08:55 +0000 (15:08 -0700)]
Merge pull request #429 from ceph/tests-task-cleanup
Adds a machine_type property to orchestra.remote.Remote
Andrew Schoen [Fri, 6 Feb 2015 21:43:34 +0000 (15:43 -0600)]
Adds a machine_type property to orchestra.remote.Remote
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Feb 2015 22:02:37 +0000 (16:02 -0600)]
Merge pull request #428 from ceph/wip-10774
Don't unlock VMs before destroying them
Zack Cerza [Thu, 5 Feb 2015 21:52:32 +0000 (14:52 -0700)]
Don't destroy a vps that is owned by someone else
This only affects the unlock_one() codepath at this point.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 5 Feb 2015 21:14:08 +0000 (14:14 -0700)]
Destroy VMs before unlocking, not after
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 5 Feb 2015 20:54:01 +0000 (13:54 -0700)]
Merge pull request #426 from ceph/wip-10736
create a teuthology integration test task
Andrew Schoen [Thu, 5 Feb 2015 15:24:05 +0000 (09:24 -0600)]
Correctly pull the default machine_type if machine_type is not defined explicitly
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 4 Feb 2015 20:56:52 +0000 (15:56 -0500)]
Do not log skipped tests as failed
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 4 Feb 2015 20:19:08 +0000 (14:19 -0600)]
Added integration tests to ensure locking is working correctly
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 3 Feb 2015 20:58:39 +0000 (14:58 -0600)]
Moved task.tests into it's own module and created tests.test_run
This sets up the basic structure for teuthology integration testing.
Any tests put in teuthology/task/tests will be autodiscovered and run
when 'tests' is in the task list of a job's config.
Each test will be given ctx and config and it's output will be logged
using our logger.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 2 Feb 2015 23:05:55 +0000 (17:05 -0600)]
Use pytest to auto discover and run tests in task.tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Greg Farnum [Thu, 5 Feb 2015 19:23:48 +0000 (11:23 -0800)]
install: include libcephfs-jni in .deb list as well as RPM one
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
Ken Dreyer [Thu, 5 Feb 2015 18:17:33 +0000 (11:17 -0700)]
add Travis CI integration
This will allow Travis CI to run tox to check for test failures.
Zack Cerza [Wed, 4 Feb 2015 22:07:38 +0000 (15:07 -0700)]
Merge pull request #425 from ceph/wip-10753
Add a label to the ceph-qa-chef run in task.internal
Andrew Schoen [Wed, 4 Feb 2015 21:47:03 +0000 (15:47 -0600)]
Add a label to the ceph-qa-chef run in task.internal
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Wed, 4 Feb 2015 17:15:22 +0000 (10:15 -0700)]
Merge pull request #423 from ceph/teuth-testing
Add a label to run.run
Andrew Schoen [Fri, 30 Jan 2015 22:35:12 +0000 (16:35 -0600)]
Added a 'tests' task that we can use to test teuthology features
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 30 Jan 2015 21:55:18 +0000 (15:55 -0600)]
Add a label kwarg to run.run
This can be used to label or annotate commands to remotes so we can
print a meaningful log message if the command fails.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Mon, 2 Feb 2015 22:34:05 +0000 (15:34 -0700)]
Make 'branch' a tag in Sentry
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 2 Feb 2015 20:28:40 +0000 (13:28 -0700)]
Add branch to Sentry info
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Sat, 31 Jan 2015 01:10:06 +0000 (18:10 -0700)]
Fix bug in submitting Sentry events
It wasn't working for non-scheduled jobs
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Thu, 29 Jan 2015 18:47:55 +0000 (12:47 -0600)]
Merge pull request #422 from ceph/wip-10622
If the version file is empty, complain.
Zack Cerza [Thu, 29 Jan 2015 16:52:24 +0000 (09:52 -0700)]
If the version file is empty, complain.
We *could* work around this, but I don't want to mask bugs in the build
system.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 29 Jan 2015 18:38:52 +0000 (11:38 -0700)]
Merge pull request #420 from ceph/wip-10625
deprecate support for a custom downburst config
Andrew Schoen [Wed, 28 Jan 2015 20:40:38 +0000 (14:40 -0600)]
Remove support for a custom downburst config in teuthology.provision
Will log a warning message if a custom downburst config is found in
ctx.config. Removes unused --downburst-conf option from teuthology-lock.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Jan 2015 16:12:06 +0000 (10:12 -0600)]
Removed downburst config support in get_distro and get_distro_version
We believe that nobody is using custom downburst configs anymore so
we're planning to deprecate this feature.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Wed, 28 Jan 2015 23:15:16 +0000 (15:15 -0800)]
Merge pull request #421 from ceph/wip-tunables
ceph.conf: mon warn on legacy tunables = false
Sage Weil [Wed, 28 Jan 2015 23:11:51 +0000 (15:11 -0800)]
ceph.conf: mon warn on legacy tunables = false
so we can test legacy tunables
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Wed, 28 Jan 2015 21:39:25 +0000 (14:39 -0700)]
Fix typo in libvirt.conf path
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 28 Jan 2015 16:31:11 +0000 (09:31 -0700)]
Add error message when SMTP server is unreachable
This only happens when scheduling fails.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 27 Jan 2015 16:08:10 +0000 (09:08 -0700)]
Fix typo in --machine-type flag
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 26 Jan 2015 22:28:23 +0000 (15:28 -0700)]
Merge pull request #417 from ceph/wip-10561
Enable kernel installs from brew
Andrew Schoen [Mon, 26 Jan 2015 20:27:53 +0000 (14:27 -0600)]
Adding unit test coverage to teuthology.packaging
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 26 Jan 2015 16:23:10 +0000 (10:23 -0600)]
Only install the kernel from koji if needed.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 23 Jan 2015 17:26:43 +0000 (11:26 -0600)]
Move koji related functions into teuthology.packaging
We can now use these functions in other places in teuthology.
I've also made the urls for koji configurable with the
teuthology config.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 22 Jan 2015 16:46:08 +0000 (10:46 -0600)]
Enable kernel installs from koji
This enables a kernel to be installed from koji by putting the
following stanza under 'kernel' in your yaml config, 'koji: <build_id>'.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Mon, 26 Jan 2015 19:37:17 +0000 (12:37 -0700)]
Don't allow calling teuthology-nuke with no args
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 26 Jan 2015 18:33:02 +0000 (11:33 -0700)]
Merge pull request #419 from ceph/wip-wait
DaemonState: add wait()
Zack Cerza [Mon, 26 Jan 2015 17:05:17 +0000 (10:05 -0700)]
Merge pull request #418 from ceph/wip-10621
Make teuthology-lock respect --os-type
Andrew Schoen [Fri, 23 Jan 2015 22:21:19 +0000 (16:21 -0600)]
Make teuthology-lock respect --os-type
This fixes the regression in issue #10621
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Fri, 23 Jan 2015 23:33:43 +0000 (15:33 -0800)]
DaemonState: add wait()
Signed-off-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Fri, 23 Jan 2015 17:33:11 +0000 (11:33 -0600)]
Merge pull request #416 from ceph/wip-10610
rpm codepath cleanup
Zack Cerza [Thu, 22 Jan 2015 23:12:15 +0000 (16:12 -0700)]
Less hardcoding of 'ceph' project in rpm codepath
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 22 Jan 2015 21:47:50 +0000 (14:47 -0700)]
Ensure yum repo file exists before tweaking it
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 22 Jan 2015 21:11:14 +0000 (14:11 -0700)]
Use yum localinstall to install ceph-release
Partly, do this so that if ceph-release is already installed, we don't
get an error.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Jan 2015 23:23:11 +0000 (16:23 -0700)]
Fix regression in non-ceph project handling
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Jan 2015 16:25:25 +0000 (09:25 -0700)]
Merge pull request #413 from ceph/extras-doc-update
Added some comments clarifying functionality in the install task.
Andrew Schoen [Wed, 21 Jan 2015 15:09:35 +0000 (09:09 -0600)]
Added some comments clarifying functionality in the install task.
I also put in a couple TODO comments for things to look at later.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Tue, 20 Jan 2015 21:24:15 +0000 (14:24 -0700)]
Add cephfs-java to rpm packages
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Tue, 20 Jan 2015 17:59:08 +0000 (11:59 -0600)]
Merge pull request #411 from ceph/wip-10580
Remove duplicate package list from install task
Andrew Schoen [Tue, 20 Jan 2015 17:40:38 +0000 (11:40 -0600)]
Merge pull request #412 from ceph/wip-10578
Change default results_timeout to 12h
Zack Cerza [Tue, 20 Jan 2015 17:36:00 +0000 (10:36 -0700)]
Remove unncessary 'global' declaration
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 19 Jan 2015 23:56:31 +0000 (16:56 -0700)]
Change default results_timeout to 12h
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 19 Jan 2015 19:27:49 +0000 (12:27 -0700)]
Remove duplicate package list from install task
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 19 Jan 2015 19:00:28 +0000 (12:00 -0700)]
Merge pull request #409 from ceph/wip-10573
Don't suppress stdout for most apt-get ops
Zack Cerza [Mon, 19 Jan 2015 19:00:21 +0000 (12:00 -0700)]
Merge pull request #410 from ceph/print-teuth-command
Log the teuthology command being ran at the debug level
Andrew Schoen [Mon, 19 Jan 2015 17:09:46 +0000 (11:09 -0600)]
Log the teuthology command being ran at the debug level
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Mon, 19 Jan 2015 17:16:53 +0000 (10:16 -0700)]
Don't suppress stdout for most apt-get ops
Signed-off-by: Zack Cerza <zack@redhat.com>