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/05/11 12:48:46 UTC

[GitHub] [cloudstack] sureshanaparti opened a new pull request, #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   ### Description
   
   This PR update VM name, when the new name provided in updateVirtualMachine API is in different case.
   
   ```
   (test-env) 🐱 > list virtualmachines id=0dd16832-5f07-402d-9238-10c69b6daeb5 filter=id,name,displayname,instancename
   {
     "count": 1,
     "virtualmachine": [
       {
         "displayname": "TestVM02",
         "id": "0dd16832-5f07-402d-9238-10c69b6daeb5",
         "instancename": "i-2-7-VM",
         "name": "testvm02"
       }
     ]
   }
   (test-env) 🐱 > update virtualmachine id=0dd16832-5f07-402d-9238-10c69b6daeb5 name=TestVM02
   {
     "virtualmachine": {
       "account": "admin",
       "affinitygroup": [],
       "cpunumber": 1,
       "cpuspeed": 500,
       "cpuused": "14.3%",
       "created": "2022-05-11T07:18:25+0000",
       "details": {
         "cpuOvercommitRatio": "2.0",
         "memoryOvercommitRatio": "1.0"
       },
       "diskioread": 0,
       "diskiowrite": 4,
       "diskkbsread": 0,
       "diskkbswrite": 24,
       "displayname": "TestVM02",
       "displayvm": true,
       "domain": "ROOT",
       "domainid": "64482588-cf5d-11ec-b370-1e00ba000212",
       "guestosid": "6473e9a7-cf5d-11ec-b370-1e00ba000212",
       "haenable": false,
       "hasannotations": false,
       "hostid": "56039acc-b250-4a0f-9b67-94ebaeb2c50e",
       "hostname": "trl-288-k-M7-suresh-anaparti-kvm1",
       "hypervisor": "KVM",
       "id": "0dd16832-5f07-402d-9238-10c69b6daeb5",
       "instancename": "i-2-7-VM",
       "isdynamicallyscalable": false,
       "lastupdated": "2022-05-11T07:18:29+0000",
       "memory": 512,
       "memoryintfreekbs": -1,
       "memorykbs": 524288,
       "memorytargetkbs": 524288,
       "name": "testvm02",
   ...
       "serviceofferingid": "529b7537-85ef-4bfd-a992-817a7186a7b2",
       "serviceofferingname": "Small Instance",
       "state": "Running",
       "tags": [],
       "templatedisplaytext": "CentOS 5.5(64-bit) no GUI (KVM)",
       "templateid": "644b8abf-cf5d-11ec-b370-1e00ba000212",
       "templatename": "CentOS 5.5(64-bit) no GUI (KVM)",
       "userid": "7dbb3d96-cf5d-11ec-b370-1e00ba000212",
       "username": "admin",
       "zoneid": "67ecf93f-6958-4b19-bad4-4742c67dc093",
       "zonename": "trl-288-k-M7-suresh-anaparti"
     }
   }
   
   
   (test-env) 🐱 > list virtualmachines id=0dd16832-5f07-402d-9238-10c69b6daeb5 filter=id,name,displayname,instancename
   {
     "count": 1,
     "virtualmachine": [
       {
         "displayname": "TestVM02",
         "id": "0dd16832-5f07-402d-9238-10c69b6daeb5",
         "instancename": "i-2-7-VM",
         "name": "testvm02"
       }
     ]
   }
   ```
   
   Log:
   
   _2022-05-11 07:23:43,858 DEBUG [c.c.v.UserVmManagerImpl] (qtp793138072-20:ctx-939ba5d9 ctx-8de3ee5e) (logid:33e17e0c) Vm VM instance {id: "7", name: "i-2-7-VM", uuid: "0dd16832-5f07-402d-9238-10c69b6daeb5", type="User"} is already set with the hostName specified: TestVM0_
   
   <!--- Describe your changes in DETAIL - And how has behaviour functionally changed. -->
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. -->
   
   <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be closed when this PR gets merged -->
   <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
   <!-- Fixes: # -->
   
   <!--- ********************************************************************************* -->
   <!--- 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
   
   ### 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. -->
   
   Manually tested update virtualmachine API.
   
   <!-- 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] blueorangutan commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @acs-robot a Jenkins job has been kicked to build UI QA env. 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] acs-robot commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

Posted by GitBox <gi...@apache.org>.
acs-robot commented on PR #6379:
URL: https://github.com/apache/cloudstack/pull/6379#issuecomment-1123782751

   Found UI changes, kicking a new UI QA build
   @blueorangutan ui


-- 
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] acs-robot commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

Posted by GitBox <gi...@apache.org>.
acs-robot commented on PR #6379:
URL: https://github.com/apache/cloudstack/pull/6379#issuecomment-1124559384

   Found UI changes, kicking a new UI QA build
   @blueorangutan ui


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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


-- 
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] acs-robot commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

Posted by GitBox <gi...@apache.org>.
acs-robot commented on PR #6379:
URL: https://github.com/apache/cloudstack/pull/6379#issuecomment-1124033300

   Found UI changes, kicking a new UI QA build
   @blueorangutan ui


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @nvazquez a 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


[GitHub] [cloudstack] blueorangutan commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6379 (SL-JID-1555)


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6379 (SL-JID-1557)


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @sureshanaparti a 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


[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6379:
URL: https://github.com/apache/cloudstack/pull/6379#issuecomment-1123795468

   Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6379)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6379&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6379&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6379&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6379&resolved=false&types=CODE_SMELL)
   
   [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6379&metric=new_coverage&view=list) [0.0% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6379&metric=new_coverage&view=list)  
   [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6379&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6379&metric=new_duplicated_lines_density&view=list)
   
   


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

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


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   Ping for review @rohityadavcloud @DaanHoogland @andrijapanicsb @weizhouapache @Pearl1594


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @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


[GitHub] [cloudstack] blueorangutan commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6379 (SL-JID-1562)


-- 
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 #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @acs-robot a Jenkins job has been kicked to build UI QA env. 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] sureshanaparti commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @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] blueorangutan commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   <b>Trillian test result (tid-4165)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 41004 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6379-t4165-kvm-centos7.zip
   Smoke tests completed. 95 look OK, 1 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | `Failure` | 456.06 | test_vpc_redundant.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


[GitHub] [cloudstack] blueorangutan commented on pull request #6379: Update VM name, when the new name provided in updateVirtualMachine API is in different case.

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

   @acs-robot a Jenkins job has been kicked to build UI QA env. 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