Commit Graph

94602 Commits

Author SHA1 Message Date
Sage Weil
ec8cc63910 remove all Messenger::get_myaddr() users
Use get_myaddrs() instead and join the glorious future.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:13:09 -06:00
Sage Weil
82e91aa2f5 test/crimson: fix DummyAuthAuthorizer
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:13:09 -06:00
Sage Weil
e01af63269 mon/MonClient: kill get_myaddr()
Not used, and wrong.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:12:43 -06:00
Sage Weil
c64bed3b23 msg/async/ProtocolV1: use legacy v1 address, not any, in protocol
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:12:43 -06:00
Sage Weil
2bc41b4485 msg/Messenger: add get_myaddr_legacy()
This returns a legacy v1 address out of a v1 or any address.  It's
intended to be used in contexts where we *always* want a v1 address,
like SimpleMessenger.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:12:43 -06:00
Sage Weil
3e938143eb msg/msg_types: add entity_addr_t::is_any()
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:12:43 -06:00
Ricardo Dias
03bc0dcdda msg/async: msgr2: send entity type and peer_address in Tag::HELLO frame
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-07 06:12:43 -06:00
Sage Weil
db320dd096 msg/async: identify client using any: addr
The client can speak v1 or v2, so it is misleading to identify it with a v1 or v2
address (it is either).  This avoid some kludgey workarounds.

We also are a bit more precise about what target_addr means.  It is only used by
the client to indicate which of the peer_addrs we are connecting to, or by a
peer to identify which the peer_addrs we *would* reconnect to.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-07 06:12:43 -06:00
Lenz Grimmer
299f2e6629
Merge pull request #26198 from Exotelis/mobile-navigation
mgr/dashboard: Add description to menu items on mobile navigation
2019-02-07 11:05:50 +01:00
Lenz Grimmer
76dc9c6a16
Merge pull request #25346 from p-na/wip-pna-prettier-modified
mgr/dashboard: Fix modified files only (frontend)

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-02-07 11:04:31 +01:00
Kefu Chai
e1428bcd50
Merge pull request #26308 from liu-chunmei/ceph_seastar_io_read
test/crimson: fix build failure of test_alien_echo.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-07 16:28:23 +08:00
Kefu Chai
9a581f23bd
Merge pull request #26253 from tchaikov/wip-remove-random-cache
common/random_cache: remove unused RandomCache

Reviewed-By: Neha Ojha <nojha@redhat.com>
2019-02-07 10:47:21 +08:00
chunmei Liu
9220e85892 crimson: fix build error for test_alien_echo.
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
2019-02-06 16:28:10 -08:00
Neha Ojha
4378557c04
Merge pull request #25575 from ThoreKr/doc-pool-stats-master
doc: Add mention of ceph osd pool stats

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-06 15:10:11 -08:00
Lenz Grimmer
44ff972058
Merge pull request #26189 from s0nea/wip-dashboard-osd-menu-button
mgr/dashboard: Group buttons together into one menu on OSD page

Reviewed-by: Sebastian Krah <skrah@suse.com>
2019-02-06 20:45:36 +01:00
Lenz Grimmer
523273d4fe
Merge pull request #26296 from ricardoasmarques/fix-iscsi-docs-url
Fix iSCSI docs URL

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-02-06 19:58:30 +01:00
Lenz Grimmer
97c69cfe20
Merge pull request #26058 from rhcs-dashboard/37917-sso-404-page
mgr/dashboard: SSO - UserDoesNotExist page

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
2019-02-06 19:57:27 +01:00
David Zafman
de98f2e0d9
Merge pull request #26290 from dzafman/wip-38027-38195
Wip 38027 38195: osd/osd-backfill-space.sh fails

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-06 08:41:40 -08:00
Lenz Grimmer
2275a41d09
Merge pull request #25918 from rjfd/wip-dashboard-nfs-backend
mgr/dashboard: NFS Ganesha management REST API

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-02-06 16:41:49 +01:00
Kefu Chai
c901d7b65c
Merge pull request #26177 from liewegas/wip-stricter-osd-gate
osd: refuse to start if we're > N+2 from recorded require_osd_release

Reviewed-By: Neha Ojha <nojha@redhat.com>
2019-02-06 19:02:34 +08:00
Kefu Chai
305eb0ebfd
Merge pull request #26181 from iliul/fix-pybind-mgr-pep8
pybind/mgr: PEP 8 code clean and fix typo

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-06 19:01:45 +08:00
Kefu Chai
200879a769
Merge pull request #26258 from liewegas/wip-disable-krb
build: disable kerberos for nautilus

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-06 19:00:01 +08:00
Kefu Chai
8e74823d6e
Merge pull request #26259 from rzarzynski/wip-bl-freeze-alloc-unit
common: make CEPH_BUFFER_ALLOC_UNIT known at compile-time.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-02-06 18:59:22 +08:00
Ricardo Marques
dc997b3e7a Fix iSCSI docs URL
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-02-06 10:04:55 +00:00
Sebastian Wagner
c41e6a025c
Merge pull request #26094 from sebastian-philipp/orchestrator-cli-command
mgr/orchestrator: make use of @CLICommand

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-02-06 10:57:45 +01:00
David Zafman
f289816a66
Merge pull request #26178 from dzafman/wip-38070
mon: A PG with PG_STATE_REPAIR doesn't mean damaged data, PG_STATE_IN…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-02-05 14:51:14 -08:00
Yehuda Sadeh
5be454f3d5
Merge pull request #26273 from yehudasa/wip-38174
vstart.sh: fix params generation for monmaptool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-05 14:01:24 -08:00
David Zafman
36e305c4b6 test: Ignore kill_daemons() error
Workaround for: http://tracker.ceph.com/issues/38195

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-02-05 11:31:32 -08:00
David Zafman
bca4fe98b1 test: Fix kill_daemon() to check after last large sleep
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-02-05 11:30:04 -08:00
David Zafman
cc6339c0cd test: Increase timeouts in osd-backfill-space.sh because of failure seen
Fixes: http://tracker.ceph.com/issues/38027

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-02-05 11:29:32 -08:00
Ilya Dryomov
442fcb9a4b
Merge pull request #26279 from idryomov/wip-krbd-bluestore
qa: objectstore snippets for krbd

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-02-05 19:44:36 +01:00
Ricardo Dias
721fab343c
mgr/dashboard: ganesha: support no namespace
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-05 16:07:18 +00:00
Lenz Grimmer
e0cc3d30ec
Merge pull request #25995 from tspmelo/wip-iscsi-ui
mgr/dashboard: iSCSI management UI

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-02-05 16:18:44 +01:00
Sebastian Wagner
38c664b4b9 mgr/orchestrator: fix broken device ls
* Added `InventoryDevice.from_ceph_volume_inventory`
* Improved documentation

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-02-05 15:23:35 +01:00
Sebastian Krah
e7f707b6d1 mgr/dashboard: Use scss variable for media queries
Uses the newly created scss breakpoint variables for every media query that was hardcoded so far.

Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-02-05 13:47:54 +01:00
Sebastian Krah
df0208759a mgr/dashboard: Add description to menu items on mobile navigation
Adds the title of the icons as description right next to it if the resolution
of the browser is below 768px.
Adds a couple of scss variable which define the different breakpoints of
bootstrap. Those variables should be used in media query expressions.

Fixes: https://tracker.ceph.com/issues/37789
Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-02-05 13:47:47 +01:00
alfonsomthd
46e89dee41 mgr/dashboard: SSO - UserDoesNotExist page
* Added sso/404 page for use case when user logs in successfully
  in identity provider but the user does not exist in ceph.

* The page includes a link to perform a logout in IdP
  and return to login page.

Fixes: https://tracker.ceph.com/issues/37917

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-02-05 13:24:47 +01:00
Tiago Melo
6ffaf6264e mgr/dashboard: Add iSCSI Form UI
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:19:52 +00:00
Tiago Melo
b07ef4f856 mgr/dashboard: Add read-only UI for iSCSI
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:19:52 +00:00
Ricardo Dias
076ccd5465
mgr/dashboard: ganesha: notify ganesha daemons to reload configuration
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-05 12:03:27 +00:00
Ricardo Dias
d8900d4ffe
mgr/dashboard: ganesha: add LookupError when checking RGW connectivity
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-05 12:02:59 +00:00
Tiago Melo
f718524ee7 mgr/dashboard: Fix TableComponent when changing columns afterViewInit
Angular was throwing an ExpressionChangedAfterItHasBeenCheckedError if you
changed columns information right after the table was initiated.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
4f27371760 mgr/dashboard: Set CdModal max-height
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
4598bfb34b mgr/dashboard: Enhance CdValidators.validateIf method
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
7acdff9a0f mgr/dashboard: Add generic Select component
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Kefu Chai
19691a7f06
Merge pull request #26202 from smithfarm/wip-fix-s390x-rpm-build
rpm: package crypto libraries for all archs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-05 19:41:48 +08:00
Jeff Layton
d7c8968cf8
mgr/pybind/rados: add binding for rados_notify2
Add a new Ioctx.notify operation that we can call to send a rados
notification over an object.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-05 11:00:38 +00:00
Sebastian Wagner
d71a97b7fa mgr/orchestrator: make use of @CLICommand
Also Modified some command to allow multiple hosts
Also: Added more tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-02-05 11:27:47 +01:00
Ilya Dryomov
711df71790 qa: objectstore snippets for krbd
krbd was being tested with filestore, up until recently when the
default for osd_objectstore was changed to bluestore.  This broke
rbd_simple_big.yaml because bluestore_block_size defaults to 10G.
Pick up the sepia setting of 90G from bluestore-bitmap.yaml.

Run fsx subsuite with both filestore and bluestore.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-02-05 11:23:42 +01:00
Yehuda Sadeh
e883e7398b
Merge pull request #26106 from yehudasa/wip-rgw-es-fixes
rgw: multiple es related fixes and improvements

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-02-04 17:54:43 -08:00