ceph.git
5 years agoMerge pull request #22874 from ddiss/bluestore_docs v10.2.0
Igor Fedotov [Thu, 5 Jul 2018 14:51:00 +0000 (17:51 +0300)]
Merge pull request #22874 from ddiss/bluestore_docs

doc/bluestore: fix minor typos in compression section

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #22617 from tianshan/fix_http_err_return
Casey Bodley [Thu, 5 Jul 2018 13:48:57 +0000 (09:48 -0400)]
Merge pull request #22617 from tianshan/fix_http_err_return

rgw: set cr state if aio_read err return in RGWCloneMetaLogCoroutine

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #22793 from kshtsk/wip-add-opensuse-leap
Nathan Cutler [Thu, 5 Jul 2018 13:39:26 +0000 (15:39 +0200)]
Merge pull request #22793 from kshtsk/wip-add-opensuse-leap

Add new OpenSUSE Leap id for install-deps.sh

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/bluestore: fix minor typos in compression section 22874/head
David Disseldorp [Thu, 5 Jul 2018 11:41:35 +0000 (13:41 +0200)]
doc/bluestore: fix minor typos in compression section

Signed-off-by: David Disseldorp <ddiss@suse.de>
5 years agoMerge pull request #22829 from tspmelo/fix-24757
Lenz Grimmer [Thu, 5 Jul 2018 10:46:28 +0000 (12:46 +0200)]
Merge pull request #22829 from tspmelo/fix-24757

mgr/dashboard: Fix regression on rbd form component

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #22762 from ricardoasmarques/wip-toolbar-text
Lenz Grimmer [Thu, 5 Jul 2018 10:44:52 +0000 (12:44 +0200)]
Merge pull request #22762 from ricardoasmarques/wip-toolbar-text

mgr/dashboard: Remove top-right actions text and add "About" page

Reviewed-by: Kanika Murarka <murarkakanika@gmail.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #20133 from smithfarm/wip-redundant-recommends
Kefu Chai [Thu, 5 Jul 2018 06:45:24 +0000 (14:45 +0800)]
Merge pull request #20133 from smithfarm/wip-redundant-recommends

build/ops: deb: drop redundant ceph-common recommends

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #22847 from ErwanAliasr1/evelu-ccache2
Kefu Chai [Thu, 5 Jul 2018 03:39:18 +0000 (11:39 +0800)]
Merge pull request #22847 from ErwanAliasr1/evelu-ccache2

run-make-check.sh: Adding ccache tuning for the CI

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #22703 into master
Sage Weil [Wed, 4 Jul 2018 19:22:18 +0000 (14:22 -0500)]
Merge PR #22703 into master

* refs/pull/22703/head:
doc/mgr: add doc for crash mgr module
qa/suites/rados/mgr: Add test_crash
qa/tasks/mgr: add test_crash, call from test_module_selftest
qa/tasks/{ceph_manager.py,vstart_runner.py}: allow kwargs in raw_*
mgr/pybind/crash: handle crashdumps

Reviewed-by: John Spray <john.spray@redhat.com>
5 years agoMerge PR #22704 into master
Sage Weil [Wed, 4 Jul 2018 19:22:13 +0000 (14:22 -0500)]
Merge PR #22704 into master

* refs/pull/22704/head:
osd/PG: do not send notify to empty peer
osd/PG: do not assume delete event means found_missing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #22733 into master
Sage Weil [Wed, 4 Jul 2018 19:22:08 +0000 (14:22 -0500)]
Merge PR #22733 into master

* refs/pull/22733/head:
os/bluestore: set correctly shard for existed Collection.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge PR #22738 into master
Sage Weil [Wed, 4 Jul 2018 19:22:00 +0000 (14:22 -0500)]
Merge PR #22738 into master

* refs/pull/22738/head:
mgr/status: add exabytes unit

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #22534 into master
Sage Weil [Wed, 4 Jul 2018 19:20:27 +0000 (14:20 -0500)]
Merge PR #22534 into master

* refs/pull/22534/head:
msg/Messenger: use safe_item_history<> for my_addrs
msg/simple: fix set_myaddrs()
msg/Messenger: use mutable_item_history<> for my_addrs
common/item_history: container to support lockless reads, infrequent updates
msg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint
msg/async: track target_addr for each connection
msg/async: mark accepted connections with addr type (legacy or msgr2)
msg/async: mark AsyncConnection with msgr2 flag
msg/async: track connections by addrvec
mon/Session: inst -> name and addrs
osd/OSDMap: don't print hb addrs
msg/DispatchQueue: myaddr -> myaddrs
mgr: myaddr -> myaddrs
msg: make set_addr_unknowns take an addrvec
mon/LogMonitor: myaddr -> myaddrs
librados: myaddr -> myaddrs
common/LogClient: myaddr -> myaddrs
client: myaddr -> myaddrs
osd/OSDMap: is_blacklisted() for addrvecs
osd: populate metadata with all addrs
mds: addr -> addrvec
mon/MonClient: get_myaddrs()
mon/OSDMonitor: addrvec blacklist helper
mds: use new pick_addresses
ceph-osd: use new bindv()
msg/async: bind to multiple addresses
msg/async: (legacy) handshake using legacy addr
msg/async: fix some debug prefixes
msg/async: multiple listening ServerSockets
osd/OSDMap: make cluster addrs addrvecs too
msg/Messenger: my_addr -> my_addrs
msg/Connection: peer_addr -> peer_addrs
msg/msg_types: hash<> for entity_addrvec_t
mgr/DaemonServer: use new bindv() and pick_addresses()
msg/Messenger: new bindv() that takes an addrvec
common/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options
common/pick_addresses: new addrvec-based pick_addresses()
common/pick_addresses: add filtering by ipv4 and ipv6
CEPH_MON_PORT -> CEPH_MON_PORT_LEGACY; define CEPH_MON_PORT_IANA
osd: kill osd_heartbeat_addr option
common/options: add addrvec option type

Reviewed-by: Ricardo Dias <rdias@suse.com>
5 years agomgr/dashboard: Fix regression on rbd form component 22829/head
Tiago Melo [Tue, 3 Jul 2018 13:38:35 +0000 (14:38 +0100)]
mgr/dashboard: Fix regression on rbd form component

'decodeURIComponent' method was decoding an undefined variable to the string
'undefined', which would later cause problems.

This regression was introduced in057d6025894800c1b4a422b081fe02ab82b044fe.

Fixes: http://tracker.ceph.com/issues/24757
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #22852 from ceph/jcsp-cephfs-exp-doc
John Spray [Wed, 4 Jul 2018 16:00:11 +0000 (17:00 +0100)]
Merge pull request #22852 from ceph/jcsp-cephfs-exp-doc

doc/cephfs: remove lingering "experimental" note about multimds

Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agodoc/cephfs: remove lingering "experimental" note about multimds 22852/head
John Spray [Wed, 4 Jul 2018 12:12:19 +0000 (13:12 +0100)]
doc/cephfs: remove lingering "experimental" note about multimds

Signed-off-by: John Spray <john.spray@redhat.com>
5 years agoMerge pull request #22830 from ricardoasmarques/fix-24756
Lenz Grimmer [Wed, 4 Jul 2018 11:47:42 +0000 (13:47 +0200)]
Merge pull request #22830 from ricardoasmarques/fix-24756

mgr/dashboard: Fix RBD object size dropdown options

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agorun-make-check.sh: Adding ccache tuning for the CI 22847/head
Erwan Velu [Wed, 4 Jul 2018 07:47:56 +0000 (09:47 +0200)]
run-make-check.sh: Adding ccache tuning for the CI

When run-make-check is run by the CI, some tuning can be performed to
speedup the build.

This commit :
- Detect jenkins by searching JENKINS_HOME env variable
- Defines the SOURCE_DATE_EPOCH to enforce a stable date across builds
- Ask cmake not to use the git versioning which adds useless entropy for a temporary build (ENABLE_GIT_VERSION=OFF)
- Define the ccache slopiness to increase efficiency
- Increase the ccache size to save multiple builds to maximise cache hit between PRs
- Print ccache statistics to evaluate ccache efficiency

Signed-off-by: Erwan Velu <erwan@redhat.com>
5 years agoMerge pull request #22644 from Devp00l/wip-forms-helper-service
Lenz Grimmer [Wed, 4 Jul 2018 09:30:16 +0000 (11:30 +0200)]
Merge pull request #22644 from Devp00l/wip-forms-helper-service

 mgr/dashboard: CdFormGroup

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Fix RBD object size dropdown options 22830/head
Ricardo Marques [Tue, 3 Jul 2018 14:13:07 +0000 (15:13 +0100)]
mgr/dashboard: Fix RBD object size dropdown options

Fixes: https://tracker.ceph.com/issues/24756
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #22461 from tspmelo/wip-osd-flags-ui
Lenz Grimmer [Wed, 4 Jul 2018 08:55:15 +0000 (10:55 +0200)]
Merge pull request #22461 from tspmelo/wip-osd-flags-ui

mgr/dashboard: Add UI for Cluster-wide OSD Flags configuration

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Add "About" modal 22762/head
Ricardo Marques [Thu, 28 Jun 2018 15:11:36 +0000 (16:11 +0100)]
mgr/dashboard: Add "About" modal

Fixes: https://tracker.ceph.com/issues/24646
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agomgr/dashboard: Usage of 'BehaviorSubject' in summary
Ricardo Marques [Tue, 3 Jul 2018 09:05:30 +0000 (10:05 +0100)]
mgr/dashboard: Usage of 'BehaviorSubject' in summary

Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agomgr/dashboard: Remove text from top-right actions
Ricardo Marques [Thu, 28 Jun 2018 13:07:56 +0000 (14:07 +0100)]
mgr/dashboard: Remove text from top-right actions

Fixes: https://tracker.ceph.com/issues/24624
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #22757 from votdev/improve_str_to_bool
Lenz Grimmer [Wed, 4 Jul 2018 07:30:06 +0000 (09:30 +0200)]
Merge pull request #22757 from votdev/improve_str_to_bool

mgr/dashboard: Improve str_to_bool

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoos/bluestore: set correctly shard for existed Collection. 22733/head
Jianpeng Ma [Tue, 3 Jul 2018 07:11:07 +0000 (15:11 +0800)]
os/bluestore: set correctly shard for existed Collection.

For existed Collection, the constructor of Collection will be called in _open_collections.
But m_finisher_num can't setup when enable bluestore_shard_finishers.

So move m_finisher_num setup before _open_collections && _kv_start.

Fixes: http://tracker.ceph.com/issues/24761
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
5 years agoMerge pull request #22837 from dzafman/wip-fix-timeout
David Zafman [Tue, 3 Jul 2018 22:05:47 +0000 (18:05 -0400)]
Merge pull request #22837 from dzafman/wip-fix-timeout

test: test_get_timeout_delays() fix

Reviewed-by: Erwan Velu <erwan@redhat.com>
5 years agotest: test_get_timeout_delays() fix 22837/head
David Zafman [Tue, 3 Jul 2018 21:01:36 +0000 (14:01 -0700)]
test: test_get_timeout_delays() fix

Caused by: 7b0d1c8b8acff2a7010bfb0400df09786033ac63

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agomsg/Messenger: use safe_item_history<> for my_addrs 22534/head
Sage Weil [Wed, 27 Jun 2018 13:40:24 +0000 (08:40 -0500)]
msg/Messenger: use safe_item_history<> for my_addrs

Mutating the item in place is not safe.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/simple: fix set_myaddrs()
Sage Weil [Wed, 27 Jun 2018 13:36:06 +0000 (08:36 -0500)]
msg/simple: fix set_myaddrs()

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/Messenger: use mutable_item_history<> for my_addrs
Sage Weil [Wed, 27 Jun 2018 13:34:07 +0000 (08:34 -0500)]
msg/Messenger: use mutable_item_history<> for my_addrs

We read this without a lock.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/item_history: container to support lockless reads, infrequent updates
Sage Weil [Wed, 27 Jun 2018 13:33:36 +0000 (08:33 -0500)]
common/item_history: container to support lockless reads, infrequent updates

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint
Sage Weil [Tue, 26 Jun 2018 16:41:14 +0000 (11:41 -0500)]
msg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: track target_addr for each connection
Sage Weil [Tue, 12 Jun 2018 19:35:18 +0000 (14:35 -0500)]
msg/async: track target_addr for each connection

The target_addr is item from peer_addrs that we are using for the
connection.  On accept, we learn it during the handshake.  On connect,
we choose it early on (first item in addrvec that we understand).

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: mark accepted connections with addr type (legacy or msgr2)
Sage Weil [Tue, 12 Jun 2018 19:12:19 +0000 (14:12 -0500)]
msg/async: mark accepted connections with addr type (legacy or msgr2)

We have to note the addr type we are listening for in the ServerSocketImpl
and pass that on to any AsyncConnections that result.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: mark AsyncConnection with msgr2 flag
Sage Weil [Tue, 12 Jun 2018 19:06:33 +0000 (14:06 -0500)]
msg/async: mark AsyncConnection with msgr2 flag

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: track connections by addrvec
Sage Weil [Tue, 12 Jun 2018 18:42:25 +0000 (13:42 -0500)]
msg/async: track connections by addrvec

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/Session: inst -> name and addrs
Sage Weil [Tue, 12 Jun 2018 17:39:55 +0000 (12:39 -0500)]
mon/Session: inst -> name and addrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd/OSDMap: don't print hb addrs
Sage Weil [Tue, 12 Jun 2018 17:39:18 +0000 (12:39 -0500)]
osd/OSDMap: don't print hb addrs

Nobody cares!

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/DispatchQueue: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 17:31:35 +0000 (12:31 -0500)]
msg/DispatchQueue: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 17:30:56 +0000 (12:30 -0500)]
mgr: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg: make set_addr_unknowns take an addrvec
Sage Weil [Tue, 12 Jun 2018 16:44:16 +0000 (11:44 -0500)]
msg: make set_addr_unknowns take an addrvec

Nicely collapse the wonky logic in OSD into the helper!

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/LogMonitor: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 16:22:20 +0000 (11:22 -0500)]
mon/LogMonitor: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agolibrados: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 16:21:41 +0000 (11:21 -0500)]
librados: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/LogClient: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 16:21:26 +0000 (11:21 -0500)]
common/LogClient: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoclient: myaddr -> myaddrs
Sage Weil [Tue, 12 Jun 2018 16:21:03 +0000 (11:21 -0500)]
client: myaddr -> myaddrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd/OSDMap: is_blacklisted() for addrvecs
Sage Weil [Tue, 12 Jun 2018 16:44:36 +0000 (11:44 -0500)]
osd/OSDMap: is_blacklisted() for addrvecs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd: populate metadata with all addrs
Sage Weil [Tue, 12 Jun 2018 16:18:59 +0000 (11:18 -0500)]
osd: populate metadata with all addrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomds: addr -> addrvec
Sage Weil [Tue, 12 Jun 2018 16:18:44 +0000 (11:18 -0500)]
mds: addr -> addrvec

Update MDSMap to use entity_addrvec_t instead of entity_addr_t.  Adjust
the various mon and mgr pieces that touch it accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/MonClient: get_myaddrs()
Sage Weil [Tue, 12 Jun 2018 16:15:48 +0000 (11:15 -0500)]
mon/MonClient: get_myaddrs()

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/OSDMonitor: addrvec blacklist helper
Sage Weil [Tue, 12 Jun 2018 14:38:44 +0000 (09:38 -0500)]
mon/OSDMonitor: addrvec blacklist helper

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomds: use new pick_addresses
Sage Weil [Tue, 5 Jun 2018 22:05:10 +0000 (17:05 -0500)]
mds: use new pick_addresses

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-osd: use new bindv()
Sage Weil [Mon, 4 Jun 2018 21:49:25 +0000 (16:49 -0500)]
ceph-osd: use new bindv()

Rely on the new and improved pick_addresses() to produce an addrvec of
addresses we should bind to.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: bind to multiple addresses
Sage Weil [Mon, 4 Jun 2018 21:36:46 +0000 (16:36 -0500)]
msg/async: bind to multiple addresses

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: (legacy) handshake using legacy addr
Sage Weil [Mon, 4 Jun 2018 21:36:10 +0000 (16:36 -0500)]
msg/async: (legacy) handshake using legacy addr

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: fix some debug prefixes
Sage Weil [Mon, 4 Jun 2018 21:35:36 +0000 (16:35 -0500)]
msg/async: fix some debug prefixes

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/async: multiple listening ServerSockets
Sage Weil [Mon, 4 Jun 2018 20:00:57 +0000 (15:00 -0500)]
msg/async: multiple listening ServerSockets

No functional change yet.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd/OSDMap: make cluster addrs addrvecs too
Sage Weil [Mon, 4 Jun 2018 19:23:35 +0000 (14:23 -0500)]
osd/OSDMap: make cluster addrs addrvecs too

This will allow a single-step upgrade from msgr1 to msgr2: as each
nautilus OSD starts up, it will bind to both msgr1 and msgr2 addrs
(assuming it starts up after the mons have been upgraded).  Peer OSDs will
use the msgr2 address if they can, or the legacy one if they can't.
Once require_osd_release >= nautilus OSDs will stop binding to msgr1
ports at all.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/Messenger: my_addr -> my_addrs
Sage Weil [Mon, 4 Jun 2018 13:34:22 +0000 (08:34 -0500)]
msg/Messenger: my_addr -> my_addrs

Minimal changes to SimpleMessenger and AsyncMessenger to keep things
working, assuming we ony have a single addr in the addrvec.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/Connection: peer_addr -> peer_addrs
Sage Weil [Fri, 1 Jun 2018 19:51:05 +0000 (14:51 -0500)]
msg/Connection: peer_addr -> peer_addrs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/msg_types: hash<> for entity_addrvec_t
Sage Weil [Fri, 1 Jun 2018 19:52:26 +0000 (14:52 -0500)]
msg/msg_types: hash<> for entity_addrvec_t

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/DaemonServer: use new bindv() and pick_addresses()
Sage Weil [Fri, 1 Jun 2018 19:14:40 +0000 (14:14 -0500)]
mgr/DaemonServer: use new bindv() and pick_addresses()

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomsg/Messenger: new bindv() that takes an addrvec
Sage Weil [Fri, 1 Jun 2018 19:14:24 +0000 (14:14 -0500)]
msg/Messenger: new bindv() that takes an addrvec

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options
Sage Weil [Fri, 1 Jun 2018 19:13:29 +0000 (14:13 -0500)]
common/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options

This allows users to simply pass in CLUSTER or PUBLIC and the function
fills in the rest.  (Or, if the caller is particular, they can pass in
the other flags too.)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/pick_addresses: new addrvec-based pick_addresses()
Sage Weil [Fri, 1 Jun 2018 18:31:38 +0000 (13:31 -0500)]
common/pick_addresses: new addrvec-based pick_addresses()

Flags for everything we would want.  The intent is to return an addrvec
of addrs that we can directly bind to.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/pick_addresses: add filtering by ipv4 and ipv6
Sage Weil [Thu, 31 May 2018 11:49:44 +0000 (06:49 -0500)]
common/pick_addresses: add filtering by ipv4 and ipv6

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoCEPH_MON_PORT -> CEPH_MON_PORT_LEGACY; define CEPH_MON_PORT_IANA
Sage Weil [Wed, 23 May 2018 22:17:09 +0000 (17:17 -0500)]
CEPH_MON_PORT -> CEPH_MON_PORT_LEGACY; define CEPH_MON_PORT_IANA

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoosd: kill osd_heartbeat_addr option
Sage Weil [Wed, 30 May 2018 21:42:58 +0000 (16:42 -0500)]
osd: kill osd_heartbeat_addr option

This serves no (good) purpose: we should always use the public addr/
network.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocommon/options: add addrvec option type
Sage Weil [Wed, 23 May 2018 16:42:25 +0000 (11:42 -0500)]
common/options: add addrvec option type

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #22165 into master
Patrick Donnelly [Tue, 3 Jul 2018 16:10:09 +0000 (09:10 -0700)]
Merge PR #22165 into master

* refs/pull/22165/head:
qa: add one-off clusters to qa/cephfs/clusters
qa: allocate more space for VM disk
qa/cephfs/clusters/*: bigger cinder volumses

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomgr/dashboard: Move validators into forms directory 22644/head
Stephan Müller [Fri, 22 Jun 2018 11:35:35 +0000 (13:35 +0200)]
mgr/dashboard: Move validators into forms directory

Now that 'forms' directory exists, the validators are moved to
it. Angular also does this with it's validators ('@angular/forms').

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in deletion modal
Stephan Müller [Tue, 19 Jun 2018 14:42:38 +0000 (16:42 +0200)]
mgr/dashboard: Use forms in deletion modal

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RGW user capability
Stephan Müller [Tue, 19 Jun 2018 14:21:54 +0000 (16:21 +0200)]
mgr/dashboard: Use forms in RGW user capability

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RGW subuser modal
Stephan Müller [Tue, 19 Jun 2018 14:17:44 +0000 (16:17 +0200)]
mgr/dashboard: Use forms in RGW subuser modal

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RGW user s3 key modal
Stephan Müller [Tue, 19 Jun 2018 14:06:07 +0000 (16:06 +0200)]
mgr/dashboard: Use forms in RGW user s3 key modal

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RGW user form
Stephan Müller [Tue, 19 Jun 2018 13:38:00 +0000 (15:38 +0200)]
mgr/dashboard: Use forms in RGW user form

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RGW bucket form
Stephan Müller [Wed, 27 Jun 2018 09:33:09 +0000 (11:33 +0200)]
mgr/dashboard: Use forms in RGW bucket form

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RBD snapshot form
Stephan Müller [Tue, 19 Jun 2018 12:08:52 +0000 (14:08 +0200)]
mgr/dashboard: Use forms in RBD snapshot form

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: Use forms in RBD form
Stephan Müller [Mon, 18 Jun 2018 13:18:13 +0000 (15:18 +0200)]
mgr/dashboard: Use forms in RBD form

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: CdFormBuilder
Stephan Müller [Mon, 25 Jun 2018 09:33:10 +0000 (11:33 +0200)]
mgr/dashboard: CdFormBuilder

Now the form builder can be used to build CdFormGroups.

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: CdFormGroup
Stephan Müller [Mon, 18 Jun 2018 10:41:36 +0000 (12:41 +0200)]
mgr/dashboard: CdFormGroup

CdFormGroup extends 'FormGroup' with a few new methods that will help
form development.

Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #22828 from ceph/wip-conf-error-message
Alfredo Deza [Tue, 3 Jul 2018 15:28:55 +0000 (11:28 -0400)]
Merge pull request #22828 from ceph/wip-conf-error-message

ceph-volume: provide a nice errror message when missing ceph.conf

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #22548 from ovh/bp-cls-otp-build
Casey Bodley [Tue, 3 Jul 2018 13:24:02 +0000 (09:24 -0400)]
Merge pull request #22548 from ovh/bp-cls-otp-build

cls: build cls_otp only WITH_RADOSGW

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #22764 from ceph/wip-rm24504
Alfredo Deza [Tue, 3 Jul 2018 12:15:18 +0000 (08:15 -0400)]
Merge pull request #22764 from ceph/wip-rm24504

ceph-volume: refuse to zap mapper devices

Reviewed-by: Alfredo Deza
5 years agoceph-volume: always ignore a missing ceph conf in main.py 22828/head
Andrew Schoen [Tue, 3 Jul 2018 11:45:24 +0000 (06:45 -0500)]
ceph-volume: always ignore a missing ceph conf in main.py

Now that we have a nice error message when a ceph.conf is missing
and we try to use values from it, maintaining a list of commands that
don't need ceph.conf isn't as helpful. We had actually missed 'simple
trigger' when we first implemented this causing all our luminous tests
for simple to fail when we backported.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
5 years agoMerge pull request #22808 from jcsp/wip-mgr-doc-initial-modules
John Spray [Tue, 3 Jul 2018 10:54:57 +0000 (11:54 +0100)]
Merge pull request #22808 from jcsp/wip-mgr-doc-initial-modules

doc/dashboard: don't advise mgr_initial_modules

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
5 years agodoc/dashboard: don't advise mgr_initial_modules 22808/head
John Spray [Tue, 3 Jul 2018 08:46:07 +0000 (09:46 +0100)]
doc/dashboard: don't advise mgr_initial_modules

This setting tends to confuse people, as it's only respected
on the very first startup of the cluster.  Instead, mention
it (with appropriate caveats) on the general mgr admin
page.

Signed-off-by: John Spray <john.spray@redhat.com>
5 years agoMerge pull request #22802 from bradfitz/its
Jos Collin [Tue, 3 Jul 2018 04:44:52 +0000 (10:14 +0530)]
Merge pull request #22802 from bradfitz/its

doc: fix some it's -> its typos

Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agodoc: fix some it's -> its typos 22802/head
Brad Fitzpatrick [Tue, 3 Jul 2018 02:15:10 +0000 (19:15 -0700)]
doc: fix some it's -> its typos

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
5 years agoMerge pull request #22761 from fullerdj/wip-djf-24686
Josh Durgin [Tue, 3 Jul 2018 00:36:00 +0000 (17:36 -0700)]
Merge pull request #22761 from fullerdj/wip-djf-24686

osd/filestore: Change default filestore_merge_threshold to -10

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoceph-volume: show a nice error message when ceph.conf is not loaded
Andrew Schoen [Mon, 2 Jul 2018 20:58:44 +0000 (15:58 -0500)]
ceph-volume: show a nice error message when ceph.conf is not loaded

If the ceph configuration file is not loaded correctly and then values
from it are used then an undescript error message is shown, e.g.

AttributeError: 'property' object has no attribute 'get'

With this change that same error condition shows the message:

RuntimeError: No valid ceph configuration file was loaded.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
5 years agoAdd new OpenSUSE Leap id for install-deps.sh 22793/head
Kyr Shatskyy [Mon, 2 Jul 2018 13:23:58 +0000 (15:23 +0200)]
Add new OpenSUSE Leap id for install-deps.sh

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
5 years agoMerge pull request #21772 from oritwas/wip-rgw-test-bi-list
Orit Wasserman [Mon, 2 Jul 2018 13:06:09 +0000 (16:06 +0300)]
Merge pull request #21772 from oritwas/wip-rgw-test-bi-list

rgw: test bi list

5 years agoMerge pull request #22769 from idryomov/wip-rbdmap-remote-fs-pre
Ilya Dryomov [Mon, 2 Jul 2018 12:37:13 +0000 (14:37 +0200)]
Merge pull request #22769 from idryomov/wip-rbdmap-remote-fs-pre

systemd/rbdmap.service: order us before remote-fs-pre.target

Reviewed-by: Boris Ranto <branto@redhat.com>
5 years agoMerge pull request #22760 from s0nea/wip-dashboard-config-option-flags
Lenz Grimmer [Mon, 2 Jul 2018 11:15:25 +0000 (13:15 +0200)]
Merge pull request #22760 from s0nea/wip-dashboard-config-option-flags

mgr/dashboard: add supported flag information to config options documentation

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add UI for Cluster-wide OSD Flags configuration 22461/head
Tiago Melo [Fri, 11 May 2018 11:26:01 +0000 (12:26 +0100)]
mgr/dashboard: Add UI for Cluster-wide OSD Flags configuration

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #22772 from joscollin/wip-doc-dashboard-ref
Lenz Grimmer [Mon, 2 Jul 2018 08:11:16 +0000 (10:11 +0200)]
Merge pull request #22772 from joscollin/wip-doc-dashboard-ref

doc: s/doc/ref for dashboard urls

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #22776 from tchaikov/wip-thread-setaffinity
Kefu Chai [Sat, 30 Jun 2018 01:00:51 +0000 (09:00 +0800)]
Merge pull request #22776 from tchaikov/wip-thread-setaffinity

crimson/thread: pin thread pool to given CPU

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agodoc/mgr: add doc for crash mgr module 22703/head
Dan Mick [Wed, 27 Jun 2018 22:14:08 +0000 (15:14 -0700)]
doc/mgr: add doc for crash mgr module

Signed-off-by: Dan Mick <dan.mick@redhat.com>
5 years agoqa/suites/rados/mgr: Add test_crash
Dan Mick [Thu, 28 Jun 2018 02:50:57 +0000 (19:50 -0700)]
qa/suites/rados/mgr: Add test_crash

Signed-off-by: Dan Mick <dan.mick@redhat.com>