Commit Graph

808 Commits

Author SHA1 Message Date
shylesh kumar
e3bb551067 Rados: wip-13531:Resolve stuck peering
Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
2016-05-02 12:41:14 -04:00
Casey Bodley
2a48199c1d Merge pull request #891 from ceph/wip-rgw-new-multisite
Wip rgw new multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-04-29 12:10:28 -04:00
John Spray
35cb248ce5 Merge pull request #959 from xiaoxichen/add_ns_check
tasks/cephfs: check data written to NS.

Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-26 12:22:48 -05:00
Orit Wasserman
7b5ab7adcb rgw: fix debug messages
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:07 +02:00
Orit Wasserman
3e8f55054f rgw: fix zone get with multisite
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:07 +02:00
Orit Wasserman
9472ee4067 rgw: configure users on all clients
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:07 +02:00
Orit Wasserman
724e7e0b77 rgw: do not overwrite user_info with zone user_info
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:07 +02:00
Orit Wasserman
f0920081ab rgw: allow already exist realm
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:07 +02:00
Orit Wasserman
fd6a6f8f85 rgw: increase timeout to wait for master to 20 seconds
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
c5ee9dec81 rgw: we can have multicluster without multizone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
d03594eab5 rgw: no need to do period pull
realm pull already pulls latest period

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
564a883bc1 rgw: non master zones need to be created on the remote gateway
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
20dab79dd0 rgw: mtime is now a time string with microseconds
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
b75011f2d5 rgw suite: add --rgw-zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
82e03386b8 rgw suite: create default zone after zonegroup creation
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
895f9d334d rgw suite: debug zone info
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
1673e9f62c rgw suite: set default zonegroup on all clients
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
5f9b6003ae rgw: default zone should be always master zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
e88ee582c0 rgw suite: different clients have different defaults zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
157600bcb6 rgw suite: In multisite configuration start the master gw first
Than pull realm and period configuration from it

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
c203974eb6 rgw suite: use master_zonegroup not master_region
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
b8120f7c7a rgw suite: use zonegroups instead of regions
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
1c71383c78 rgw: move realm pull and period pull to pull_configuration
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
d91121431e rgw: update and commit period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
63192cbf46 rgw: add realm creation
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Orit Wasserman
6d066a7a0c rgw suite: always add --rgw-frontends fastcgi
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-19 12:39:06 +02:00
Xiaoxi Chen
226a5068ed tasks/cephfs: check data written to NS.
NS is always used for security isolation.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2016-04-17 17:27:57 +08:00
Sage Weil
52b13e82a6 tasks/ceph: allow set allow_multiple to fail
This will fail on upgrade tests.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 09:10:51 -04:00
Gregory Farnum
827bf93d80 Merge pull request #936 from ceph/wip-layout-snafu-followup
tasks/cephfs: test health messages from readonly stat
2016-04-12 07:50:02 -07:00
Gregory Farnum
7cd48dbe82 Merge pull request #933 from ceph/wip-fs-lockouts
cephfs: update tests to enable multimds when needed
2016-04-12 07:49:51 -07:00
Gregory Farnum
89b15788f9 Reproducer for 15303
Reproducer for http://tracker.ceph.com/issues/15303
2016-04-12 07:47:07 -07:00
Orit Wasserman
7f0ad8ab4e rgw: use civetweb if no frontend was configured
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-12 11:04:37 +02:00
Greg Farnum
a739533cd1 FIXUP 'cephfs: update tests to enable multimds when needed' 2016-04-11 21:46:12 -07:00
Greg Farnum
1c4e019ad4 cephfs: enable dirfrags in test_data_scan fragmentation test
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-11 14:16:30 -07:00
Sage Weil
897e52ee82 Merge pull request #944 from athanatos/wip-lfn-upgrade
LFN upgrade tests and a few other misc fixes
2016-04-11 14:01:21 -04:00
Casey Bodley
a32f116345 Merge pull request #954 from ceph/wip-rgw-fix-zone-get
rgw: add default zone name
2016-04-11 10:01:25 -04:00
Loic Dachary
6334196a39 Merge pull request #950 from dachary/wip-buildpackages-xenial
buildpackages: xenial support
2016-04-09 19:37:53 +02:00
Robin H. Johnson
a33517a88f buildpackages: add build timeouts.
The build/upload process CAN get stuck sometimes. As we are paying
utility rates for the high-power build server, we should timeout when
it's likely the build is stuck.

Use a default timeout just short of 4 hours, as some providers round up
partial instance-hours for billing.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-09 00:44:04 +02:00
Robin H. Johnson
df5d147094 buildpackages: support ubuntu 12.04.
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-09 00:42:13 +02:00
Robin H. Johnson
cd4b7ad642 buildpackages: fix configure on Ubuntu 12.04.
Ubuntu 12.04/precise has a buggy lttng; it fails our lttng-is-sane
check, as it leaves out headers.

This should not stop building of Ceph, as the automatic build handling
from debian/rules will correctly omit LTTNG on Precise.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-09 00:42:13 +02:00
Robin H. Johnson
785801c2e9 buildpackages: catch VM instances in ERROR state.
It is possible for 'server create' to return success, but then NOT have
a good VM afterwards. The instance will be in state ERROR.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-09 00:42:09 +02:00
Orit Wasserman
6927f64866 rgw: add default zone name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-08 23:29:55 +02:00
Orit Wasserman
4534e8ed61 rgw: policy acl format should be xml
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-08 22:46:31 +02:00
Loic Dachary
465ff97711 buildpackages: add ubuntu 16.04 xenial support
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-08 13:30:09 +02:00
Samuel Just
7e53203e80 rados/singleton-nomsgr: add lfn upgrade tests
Upgrade from hammer/infernalis to x and verify lfn objects are valid
across upgrade.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
4629585536 tasks: add create_verify_lfn_objects
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
93892eb82a ceph_manager: return exit status on do_get, do_put, do_rm
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
269d6002f1 ceph_manager: add do_rm
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
670ca43dfc ceph_manager: extend do_put and do_get to allow a namespace
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
c8f7694d52 ceph_manager: fix do_get to actually do a get
Currently unused.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00