Skip to content

CLOUDSTACK-10031: change default configuration for router.aggregation…#2223

Merged
yadvr merged 1 commit into
apache:masterfrom
sgoeminn:CLOUDSTACK-10031
Aug 11, 2017
Merged

CLOUDSTACK-10031: change default configuration for router.aggregation…#2223
yadvr merged 1 commit into
apache:masterfrom
sgoeminn:CLOUDSTACK-10031

Conversation

@sgoeminn
Copy link
Copy Markdown
Contributor

@sgoeminn sgoeminn commented Aug 4, 2017

….command.each.timeout from 3 to 600 seconds

https://issues.apache.org/jira/browse/CLOUDSTACK-10031

Comment thread setup/db/db/schema-430to440.sql Outdated
ALTER TABLE `cloud`.`vpc` ADD COLUMN region_level_vpc boolean default false;
INSERT INTO `cloud`.`configuration`(category, instance, component, name, value, description, default_value) VALUES ('Advanced', 'DEFAULT', 'NetworkOrchestrationService', 'router.redundant.vrrp.interval', '1', 'seconds between VRRP broadcast. It would 3 times broadcast fail to trigger fail-over mechanism of redundant router', '1') ON DUPLICATE KEY UPDATE category='Advanced';
INSERT INTO `cloud`.`configuration`(category, instance, component, name, value, description, default_value) VALUES ('Advanced', 'DEFAULT', 'NetworkOrchestrationService', 'router.aggregation.command.each.timeout', '3', 'timeout in seconds for each Virtual Router command being aggregated. The final aggregation command timeout would be determined by this timeout * commands counts ', '3') ON DUPLICATE KEY UPDATE category='Advanced';
INSERT INTO `cloud`.`configuration`(category, instance, component, name, value, description, default_value) VALUES ('Advanced', 'DEFAULT', 'NetworkOrchestrationService', 'router.aggregation.command.each.timeout', '600', 'timeout in seconds for each Virtual Router command being aggregated. The final aggregation command timeout would be determined by this timeout * commands counts ', '600') ON DUPLICATE KEY UPDATE category='Advanced';
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The SQL changes need to go into 410->411 upgrade sql path, where the inserts need to be modified as updates.

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.

Thanks, I fixed it.

….command.each.timeout from 3 to 600 seconds
@wido
Copy link
Copy Markdown
Contributor

wido commented Aug 10, 2017

LGTM

Based on the fact that this hurt me in production as well

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Aug 10, 2017

LGTM.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Aug 11, 2017

Only config changes, Travis run confirms no regressions. Will merge this.

@yadvr yadvr merged commit 17bc6af into apache:master Aug 11, 2017
asfgit pushed a commit that referenced this pull request Aug 17, 2017
….command.each.timeout from 3 to 600 seconds (#2223)

Change default configuration for router.aggregation.command.each.timeout from 3 to 600 seconds (#2223)
(cherry picked from commit 17bc6af)

This fixes some test_nic failures caused due to short aggregation command timeout

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
asfgit pushed a commit that referenced this pull request Aug 17, 2017
….command.each.timeout from 3 to 600 seconds (#2223)

Change default configuration for router.aggregation.command.each.timeout from 3 to 600 seconds (#2223)
(cherry picked from commit 17bc6af)

This fixes some test_nic failures caused due to short aggregation command timeout

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants