Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: tools: ceph-disk: Accept bcache devices as data disks #8497

Merged
1 commit merged into from Jul 10, 2016

Conversation

sabaini
Copy link

@sabaini sabaini commented Apr 7, 2016

Fixes: http://tracker.ceph.com/issues/13278
Signed-off-by: Peter Sabaini peter@sabaini.at

@ErwanAliasr1
Copy link
Contributor

Would be nice to get a topic like "ceph-disk: Accept bcache devices as data disks"

@sabaini sabaini changed the title Accept bcache devices as data disks ceph-disk: Accept bcache devices as data disks Apr 8, 2016
@sabaini
Copy link
Author

sabaini commented Apr 8, 2016

Sure, like this?

@ErwanAliasr1
Copy link
Contributor

Thanks

@tchaikov
Copy link
Contributor

tchaikov commented Apr 8, 2016

@sabaini ideally you might want to update the title of your commit message with the prefix suggested by @ErwanAliasr1 , using "git commit --amend" and "git push -f".

Fixes: http://tracker.ceph.com/issues/13278
Signed-off-by: Peter Sabaini <peter@sabaini.at>
@tchaikov
Copy link
Contributor

@dachary mind taking a look?

@ghost
Copy link

ghost commented Jul 10, 2016

@sabaini this assumes that bcache devices always are partitions, right ?

@ghost ghost self-assigned this Jul 10, 2016
@ghost
Copy link

ghost commented Jul 10, 2016

Hey jenkins, test this please !

@sabaini
Copy link
Author

sabaini commented Jul 10, 2016

@dachary Correct, the individual /dev/bcacheN devices are always partitions
FWIW, the bcache docs are a bit terse but describe this here: https://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt

@ghost ghost merged commit 6ae4d13 into ceph:jewel Jul 10, 2016
@sabaini sabaini deleted the jewel branch July 11, 2016 07:10
@theanalyst theanalyst changed the title ceph-disk: Accept bcache devices as data disks jewel: tools: ceph-disk: Accept bcache devices as data disks Sep 27, 2016
@smithfarm
Copy link
Contributor

Do we know why this feature was merged to jewel when it is not present in master?

@sabaini
Copy link
Author

sabaini commented Jul 8, 2017

This might just be a mistake on my part. I'd be happy to do a PR against master

@smithfarm
Copy link
Contributor

@sabaini If it's really missing in master (I haven't checked), that means it dies when jewel goes EOL. So a PR against master might be a good idea.

@hansbogert
Copy link
Contributor

hansbogert commented Aug 8, 2017

@smithfarm maybe it should be EOL, because since kernel 4.10, bcache devices can definitely have partitions.
I had to monkey patch /usr/lib/python2.7/dist-packages/ceph_disk/main.py on machines, to get expected behavior during deploy.

Expected behavior being: bcache devices being automatically mounted and activated by Ceph, without resorting to a manual fstab config, and a hardcoded ceph.conf which holds a mapping journals to data (bcache) disks.

/edit, already picked up at #16061

@smithfarm
Copy link
Contributor

Sorry, I didn't realize this was merged in July 2016 (I was thinking 2017).

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants