Skip to content

luminous: msg/async/AsyncConnection.cc: 1835: FAILED assert(state == STATE_CLOSED) - #18746

Merged
yuriw merged 1 commit into
ceph:luminousfrom
shinobu-x:wip-21916-luminous
Jan 23, 2018
Merged

yuriw merged 1 commit into
ceph:luminousfrom
shinobu-x:wip-21916-luminous

Conversation

@tchaikov tchaikov added this to the luminous milestone Nov 5, 2017
@yuriw
yuriw merged commit f5e1d2b into ceph:luminous Jan 23, 2018
emmericp pushed a commit to croit/ceph that referenced this pull request Mar 11, 2018
Snapshot deletion requests on snap ids larger than the snap_seq of
the pool will leave the pool in a state with snap_seq being less
than max(removed_snaps).

This is bad because further deletion requests to a pool in this state
might crash the mon in some cases: the deletion also inserts the new
snap_seq into the removed_snaps set -- which might already exist
in this case and trigger an assert.

Such bad requests will be generated by rbd clients without a fix for
issue ceph#21567.

The change in OSDMonitor prevents pools from getting into this state
and may prevent old broken clients from incorrectly deleting snaps.
The change in osd_types avoids a crash if a pool is already in this
state.

Fixes ceph#18746

Signed-off-by: Paul Emmerich <[email protected]>
emmericp pushed a commit to croit/ceph that referenced this pull request Apr 29, 2018
Snapshot deletion requests on snap ids larger than the snap_seq of
the pool will leave the pool in a state with snap_seq being less
than max(removed_snaps).

This is bad because further deletion requests to a pool in this state
might crash the mon in some cases: the deletion also inserts the new
snap_seq into the removed_snaps set -- which might already exist
in this case and trigger an assert.

Such bad requests will be generated by rbd clients without a fix for
issue ceph#21567.

The change in OSDMonitor prevents pools from getting into this state
and may prevent old broken clients from incorrectly deleting snaps.
The change in osd_types avoids a crash if a pool is already in this
state.

Fixes ceph#18746

Signed-off-by: Paul Emmerich <[email protected]>
(cherry picked from commit f42a6ba)

 Conflicts:
	src/osd/osd_types.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants