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

add Ceph FS volume plugin #6649

Merged
merged 1 commit into from
Sep 2, 2015
Merged

Conversation

rootfs
Copy link
Contributor

@rootfs rootfs commented Apr 9, 2015

@vishh @thockin

this is functionally ready. I understand Endpoints is still under discussion.

"10.16.154.82:0",
"10.16.154.83:0"
]
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Add new line.

@vishh vishh self-assigned this Apr 9, 2015
func (plugin *cephfsPlugin) newBuilderInternal(spec *api.Volume, ep *api.Endpoints, podRef *api.ObjectReference, mounter mount.Interface, exe exec.Interface) (volume.Builder, error) {
id := spec.Cephfs.RadosUser
if id == "" {
id = "admin"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can you move all the strings to be const variables at the top of the file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this defaulted here and not in the API defaults files? There may be a legit reason, but I want to understand

@vishh
Copy link
Contributor

vishh commented Apr 9, 2015

Thanks for all the awesome work @rootfs. Just a few nits. I would really like to have end to end tests for these plugins. I opened a separate issue to discuss that.

// Optional: RadosUser is the rados user name, default is admin
RadosUser string `json:"user"`
// Optional: SecretFile is the path to key file for user, default is /etc/ceph/user.secret
SecretFile string `json:"secrete_file"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/secrete/secret

@k8s-bot
Copy link

k8s-bot commented May 22, 2015

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

If this message is too spammy, please complain @ixdy.

@erictune
Copy link
Member

erictune commented Jun 1, 2015

ok to test

@erictune erictune added this to the v1.0-post milestone Jun 1, 2015
@thockin
Copy link
Member

thockin commented Jun 1, 2015

I'm concerned that the 'secrets' issues in here are just not resolved - this needs to resolved ASAP or miss 1.0

@rootfs
Copy link
Contributor Author

rootfs commented Jun 2, 2015

I thought I've missed the train. I'll shape it up soon.

@rootfs rootfs force-pushed the wip-cephfs branch 6 times, most recently from 17a4257 to 2044fbd Compare June 2, 2015 18:16
@rootfs
Copy link
Contributor Author

rootfs commented Jun 2, 2015

@vishh @thockin @smarterclayton @markturansky @pmorie

ready for your comments. Thanks

@rootfs rootfs force-pushed the wip-cephfs branch 2 times, most recently from 8d1b0c5 to 5df7b37 Compare June 2, 2015 19:10
@rootfs
Copy link
Contributor Author

rootfs commented Jun 2, 2015

@smarterclayton

@k8s-bot
Copy link

k8s-bot commented Aug 28, 2015

GCE e2e build/test passed for commit 8cb07c12b8ced14f8dc6909858edf110280abc28.

@saad-ali
Copy link
Member

Thanks @rootfs One last file and then please squash your commits.

@rootfs
Copy link
Contributor Author

rootfs commented Aug 28, 2015

@saad-ali squashed, wait for green :)

@saad-ali
Copy link
Member

Thanks @rootfs

LGTM

@pmorie @markturansky if you're good, let's get this merged.

@k8s-bot
Copy link

k8s-bot commented Aug 28, 2015

GCE e2e build/test passed for commit 4a4c510e54b267320dca899f48f4c007386377f7.

@markturansky
Copy link
Contributor

@saad-ali I took a look today. I think we're good to go. We can support it from here.

LGTM.

@markturansky
Copy link
Contributor

@rootfs Not worth blocking this PR, but in #12599 Brian commented on your example (fiber channel) and said that YAML is preferred. Perhaps a follow-up PR to change these examples to YAML?

@rootfs
Copy link
Contributor Author

rootfs commented Aug 28, 2015

@markturansky there are other json to yaml conversion in examples, let's get them in next PR(s)

@markturansky
Copy link
Contributor

SGTM

@saad-ali
Copy link
Member

saad-ali commented Sep 1, 2015

Adding LGTM label

@saad-ali saad-ali added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 1, 2015
@brendandburns
Copy link
Contributor

@rootfs needs rebase (sorry!)

@rootfs rootfs force-pushed the wip-cephfs branch 2 times, most recently from dad1124 to 20c284a Compare September 1, 2015 18:00
Signed-off-by: Huamin Chen <hchen@redhat.com>
@rootfs
Copy link
Contributor Author

rootfs commented Sep 1, 2015

@brendandburns done, thanks!

@k8s-bot
Copy link

k8s-bot commented Sep 1, 2015

GCE e2e build/test passed for commit 20c284a541ec391353b769314e033df2decca57b.

@k8s-bot
Copy link

k8s-bot commented Sep 1, 2015

GCE e2e build/test passed for commit dad1124b97f4026eb59b68b2da3aa6850646b083.

@k8s-bot
Copy link

k8s-bot commented Sep 1, 2015

GCE e2e build/test passed for commit fe559f2.

@k8s-github-robot k8s-github-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 1, 2015
@k8s-github-robot
Copy link

Labelling this PR as size/XL

@brendandburns
Copy link
Contributor

Merging since the github api flaked and this was skipped.

brendandburns added a commit that referenced this pull request Sep 2, 2015
@brendandburns brendandburns merged commit 74ef517 into kubernetes:master Sep 2, 2015
@saad-ali saad-ali added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.