You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "slavkap (via GitHub)" <gi...@apache.org> on 2023/11/07 12:02:53 UTC

[PR] Fix typo in ssvm check script [cloudstack]

slavkap opened a new pull request, #8191:
URL: https://github.com/apache/cloudstack/pull/8191

   ### Description
   
   This PR fixes a typo, which causes an incorrect check for the NFS connection.
   
   ```
   ERROR: Storage nfs is not currently mounted
   Verifying if we can at least ping the storage
   Storage address is empty, trying to ping storage network gateway instead ()
   ping: missing host operand
   Try 'ping --help' or 'ping --usage' for more information.
   WARNING: Cannot ping nfs storage network gateway
   ```
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] build/CI
   
   


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1824509062

   @blueorangutan test


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798469734

   ## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/8191?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#8191](https://app.codecov.io/gh/apache/cloudstack/pull/8191?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (1b9fe09) into [4.18](https://app.codecov.io/gh/apache/cloudstack/commit/e6f048bc2e830f43ef925dcec0374babfa410afd?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (e6f048b) will **decrease** coverage by `0.01%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@             Coverage Diff              @@
   ##               4.18    #8191      +/-   ##
   ============================================
   - Coverage     13.07%   13.06%   -0.01%     
     Complexity     9111     9111              
   ============================================
     Files          2720     2720              
     Lines        257597   257597              
     Branches      40160    40160              
   ============================================
   - Hits          33680    33664      -16     
   - Misses       219682   219700      +18     
   + Partials       4235     4233       -2     
   ```
   
   
   [see 3 files with indirect coverage changes](https://app.codecov.io/gh/apache/cloudstack/pull/8191/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/codecov/) today!
   


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1800838275

   <b>[LL]Trillian test result (tid-6887)</b>
   Environment: kvm-centos7 (x1), Advanced Networking with Mgmt server 7
   Total time taken: 40150 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8191-t6887-kvm-centos7.zip
   Smoke tests completed. 104 look OK, 5 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_DeployVmAntiAffinityGroup | `Error` | 35.44 | test_affinity_groups.py
   test_DeployVmAntiAffinityGroup_in_project | `Error` | 71.37 | test_affinity_groups_projects.py
   test_01_non_strict_host_anti_affinity | `Failure` | 100.37 | test_nonstrict_affinity_group.py
   test_02_non_strict_host_affinity | `Error` | 77.92 | test_nonstrict_affinity_group.py
   test_02_upgrade_kubernetes_cluster | `Failure` | 3925.07 | test_kubernetes_clusters.py
   test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 206.65 | test_kubernetes_clusters.py
   test_07_deploy_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_08_upgrade_kubernetes_ha_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
   test_09_delete_kubernetes_ha_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 305.69 | test_hostha_kvm.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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1820519265

   @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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1820625221

   Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7814


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on code in PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#discussion_r1384850807


##########
systemvm/agent/scripts/ssvm-check.sh:
##########
@@ -103,10 +103,10 @@ else
     echo "Verifying if we can at least ping the storage"
     STORAGE_ADDRESSES=`grep "secondaryStorageServerAddress" $CMDLINE | sed -E 's/.*secondaryStorageServerAddress=([^ ]*).*/\1/g'`
 
-    if [[ -z "$STORAGE_ADDRESS" ]]
+    if [[ -z "$STORAGE_ADDRESSES" ]]
     then
       STORAGE_NETWORK_GATEWAY=`grep "storagegateway" $CMDLINE | sed -E 's/.*storagegateway=([^ ]*).*/\1/g'`
-      echo "Storage address is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"
+      echo "Storage addresses list is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"

Review Comment:
   ```suggestion
         echo "Storage address list is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"
   ```
   or
   ```suggestion
         echo "List of storage addresses is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"
   ```



-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798622703

   @slavkap I try to validate your PR but don't see the error on 4.18-HEAD
   ![image](https://github.com/apache/cloudstack/assets/2486961/ccae0e1d-52bf-4d8b-8a18-3b8cb07f4999)
   


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1820520733

   @shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. 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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1825181010

   <b>[SF] Trillian test result (tid-8388)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 54459 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8191-t8388-kvm-centos7.zip
   Smoke tests completed. 108 look OK, 1 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_invalid_upgrade_kubernetes_cluster | `Failure` | 3616.30 | test_kubernetes_clusters.py
   test_02_upgrade_kubernetes_cluster | `Failure` | 3615.55 | test_kubernetes_clusters.py
   test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_04_autoscale_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_05_basic_lifecycle_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_06_delete_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_07_deploy_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_08_upgrade_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_09_delete_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
   test_10_vpc_tier_kubernetes_cluster | `Failure` | 47.70 | test_kubernetes_clusters.py
   ContextSuite context=TestKubernetesCluster>:teardown | `Error` | 98.89 | test_kubernetes_clusters.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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland merged PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on code in PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#discussion_r1384889320


##########
systemvm/agent/scripts/ssvm-check.sh:
##########
@@ -103,10 +103,10 @@ else
     echo "Verifying if we can at least ping the storage"
     STORAGE_ADDRESSES=`grep "secondaryStorageServerAddress" $CMDLINE | sed -E 's/.*secondaryStorageServerAddress=([^ ]*).*/\1/g'`
 
-    if [[ -z "$STORAGE_ADDRESS" ]]
+    if [[ -z "$STORAGE_ADDRESSES" ]]
     then
       STORAGE_NETWORK_GATEWAY=`grep "storagegateway" $CMDLINE | sed -E 's/.*storagegateway=([^ ]*).*/\1/g'`
-      echo "Storage address is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"
+      echo "Storage addresses list is empty, trying to ping storage network gateway instead ($STORAGE_NETWORK_GATEWAY)"

Review Comment:
   thanks @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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798543035

   Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7661


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798646616

   but I got exactly the same output with it so at least no regression:
   ![image](https://github.com/apache/cloudstack/assets/2486961/3f2105a2-64b3-4a6a-8476-ae7e8f5092b9)
   
   can you expand on why you have this issue @slavkap ? mine seems to silently fail (or not fail at all????)


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798869875

   > @DaanHoogland, I'm having this issue when there is a problem with the NFS, and it's not mounted.
   
   of course :headbang: 


-- 
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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1824518966

   @shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) 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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798425687

   @DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. 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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798424606

   @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


Re: [PR] Fix typo in ssvm check script [cloudstack]

Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#issuecomment-1798770064

   @DaanHoogland, I'm having this issue when there is a problem with the NFS, and it's not mounted. 


-- 
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