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 timeout to ceph_pool resource #225

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

Johanni
Copy link

@Johanni Johanni commented May 27, 2016

In a few instances, we found ceph_pool hanging. The timeout attribute
would allow us to control how long we would like to wait before raising
an exception.

In a few instances, we found ceph_pool hanging. The timeout attribute
would allow us to control how long we would like to wait before raising
an exception.
@guilhem
Copy link
Contributor

guilhem commented Jun 2, 2016

Hi @Johanni ,

Error in travis is due to some changes on rubocop.
I will try to update it. When done, you will only have to rebase your changes.

@guilhem
Copy link
Contributor

guilhem commented Jun 2, 2016

@Johanni can you test with #227 ?

@@ -16,6 +16,9 @@
# Optional arguments for pool creation
attribute :create_options, :kind_of => String

# The number of seconds before a timeout occurs during pool creation
attribute :timeout, :kind_of => Integer, :default => nil, :required => false
Copy link
Contributor

Choose a reason for hiding this comment

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

:default => nil, :required => false are optional as it's the default behavior

Johanni and others added 3 commits June 2, 2016 10:31
In a few instances, we found ceph_pool hanging. The timeout attribute
would allow us to control how long we would like to wait before raising
an exception.
Fix rubocop version in Gemfile
In a few instances, we found ceph_pool hanging. The timeout attribute
would allow us to control how long we would like to wait before raising
an exception.
@Johanni
Copy link
Author

Johanni commented Jun 2, 2016

Took me a while to fix my rebasing, but I think I got it now :)

@Johanni
Copy link
Author

Johanni commented Jun 8, 2016

Do I need to squash commits or is it good as is?

In a few instances, we found ceph_pool hanging. The timeout attribute
would allow us to control how long we would like to wait before raising
an exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants