-
Notifications
You must be signed in to change notification settings - Fork 112
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
Change iscsid login timeout #1846
Change iscsid login timeout #1846
Conversation
This patch changes the time to fail an iSCSI login request in our deployments. The default is 8 retries and 15 seconds for each one, so 120 seconds in total. This default timeout is too large for our purposes, because it's greater than the default HAProxy or Apache timeouts. This will create problems creating an image when Glance is using Cinder as a backend and one of the paths to the storage is down. This patch changes the OpenShift cluster default to 3 retries and 5 seconds each (15 seconds in total), which is convenient for testing, as any healthy deployment and backend should be able to login to the backend in that amount of time, and if there is a broken path it will not take 2 minutes to give up, just around 15 seconds. Jira: https://issues.redhat.com/browse/OSPRH-7393 Jira: https://issues.redhat.com/browse/OSPRH-7415
Thanks for the PR! ❤️ |
recheck |
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjeanner 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 |
e444756
into
openstack-k8s-operators:main
This patch changes the time to fail an iSCSI login request in our deployments.
The default is 8 retries and 15 seconds for each one, so 120 seconds in total.
This default timeout is too large for our purposes, because it's greater than the default HAProxy or Apache timeouts. This will create problems creating an image when Glance is using Cinder as a backend and one of the paths to the storage is down.
This patch changes the OpenShift cluster default to 3 retries and 5 seconds each (15 seconds in total), which is convenient for testing, as any healthy deployment and backend should be able to login to the backend in that amount of time, and if there is a broken path it will not take 2 minutes to give up, just around 15 seconds.
This PR together with setting the HAProxy timeouts to 60 seconds (openstack-k8s-operators/architecture#275) shoud allow to use multipathing when glance is using cinder as a backend and there are failing paths.
The testing of the change was done using the equivalent LVM+iSCSI sample change in the cinder-operator (openstack-k8s-operators/cinder-operator#397) deploying it with install_yamls.
As a pull request owner and reviewers, I checked that:
Jira: https://issues.redhat.com/browse/OSPRH-7393
Jira: https://issues.redhat.com/browse/OSPRH-7415