Jason Dillaman
408e4ad789
rbd-mirror: edge-condition for promote/demote during daemon failover
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-26 00:11:28 -04:00
Jason Dillaman
7313d5439d
rbd-mirror: properly translate remote tag mirror uuid for local mirror
...
Fixes: http://tracker.ceph.com/issues/23876
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-25 19:41:11 -04:00
Sage Weil
754dd93383
Merge pull request #21619 from liewegas/wip-merge-bits
...
mon/OSDMonitor: require --yes-i-really-mean-it for force-create-pg
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-25 11:20:17 -05:00
Sage Weil
60958b32d5
Merge pull request #21628 from liewegas/wip-23646
...
osd/PrimaryLogPG: defer evict if head *or* object intersect scrub interval
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-04-25 10:57:48 -05:00
Sage Weil
f2d8819caf
Merge pull request #21338 from mogeb/iostat-output
...
mgr/iostat: print output as a table
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reveiwed-by: John Spray <john.spray@redhat.com>
2018-04-25 10:49:56 -05:00
Sage Weil
50dfe7384f
Merge pull request #21613 from xiexingguo/wip-fix-delete-priority
...
osd/PG: fix out of order priority for PG deletion
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-25 10:49:13 -05:00
Sage Weil
abd743743e
Merge pull request #21623 from liewegas/wip-21977
...
osd: publish osdmap to OSDService before starting wq threads
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-04-25 10:47:53 -05:00
Sage Weil
52edad1e23
Merge pull request #21626 from cbodley/wip-23846
...
mgrc: free MMgrClose in handle_mgr_close
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-25 08:24:41 -05:00
Mykola Golub
808503f4d9
Merge pull request #21541 from dillaman/wip-18753
...
qa: introduce rbd-mirror thrasher to existing tests
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-25 16:07:16 +03:00
Kefu Chai
005fe21e1d
Merge pull request #21632 from tchaikov/wip-rocksdb-no-aligned-alloc
...
rocksdb: do not use aligned_alloc
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-25 20:47:48 +08:00
Casey Bodley
7427cc43ff
Merge pull request #21479 from cbodley/wip-23547
...
rgw: add buffering filter to compression for fetch_remote_obj
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2018-04-25 08:26:25 -04:00
Casey Bodley
ce85a73b7a
Merge pull request #21576 from cbodley/wip-23506
...
rgw: fix error handling for GET with ?torrent
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2018-04-25 08:22:35 -04:00
Casey Bodley
38da3ab182
Merge pull request #21569 from cbodley/wip-23803
...
rgw: aws4 auth supports PutBucketRequestPayment
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-04-25 08:21:47 -04:00
Casey Bodley
c6f88237d9
Merge pull request #20212 from tianshan/fix_period_pull
...
rgw: do not reflect period if not current
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:21:15 -04:00
Casey Bodley
11a78f844a
Merge pull request #20796 from theanalyst/rgw/es-cs-fix
...
rgw: es module: set compression type correctly
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:20:46 -04:00
Casey Bodley
4aa481084f
Merge pull request #21500 from yehudasa/wip-23779
...
rgw: encoding fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:20:01 -04:00
Casey Bodley
4e2ddee530
Merge pull request #21534 from cbodley/wip-23480
...
rgw: move all pool creation into rgw_init_ioctx
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-04-25 08:19:33 -04:00
Casey Bodley
df17c66499
Merge pull request #21551 from zhangsw/fix-rgw-userinfo-stats-bug
...
rgw: admin rest api shouldn't return error when getting user's stats if the user hasn't create any bucket.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:18:46 -04:00
Lenz Grimmer
f14ac55710
Merge pull request #21640 from votdev/config_set_help_txt
...
mgr/dashboard: Adapt help text if server_addr is not set
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-25 14:00:39 +02:00
Volker Theile
901682e622
mgr/dashboard: Adapt help text if server_addr is not set
...
After 'ceph config-key set' is deprecated the help text must be adapted.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-25 12:55:19 +02:00
Lenz Grimmer
c783b7479c
Merge pull request #21636 from rjfd/wip-dashboard-fix-pool-py3
...
mgr/dashboard: pool: fix python3 dict_keys error
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-25 11:21:16 +02:00
Lenz Grimmer
51866e0193
Merge pull request #21618 from votdev/loading_panel
...
mgr/dashboard: Add 'cd-loading-panel' component
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-04-25 11:17:58 +02:00
Yan, Zheng
46fd2d033e
Merge pull request #21633 from ukernel/wip-mds-stat-rstat
...
mds: fix CEPH_STAT_RSTAT definition
2018-04-25 16:51:50 +08:00
Ricardo Dias
f866072f74
mgr/dashboard: pool: fix python3 dict_keys error
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-25 09:27:53 +01:00
Kefu Chai
f5f47ea483
rocksdb: do not use aligned_alloc
...
this change picks up the change to "use posix_memalign() for
aligned_alloc()" in ceph/rocksdb.
Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-25 16:19:12 +08:00
Yan, Zheng
ca6c8a7a19
mds: fix CEPH_STAT_RSTAT definition
...
(CEPH_CAP_GWREXTEND << 16) is (1<<22), which causes gaps in caps bits.
CEPH_CAP_FILE_WREXTEND is an unused bit, reuse it for CEPH_STAT_RSTAT.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-25 12:20:04 +08:00
Sage Weil
27e91a99f5
Merge pull request #21273 from jdurgin/wip-23195
...
osd/ECBackend: only check required shards when finishing recovery reads
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-24 17:20:25 -05:00
Sage Weil
8e80c372c2
Merge pull request #21620 from jcsp/wip-mgr-balancer-options
...
mgr/balancer: fix OPTIONS definition
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-24 17:19:48 -05:00
Sage Weil
c20a95b0b9
osd/PrimaryLogPG: defer evict if head *or* object intersect scrub interval
...
Consider a scenario like:
- scrub [3:2525d100:::earlier:head,3:2525d12f:::foo:200]
- we see 3:2525d12f:::foo:100 and include it in scrub map
- scrub [3:2525d12f:::foo:200, 3:2525dfff:::later:head]
- some op(s) that cause scrub to be preempted
- agent_work wants to evict 3:2525d12f:::foo:100
- write_blocked_by_scrub sees scrub is preempted, returns false
- 3:2525d12f:::foo:100 is removed, :head SnapSet is updated
- scrub rescrubs [3:2525d12f:::foo:200, 3:2525dfff:::later:head]
- includes (updated) :head SnapSet
- issues error like "3:2525d12f:::foo:100 is an unexpected clone"
Fix the problem by checking if anything part of the object-to-evict and
its head touch the scrub range; if so, back off. Do not let eviction
preempt scrub; we can come back and do it later.
Fixes: http://tracker.ceph.com/issues/23646
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-24 16:04:27 -05:00
Sage Weil
ef3e5b1069
osd: publish osdmap to OSDService before starting wq threads
...
The worker threads may request the map from the service (notably,
advance_pg() does this).
Fixes: http://tracker.ceph.com/issues/21977
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-24 15:16:21 -05:00
Casey Bodley
38fba24c03
mgrc: free MMgrClose in handle_mgr_close
...
Fixes: http://tracker.ceph.com/issues/23846
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-24 15:55:52 -04:00
Sage Weil
8a218e4115
Merge pull request #21606 from ceph/fix-build-CEPH_CLS_API
...
rados/objclass.h: fix build define CEPH_CLS_API in all cases
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-24 13:04:27 -05:00
Abhishek L
710b3160b1
Merge pull request #21621 from theanalyst/doc/releases/12.2.5
...
doc: v12.2.5 luminous release notes
Reviewed-By: Sage Weil <sage@redhat.com>
2018-04-24 19:00:47 +02:00
Volker Theile
a4bc4ff574
mgr/dashboard: Introduce 'cd-loading-panel' component
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-24 18:42:38 +02:00
Abhishek Lekshmanan
3dd6aa20a8
doc: v12.2.5 luminous release notes
...
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2018-04-24 17:41:00 +02:00
Kefu Chai
82ecf64ea8
Merge pull request #21595 from votdev/load_on_init
...
mgr/dashboard: Load the datatable content on component initialization
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-04-24 23:40:32 +08:00
Mohamad Gebai
05d37379f3
mgr/iostat: print output as a table
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2018-04-24 10:59:40 -04:00
Lenz Grimmer
adf505f6c7
Merge pull request #20899 from Devp00l/deletion-dialog
...
mgr/dashboard: Adds reusable deletion dialog
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-04-24 16:55:11 +02:00
John Spray
8508603bbe
mgr/balancer: fix OPTIONS definition
...
I typo'd a couple of these, which was causing test failures
when the access to the correct names got an exception.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-24 15:39:19 +01:00
Sage Weil
7797ed67d2
mon/OSDMonitor: require --yes-i-really-mean-it for force-create-pg
...
This command declares data loss permanent. Be sure the user really means
it.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-24 08:25:28 -05:00
Sage Weil
1f92ca315a
osd/SnapMapper: print debug line on check failure
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-24 08:24:25 -05:00
Stephan Müller
d110eba340
mgr/dashboard: Replaces delete-confirmation-modal
...
This replaces usage of "delete-confirmation-modal" with the use of
"delete-modal".
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-24 14:45:15 +02:00
Stephan Müller
63ae858582
mgr/dashboard: Change deletion link to modal only
...
Due to CSS problems the link solution wasn't the best way, now it will
represent only the modal content. The downside of this solution is that
it put's the burden on the developer to use it the right way and import
a view things to get it working. But on the upside CSS styles will work
as expected.
The unit test example was updated accordingly this way it should be easy
to understand how it can be implemented the right way.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-24 13:57:43 +02:00
Stephan Müller
f2096e9378
mgr/dashboard: Changes deletion button to link
...
This change was made because a link can be placed anywhere instead of a
button element.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-24 13:57:43 +02:00
Stephan Müller
33e7533c3e
mgr/dashboard: Adds reusable deletion dialog
...
You can now simply use a deletion dialog without having to import a lot
of different things from ngx-bootstrap. Its easy to extend the dialog
by a detail description.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-24 13:57:43 +02:00
Tiago Melo
f1c2f91a89
mgr/dashboard: Add modal component
...
This component should be used each time you define a new modal.
This will allows us to keep all modals with the same visual aspect.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-24 13:57:43 +02:00
Sage Weil
e96475b1b7
Merge pull request #21604 from liewegas/wip-ec-write-to-read
...
osd/ECBackend: wait for apply for luminous peers
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-24 06:42:05 -05:00
John Spray
3f1693db09
Merge pull request #20875 from jan--f/mgr-server-list-hostname
...
mgr: add mgr daemon to DaemonStateIndex with metadata (hostname)
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-24 12:36:48 +01:00
Kefu Chai
c01eeadd00
Merge pull request #21555 from tchaikov/wip-23763
...
test/librados: increase pgp_num along with pg_num
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-24 18:32:21 +08:00
John Spray
8c59d02759
Merge pull request #21139 from guzhongyan/cmd-wildcard
...
mon,mgr: remove single wildcard '*' from ceph comand line description
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-24 11:19:32 +01:00