This is an automated email from the ASF dual-hosted git repository.

nvazquez pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new 14c5250267 Fix rpfilter config values from integer to boolean on 
upgrade path (#6477)
14c5250267 is described below

commit 14c52502670acc1e17ec6315e11dfd8f3b8b8082
Author: Nicolas Vazquez <[email protected]>
AuthorDate: Thu Jun 23 09:18:24 2022 -0300

    Fix rpfilter config values from integer to boolean on upgrade path (#6477)
    
    * Fix rpfilter config values from integer to boolean on upgrade path
    
    * Update 
engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql
    
    Co-authored-by: Suresh Kumar Anaparti <[email protected]>
    
    * Update 
engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql
    
    Co-authored-by: Rohit Yadav <[email protected]>
    Co-authored-by: Suresh Kumar Anaparti <[email protected]>
---
 engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql 
b/engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql
index e6139cb175..d246a1b80c 100644
--- a/engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql
+++ b/engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql
@@ -17,4 +17,7 @@
 
 --;
 -- Schema upgrade from 4.17.0.0 to 4.17.1.0
---;
\ No newline at end of file
+--;
+
+UPDATE `cloud`.`configuration` SET `value` = 'false' WHERE `name` = 
'network.disable.rpfilter' AND `value` != 'true';
+UPDATE `cloud`.`configuration` SET `value` = 'false' WHERE `name` = 
'consoleproxy.disable.rpfilter' AND `value` != 'true';
\ No newline at end of file

Reply via email to