You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/01/06 12:50:20 UTC

[GitHub] [cloudstack] GabrielBrascher opened a new pull request #5832: Fix 'endpointe.url' global settings configruation typo

GabrielBrascher opened a new pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832


   ### Description
   
   This PR proposes updating the `endpointe.url` global settings configuration name to `endpoint.url`.
   
   <!--- ********************************************************************************* -->
   <!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
   <!--- PLEASE PUT AN 'X' in only **ONE** box -->
   <!--- ********************************************************************************* -->
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [X] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [X] Trivial
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to -->
   <!-- see how your change affects other areas of the code, etc. -->
   
   <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configruation typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006563635


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GutoVeronezi commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GutoVeronezi commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r780457542



##########
File path: server/src/main/java/com/cloud/network/as/AutoScaleManagerImpl.java
##########
@@ -327,7 +327,7 @@ protected AutoScaleVmProfileVO checkValidityAndPersist(AutoScaleVmProfileVO vmPr
         }
 
         if (csUrl == null || csUrl.contains("localhost")) {
-            throw new InvalidParameterValueException("Global setting endpointe.url has to be set to the Management Server's API end point");
+            throw new InvalidParameterValueException("Global setting endpoint.url has to be set to the Management Server's API end point");

Review comment:
       @GabrielBrascher, instead of only fixing the typo, we could use `ApiServiceConfiguration.ApiServletPath.key()` wherever it's referenced.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022054895


   @rohityadavcloud thanks for the feedback.
   @DaanHoogland do you think it would be OK to have this global setting changed for 4.17? Or do you think it should be moved to a "5.0"?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029844657


   merge! merge! merge!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r780966584



##########
File path: server/src/main/java/com/cloud/network/as/AutoScaleManagerImpl.java
##########
@@ -327,7 +327,7 @@ protected AutoScaleVmProfileVO checkValidityAndPersist(AutoScaleVmProfileVO vmPr
         }
 
         if (csUrl == null || csUrl.contains("localhost")) {
-            throw new InvalidParameterValueException("Global setting endpointe.url has to be set to the Management Server's API end point");
+            throw new InvalidParameterValueException("Global setting endpoint.url has to be set to the Management Server's API end point");

Review comment:
       @GutoVeronezi I've updated `AutoScaleManagerImpl.java` and `LoadBalancingRulesManagerImpl.java` to be aligned with your suggestions.
   Thanks for the review!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GutoVeronezi commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GutoVeronezi commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r780457542



##########
File path: server/src/main/java/com/cloud/network/as/AutoScaleManagerImpl.java
##########
@@ -327,7 +327,7 @@ protected AutoScaleVmProfileVO checkValidityAndPersist(AutoScaleVmProfileVO vmPr
         }
 
         if (csUrl == null || csUrl.contains("localhost")) {
-            throw new InvalidParameterValueException("Global setting endpointe.url has to be set to the Management Server's API end point");
+            throw new InvalidParameterValueException("Global setting endpoint.url has to be set to the Management Server's API end point");

Review comment:
       @GabrielBrascher, instead of only fixing the typo, we could use `ApiServiceConfiguration.ApiServletPath.key()` wherever it's referenced.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029730114


   @rohityadavcloud thanks for the ping. I think I tagged as 5.0 when I saw there could be a discussion about possible backward compatibility, in order to avoid merging in 4.17 before addressing the raised concerns. 
   
   I believe that this should be OK to be merged in 4.17, but I don't want to  overlook any review/reviewer.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029722691


   @GabrielBrascher why was this tagged to 5.0? We don't promise backward compatibility for global settings, in the past in rare occasions we've renamed global settings. As long as your upgrade path will rename the global setting for an existing env upon upgrade, this LGTM for main/4.17.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007285699


   > Backward compatibility is not an issue for global settings as long as there's an upgrade path which I see you've added @GabrielBrascher (I also don't think there'll be a 5.0 ever with major breaks)
   
   yes it is, 3rd party scripts do depend on naming of global settings, @rohityadavcloud .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006590174


   @sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r792530293



##########
File path: api/src/main/java/org/apache/cloudstack/config/ApiServiceConfiguration.java
##########
@@ -21,7 +21,7 @@
 
 public class ApiServiceConfiguration implements Configurable {
     public static final ConfigKey<String> ManagementServerAddresses = new ConfigKey<String>("Advanced", String.class, "host", "localhost", "The ip address of management server. This can also accept comma separated addresses.", true);
-    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpointe.url", "http://localhost:8080/client/api",
+    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpoint.url", "http://localhost:8080/client/api",

Review comment:
       I think, if we go ahead with this, it must be in both the schema change and in this object, @sureshanaparti. Otherwise both will end up in the table.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007224827






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030818183


   <b>Trillian test result (tid-3182)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 31093 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5832-t3182-kvm-centos7.zip
   Smoke tests completed. 92 look OK, 0 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007292977


   @DaanHoogland that's true in case of someone automated global settings changes during or after deployment of a Zone.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007197705






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022069198


   > @rohityadavcloud thanks for the feedback. @DaanHoogland do you think it would be OK to have this global setting changed for 4.17? Or do you think it should be moved to a "5.0"?
   
   @GabrielBrascher I'm not allowing myself being accused of being consequent or adherent to principies, however if we get a complaint of someone that changes tis configuration in an automated way or on a regular basis for some failover/regular maintenance they are going to ask us to change it back, for that reason and I would side with them. Chances are small, ....


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030818735


   <b>Trillian test result (tid-3181)</b>
   Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 31331 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5832-t3181-xenserver-71.zip
   Smoke tests completed. 92 look OK, 0 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029983755


   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2455


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030851670


   Merging based on approvals and test results - Vmware tests failing also on the health checks PR, not related to this PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029955491


   @rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030740813


   @nvazquez a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022066539


   > @rohityadavcloud thanks for the feedback.
   > @DaanHoogland do you think it would be OK to have this global setting changed for 4.17? Or do you think it should be moved to a "5.0"?
   
   @GabrielBrascher @DaanHoogland I think, 4.17 is fine. Some global settings were changed in 4.16 as well (as part of inclusivity)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r792543370



##########
File path: api/src/main/java/org/apache/cloudstack/config/ApiServiceConfiguration.java
##########
@@ -21,7 +21,7 @@
 
 public class ApiServiceConfiguration implements Configurable {
     public static final ConfigKey<String> ManagementServerAddresses = new ConfigKey<String>("Advanced", String.class, "host", "localhost", "The ip address of management server. This can also accept comma separated addresses.", true);
-    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpointe.url", "http://localhost:8080/client/api",
+    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpoint.url", "http://localhost:8080/client/api",

Review comment:
       > I think, if we go ahead with this, it must be in both the schema change and in this object, @sureshanaparti. Otherwise both will end up in the table.
   
   ok @DaanHoogland 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022115823


   @GabrielBrascher , I do not want to add to the rule base for this, let;s merge and deal with fallout as it comes/appropriate.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030740712


   @blueorangutan test matrix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029756198


   Thanks for your consideration @GabrielBrascher I've not read all the comments above in much detail, but you've my support. I think this should be OK to merge for 4.17, let me fix the milestone and ask others on this PR - any objection to Gabriel's comment (OK to merge in 4.17)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007198159


   Backward compatibility is not an issue for global settings as long as there's an upgrade path which I see you've added @GabrielBrascher (I also don't think there'll be a 5.0 ever with major breaks)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007197705


   LGTM but we need to update docs too @GabrielBrascher 
   cc @davidjumani @Pearl1594 pl check if that breaks CKS or anything?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007876157


   @DaanHoogland don't entirely agree, the listConfiguration API is privileged, not available for normal users but only root admin. Most users should consume the mgmt server endpoint URL as provided by the cloud provider. The intent of this global setting is largely for internal sub-system consumption, for example, it's currently only used by CKS or autoscaler manager (nobody uses that, not sure if it even works with netscaler now). That said I'll leave with @sureshanaparti, you, @GabrielBrascher and others to discuss and reach concensus.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#discussion_r792525631



##########
File path: api/src/main/java/org/apache/cloudstack/config/ApiServiceConfiguration.java
##########
@@ -21,7 +21,7 @@
 
 public class ApiServiceConfiguration implements Configurable {
     public static final ConfigKey<String> ManagementServerAddresses = new ConfigKey<String>("Advanced", String.class, "host", "localhost", "The ip address of management server. This can also accept comma separated addresses.", true);
-    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpointe.url", "http://localhost:8080/client/api",
+    public static final ConfigKey<String> ApiServletPath = new ConfigKey<String>("Advanced", String.class, "endpoint.url", "http://localhost:8080/client/api",

Review comment:
       this change may not be required, as it is handled in schema upgrade.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022086398


   @DaanHoogland I appreciate the fact that you are being cautious with any sort of backward compatibility issues.
   This is something that deserves such attention, so it is really good that you raised it.
   If this goes in 4.17, we might need to make sure that this is announced then, so users/admins are aware of such change.
   
   Checking at the [Releases](https://cwiki.apache.org/confluence/display/CLOUDSTACK/Releases) in CWIKI, there is the following description regarding backward compatibility:
   > The community strives to ensure **backward API compatibility** within each major version (i.e.: code written against the CloudStack 4.0.0-incubating API should work with all future 4.y.z versions)
   
   It looks that our main effort is to keep the API backward compatibility within each version; however, it does not state covering configurations or other parts. I assume that as far as the upgrade process covers the changes, this should be OK.
   
   However, I agree that this could lead to scripts breaking (especially on deployment, where such configuration would probably be changed). So I assume that we might need to open it for a public discussion and eventually do a few changes on documentation and cover such cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland edited a comment on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland edited a comment on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1022115823


   @GabrielBrascher , I do not want to add to the rule base for this, let's merge and deal with fallout as it comes/appropriate.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029955214


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez merged pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
nvazquez merged pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007224827


   Thanks for the review @rohityadavcloud.
   I believe that **5.0** would be welcome, as long as it offers a stable upgrade process (via documentation and automation) I don't see issues.
   
   But I agree that we would need to work hard to keep eventual Backward compatibility issues well handled in a way that would not make users avoid upgrading from **4.X** to a **5.0**.
   
   Or we go the way Intel did with their processors. Brand new CPUs that still support instructions of decades ago xD
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006674682


   @GabrielBrascher you are probably absolutely right wanting to change this, but ...
   1. it is high risk; did you search teh whole system for occuences of the string "pointe"?
   2. it is an backwards incompatible change; global settings are user facing, and thus basically API.
   that all said, I'm not loosing sleep on this one, ... if upgrade tests are successful!!!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006720052


   @DaanHoogland I took a look at the repository and it looks like all occurrences have been addressed in this PR.
   
   Regarding backward-incompatible, maybe this should join in the set of changes that depend on a "5.0" then.
   
   I think that we need to start tracking/documenting all bugs/enhancements that would require a 5.0.
   Otherwise, we get multiple fixes & enhancements locked due to the endless `4.X.Y.Z`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006589410


   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1007285699


   > Backward compatibility is not an issue for global settings as long as there's an upgrade path which I see you've added @GabrielBrascher (I also don't think there'll be a 5.0 ever with major breaks)
   
   yes it is, 3rd party scripts do depend on naming of global settings, @rohityadavcloud .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1006652435


   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 2122


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rohityadavcloud edited a comment on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
rohityadavcloud edited a comment on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1029756198


   Thanks for your consideration @GabrielBrascher I've not read all the comments above in much detail, but you've my support. I think this should be OK to merge for 4.17, let me ask others on this PR - any objection to Gabriel's comment (OK to merge in 4.17)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] blueorangutan commented on pull request #5832: Fix 'endpointe.url' global settings configuration typo

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5832:
URL: https://github.com/apache/cloudstack/pull/5832#issuecomment-1030831262


   <b>Trillian test result (tid-3183)</b>
   Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 36091 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5832-t3183-vmware-65u2.zip
   Smoke tests completed. 89 look OK, 3 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_sys_vm_start | `Failure` | 0.27 | test_secondary_storage.py
   test_01_offline_migrate_VM_and_root_volume | `Error` | 90.04 | test_vm_life_cycle.py
   test_03_live_migrate_VM_with_two_data_disks | `Error` | 57.43 | test_vm_life_cycle.py
   test_06_disk_offering_strictness_false | `Error` | 141.90 | test_service_offerings.py
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org