Commit Graph

1446 Commits

Author SHA1 Message Date
Joao Eduardo Luis
e84c54addd task: mon_clock_skew_check: grab max-skew value from ceph-mon's config
Instead of relying on hardcoded values, obtain the max-skew default from
'ceph-mon --show-config-value mon_clock_drift_allowed' to match the mon's
expectation.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-07-22 10:02:22 -07:00
Sage Weil
222b296019 admin_socket: loop until the socket command succeeds
Sometimes the thing we're talking to is slow to start, or to register the
command we are running.  Loop in that case, at least for a while.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-22 10:02:14 -07:00
Yehuda Sadeh
37a662442d apache.conf: load modules conditionally
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-20 11:30:24 -07:00
Sage Weil
494accb8e2 ceph-deploy: do not test mon destroy by default 2013-07-19 22:19:09 -07:00
Joao Eduardo Luis
06ad2d2cc9 task: mon_clock_skew_check: by default, use max skew from global config
If not defined, defaults to 0.05;  if 'max-skew' however is defined, it
must override whatever is on the config.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-07-19 21:54:34 -07:00
Joao Eduardo Luis
7ca59dfae1 task: mon_clock_skew_check: missing 'str'.format() key crashed the test
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-07-19 21:54:28 -07:00
Sage Weil
51c2963e53 mon_thrash: tolerate scrub command failure
We can get EBUSY if there is an election going on.
2013-07-19 21:53:33 -07:00
Warren Usui
4036547e04 Merge branch 'wip-teuthREAD-wusui' 2013-07-19 19:18:28 -07:00
Warren Usui
1964818399 Update to describe tasks and parameters to tasks, including the install
parameters requested in 4470.  Added more information to the vm section,
and included a section documenting the test suites.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Fixes: 4470
Reviewed By: Dan Mick and Alfredo Deza

Include Alfredo's suggestions
2013-07-19 19:16:21 -07:00
Josh Durgin
633a1881e4 Merge branch 'wip-centos-rgw' 2013-07-19 14:44:51 -07:00
Josh Durgin
f0123db7d9 rgw: turn off continue print on centos
Also note that a ceph.conf setting is needed for that too

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-19 14:42:38 -07:00
Josh Durgin
29e7db26eb install: remove ceph-release rpm file after it's used
No need for it anymore, it's just taking up space

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-19 14:36:18 -07:00
Sage Weil
0cc1cffd50 Merge remote-tracking branch 'gh/next' 2013-07-19 11:27:19 -07:00
Sage Weil
d874b57ef2 sleep: new task 2013-07-19 11:26:58 -07:00
Sage Weil
375c0d4e5c Merge pull request #18 from alfredodeza/master
Safer dict.get in queues.py
2013-07-19 10:10:15 -07:00
Alfredo Deza
5263a6f758 failed dict.get evaluates to None 2013-07-19 09:01:28 -04:00
Alfredo Deza
65f49beb35 safer get by falling back to a dictionary 2013-07-19 08:59:53 -04:00
Sandon Van Ness
203bc59b11 Merge branch 'wip-machine-based-workers' into next 2013-07-18 19:52:25 -07:00
Sandon Van Ness
a2efc17305 Merge branch 'wip-machine-based-workers' 2013-07-18 19:37:25 -07:00
Sage Weil
4db5b930af ceph: do not ignore osd leaks
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-18 18:05:25 -07:00
Sage Weil
0985f8c386 nuke: killall ceph-disk, too
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-18 12:31:11 -07:00
Sandon Van Ness
5f9a1d8a0f Worker processes by machine type instead of teuthology branch.
teuthology-suite and schedulewill now take --worker instead of
--branch. The branch is set by setting teuthology_branch in the
yaml used to schedule the job.

The teuthology branches are assumed to be in ~/teuthology-$branch
of whatever user is running the workers.
2013-07-18 12:04:08 -07:00
Sage Weil
320032f65b schedule_suite.sh: escape ceph-deploy overrides 2013-07-18 11:38:00 -07:00
Sage Weil
2173d33d89 ceph-deploy: support overrides
Something like

overrides:
  ceph-deploy:
    foo: bar

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-18 11:21:20 -07:00
Sage Weil
a395d55e0a Merge remote-tracking branch 'gh/next' 2013-07-17 21:33:50 -07:00
Sage Weil
bfd6010747 Merge branch 'wip-machine-type'
Reviewed-by: Sandon Van Ness <sandon@inktank.com>
2013-07-17 20:59:54 -07:00
Sage Weil
99c40128e4 lock: filter machine type for --list, --list-targets
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-17 20:54:16 -07:00
Sage Weil
608d8a201a lock: make --summary list all machines by default
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-17 20:54:15 -07:00
Sage Weil
1d16a9ba7f lock: drop machine-type default, but require for lock-many
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-17 20:54:08 -07:00
Samuel Just
9e91395a2e ceph.conf.template: enable osd debug verify stray on activate
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-07-17 18:14:58 -07:00
Yehuda Sadeh
c395687fd9 radosgw-admin: adapt task to recent changes
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-17 14:05:26 -07:00
tamil
053ba3a242 Merge branch 'master' of github.com:ceph/teuthology 2013-07-16 17:41:57 -07:00
tamil
a24aaa41af added overrides for ceph-deploy
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-07-16 17:41:32 -07:00
Sage Weil
b15513fc7c workunit: set CEPH_CLI_TEST_DUP_COMMAND
This will make the CLI do every mon command twice and make sure they both
succeed.  This catches problems with mon command idempotency faster than
waiting for random failures trigger.
2013-07-16 17:16:08 -07:00
tamil
51352677ab added conf section to ceph-deploy task
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-07-16 17:14:33 -07:00
Warren Usui
e3d9084cd9 Created tasktest to test sequential and parallel tasks.
Added sequential task and parallel task.
Changed _run_one_task to run_one_task (now called by new tasks too).

Fix #4969
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-07-15 19:08:23 -07:00
tamil
47696d2b92 calling mon destroy command after mds create
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-07-15 17:04:21 -07:00
Sage Weil
5d596a4679 ceph_manager: drop -t arg prefix for pg dump_stuck
This is no longer needed, and ugly to support.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-13 14:11:26 -07:00
Sandon Van Ness
b9b9dd130e Remove btrfs-tools and xfsprogs install step.
We already install btrfs-tools and xfsprogs with ceph-qa-chef
Doing it here was just causing problems on non-ubuntu
distros and I really see no point for it to have it now.
2013-07-12 20:56:07 -07:00
Sandon Van Ness
db4ad507de Allow Overrides for ceph-deploy task
This is needed so we can set the ceph branch for ceph-deploy
to use via the main yaml which is created via the suite
scheduler.


Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:54:23 -07:00
Sandon Van Ness
bd9cf10ca0 Workaround repopriority of yum local repo.
Because of issues with package name differences vps are
setup to use repopriority and our local repo (which has
some ceph/librados stuff in it) gets high priority so
the ceph.repo that is created on the machine from
ceph-release basically gets ignored. This change makes
it so ceph.repo is the same priority level as our local
repo.


Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:24:19 -07:00
Sandon Van Ness
e3a0742156 Don't install kernels on non-ubuntu VPS
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:20:45 -07:00
Sandon Van Ness
8b05c8cc7b Re-create guest if it doesn't come up right.
In some rare cases (mainly centos/rhel after creating the
guest with downburst it does not come up right. It
gets a kernel panic at boot. Usually just turning it off
and then back on again is enough but to be on the safe
side I figured it should be re-created instead. This
insures you don't get hung jobs from a guest that didn't
come up correctly.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:19:51 -07:00
Sandon Van Ness
4f478ccf2c Add description option to lock.lock()
For some reason lock_many() has a description but lock()
does not. This was useful in my testing of unlocking and
re-locking VPS machines to destroy.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:16:28 -07:00
Sandon Van Ness
f16ecb99c5 Use ceph.com mirror instea of github for ceph-qa-chef on VPS.
Github.com is unreliable so use the ceph mirror instead.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:13:47 -07:00
Sandon Van Ness
4dbef128d7 List IP address in orchestra.run output.
Figuring out which machines output is coming from when things
are being executed on multiple machines can be a huge pain.
This prints the IP in the logs so you can easily see where one
machine stops and another begins.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:10:36 -07:00
Sandon Van Ness
d7a20ba293 Fix Missed parenthesis.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-07-12 20:08:06 -07:00
Sandon Van Ness
da7483a741 VM: Use mac addresses from DB instead of randomizing.
In order to make IP addresses less likely to change and to allow
a smaller DHCP pool to be used I generated static MAC addresses
for all the vpm entries in the DB. I also put the correct entries
for all the other types of machines as well for their primary
(eth0) mac address as well in order to keep things standardized
and so there is another location where we have this information.

Without this fix going through a few tests would exhaust the DHCP
pool which at the time was around 460 IP addresses for virtual
machines and has since been upped to ~690 IP addresses.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
2013-07-12 20:05:39 -07:00
Sage Weil
0ee700830d ceph.conf: enable old message assert
If this triggers, the RECONNECT_SEQ feature is broken (and
maybe we've caught #5517).
2013-07-12 15:18:50 -07:00
Josh Durgin
c0a7808164 rgw: use different daemon name and apache module paths
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-10 18:00:25 -07:00