Skip to content

LBaaSv2 / Octavia: Add client and member data timeouts#1394

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
emonty:lb-data-timeout
Jan 10, 2019
Merged

LBaaSv2 / Octavia: Add client and member data timeouts#1394
jtopjian merged 1 commit intogophercloud:masterfrom
emonty:lb-data-timeout

Conversation

@emonty
Copy link
Copy Markdown
Contributor

@emonty emonty commented Jan 9, 2019

emonty added a commit to emonty/cloud-provider-openstack that referenced this pull request Jan 9, 2019
The octavia loadbalancer supports setting timeouts for client and member
data connections. For some operations, such as pushing git large git
repositories over an ssh connection, it is very important to be able to
increase the timeout.

This adds two annotations that allows a user to create a load balancer
and set its timeout_client_data and timeout_member_data fields.

Depends-On: gophercloud/gophercloud#1394
Signed-off-by: Monty Taylor <mordred@inaugust.com>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 10, 2019

Build failed.

emonty added a commit to emonty/cloud-provider-openstack that referenced this pull request Jan 10, 2019
The octavia loadbalancer supports setting timeouts for client and member
data connections. For some operations, such as pushing git large git
repositories over an ssh connection, it is very important to be able to
increase the timeout.

This adds two annotations that allows a user to create a load balancer
and set its timeout_client_data and timeout_member_data fields.

Depends-On: gophercloud/gophercloud#1394
Signed-off-by: Monty Taylor <mordred@inaugust.com>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 10, 2019

Build failed.

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

@emonty Overall, this looks good - thank you!

Travis is reporting formatting issues: https://travis-ci.org/gophercloud/gophercloud/jobs/477603934#L985

I can't visually see a difference, so maybe it's a tab/spacing thing? Configuring your editor to run gofmt when saving/exiting a file is the best way to avoid these issues.

The other minor issue is the JSON syntax.

"connection_limit": 1001
"connection_limit": 1001,
"timeout_client_data": 181000,
"timeout_member_data": 181000,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The comma at the end of this line is causing the unit test to fail.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Doh!

)

Signed-off-by: Monty Taylor <mordred@inaugust.com>
@emonty
Copy link
Copy Markdown
Contributor Author

emonty commented Jan 10, 2019

I think the format fail on those lines were tabs inside the line (to make the assignments line up) I tried gofmt and it didn't correct it - but maybe that's just an edgecase. In any case - fix coming, thanks!

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 79.871% when pulling b414da9 on emonty:lb-data-timeout into 6c87d5c on gophercloud:master.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 79.871% when pulling b414da9 on emonty:lb-data-timeout into 6c87d5c on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 10, 2019

Build succeeded.

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

@emonty Looks good to me.

I always prefer confirming: this PR is complete and ready to merge?

@emonty
Copy link
Copy Markdown
Contributor Author

emonty commented Jan 10, 2019

@jtopjian yes- I believe so. thanks!

@jtopjian jtopjian merged commit 07de4ce into gophercloud:master Jan 10, 2019
emonty added a commit to emonty/cloud-provider-openstack that referenced this pull request Jan 14, 2019
The octavia loadbalancer supports setting timeouts for client and member
data connections. For some operations, such as pushing git large git
repositories over an ssh connection, it is very important to be able to
increase the timeout.

This adds two annotations that allows a user to create a load balancer
and set its timeout_client_data and timeout_member_data fields.

Depends-On: gophercloud/gophercloud#1394
Signed-off-by: Monty Taylor <mordred@inaugust.com>
emonty added a commit to emonty/cloud-provider-openstack that referenced this pull request Jan 15, 2019
The octavia loadbalancer supports setting timeouts for client and member
data connections. For some operations, such as pushing git large git
repositories over an ssh connection, it is very important to be able to
increase the timeout.

This adds two annotations that allows a user to create a load balancer
and set its timeout_client_data and timeout_member_data fields.

Depends-On: gophercloud/gophercloud#1394
Signed-off-by: Monty Taylor <mordred@inaugust.com>
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.

3 participants