-
Notifications
You must be signed in to change notification settings - Fork 117
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
Make ironic timeouts customizable #167
Conversation
/cc @maelk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather not set the values at all in the config and use the ironic default, rather than adding defaults here that might not be in sync with Ironic's at some point. So if the environment variables are unset, we should probably not add the parameters in the configuration file. we'd do that only if they are set
I didn't see that it was set this way in ironic.conf, sorry, discard what I said, since we anyways set our own settings |
/test-integration |
545a20c
to
cb8af94
Compare
/test-integration |
/lgtm |
/test-integration |
/assign @bfournie |
/cc @dhellmann |
I feel a bit like we're reimplementing confd. :-) These are oslo.config settings, right? In other places we used the automatically checked environment variables to pass values right to the daemon. Would that approach work here, too? Could we document the relevant variables names instead of modifying the config file? |
That's a very good point. This change could instead be a readme explaining how to override the settings in the ironic config. |
Something like this could work |
cb8af94
to
9ba415e
Compare
9ba415e
to
1af7684
Compare
@dhellmann thanks for the suggestion, I have addressed your comments and it is documented now in the readme by following the format from #165 |
/test-integration |
1 similar comment
/test-integration |
I think we should just merge #165, I don't see any reason why these Timeout values should be special and mentioned in the config. |
I don't have a problem with listing some variables that are commonly useful to override. Maybe we can also describe the general way to build the right name for other variables? That could be a separate PR. This one needs a rebase. |
1af7684
to
67a6a66
Compare
These are examples of timeout values and how can they be overridden. And also we are not mentioning them in the config but README.md file. /test-integration |
Hi @dhellmann, is there anything that needs to be changed/improved in this PR, or we can move forward with it? |
/lgtm |
Hi @derekhiggins! is there anything that needs to be improved in this PR or we can proceed with it? |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: derekhiggins, elfosardo, furkatgofurov7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Bug 1957976: update ironic packages for deploy_steps timeout
What this PR does / why we need it:
This commit adds some parameters for the ironic configuration