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/24 18:04:03 UTC
[GitHub] [cloudstack] nvazquez opened a new pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
nvazquez opened a new pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892
### Description
The 'platform' setting is retrieved after a VM is stopped with the platform parameters obtained from Xen/XCP for a certain VM. If a user added the setting 'cpu.corespersocket', it was ignored and the setting was never applied as it was mutually exclusive with the platform 'setting'.
This PR fixes the previous behavior, in the following way:
- If 'cpu.corespersocket'=X AND the 'platform' setting does not contain 'cores-per-socket' -> 'cores-per-socket:X' parameter is added to the 'platform' setting which is sent to Xen/XCP
- If 'cpu.corespersocket'=X AND the 'platform' setting contains 'cores-per-socket:Y' -> The 'platform' setting is updated, containing: 'cores-per-socket:X'
- If 'cpu.corespersocket' is not set, nothing changes
Fixes: #5695
### 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)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [x] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [x] Minor
- [ ] Trivial
### Screenshots (if appropriate):
### How Has This Been Tested?
- Deploy a VM using an offering with 2 CPUs (use >=2 CPUs for tests)
- Stop VM -> Settings -> Check the 'platform' setting is visible and does not contain the 'cores-per-socket' parameter
- Add the setting 'cpu.corespersocket' = 2 (CPU number must be a multiple of cores per socket)
- Start VM -> Stop VM -> Check the 'platform' setting contains the parameter 'cores-per-socket:2'
- Edit the setting 'cpu.corespersocket' = 1 (CPU number must be a multiple of cores per socket)
- Start VM -> Stop VM -> Check the 'platform' setting contains the parameter 'cores-per-socket:1'
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020386907
@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] sureshanaparti commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026980940
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1025688857
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2403
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1027637172
> Trillian test result (tid-3108) Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7 Total time taken: 46366 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t3108-xcpng82.zip Smoke tests completed. 91 look OK, 1 have errors Only failed tests results shown below:
>
> Test Result Time (s) Test File
> test_01_sys_vm_start `Failure` 0.09 test_secondary_storage.py
The failed test ^^^ is unrelated to this PR. It is intermittent and seems to be environment issue (unable to connect to hosts). Noticed this failure in other PR test results (in xcpng82) as well.
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020540415
<b>Trillian Build Failed (tid-2977)<b/>
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023586955
@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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1021438170
@blueorangutan test centos7 xcpng82
--
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 a change in pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792695707
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || MapUtils.isEmpty(platform)) {
Review comment:
`isEmpty` checks whether the map is null or empty
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792661041
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || MapUtils.isEmpty(platform)) {
Review comment:
: yes but `==` not `=`!
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023966246
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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] rohityadavcloud commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020388770
2cents - could this VM property/setting bypass what an admin/operator may not intend? For example, if this setting is set on a template (vs global setting if any) and then bypassed by the user - could user benefit from this setting in a way that admin wouldn't intend to be used?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020387938
@nvazquez 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] sureshanaparti removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022836130
@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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022870635
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026474044
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023282922
@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] blueorangutan commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020387938
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020673317
@blueorangutan test centos7 xcpng82
--
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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506973
--
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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506164
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022258225
@nvazquez 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] nvazquez commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020386907
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023874331
@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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023587679
@nvazquez 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] nvazquez commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1021447454
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020420081
@rohityadavcloud the 'cores-per-socket' value could be bypassed or modified but it is restricted by the offering, since a VM won't start if the number of CPUs is not a multiple of the cores per socket number. I think perhaps the 'platform' setting could lead to unintended situations as it includes more information, for example:
````
device-model:qemu-upstream-compat;vga:std;videoram:8;apic:true;viridian:false;timeoffset:0;pae:true;cores-per-socket:2;acpi:1;hpet:true;secureboot:false;nx:true
````
I've checked both settings are visible and editable for users, do you think 'platform' should be hidden for non-admins?
--
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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506973
--
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 edited a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez edited a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020420081
@rohityadavcloud the 'cores-per-socket' value could be bypassed or modified but it is restricted by the offering, since a VM won't start if the number of CPUs is not a multiple of the cores per socket number. I think perhaps the 'platform' setting could lead to unintended situations as it includes more information, for example:
````
device-model:qemu-upstream-compat;vga:std;videoram:8;apic:true;viridian:false;timeoffset:0;pae:true;cores-per-socket:2;acpi:1;hpet:true;secureboot:false;nx:true
````
I've checked both settings are visible and editable for users, do you think the 'platform' should be hidden for non-admins?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022836130
@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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023512938
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2351
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023428665
@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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020446629
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2289
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020447930
@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] sureshanaparti commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020819919
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026473755
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026981460
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1021448506
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1025704440
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 a change in pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792657296
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || MapUtils.isEmpty(platform)) {
Review comment:
add to `platform`, even if it doesn't have any elements ?
```suggestion
if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || platform = null) {
```
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022511923
@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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022207294
@nvazquez 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] sureshanaparti commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023282594
@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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023430184
@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] blueorangutan commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023874852
@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] blueorangutan commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020448322
@nvazquez 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] rohityadavcloud commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020388770
2cents - could this VM property/setting bypass what an admin/operator may not intend? For example, if this setting is set on a template (vs global setting if any) and then bypassed by the user - could user benefit from this setting in a way that admin wouldn't intend to be used?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022256879
@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] sureshanaparti removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020819919
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026918438
<b>Trillian test result (tid-3087)</b>
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34628 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t3087-xcpng82.zip
Smoke tests completed. 76 look OK, 16 have errors
Only failed tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
ContextSuite context=TestLBRuleUsage>:setup | `Error` | 19.07 | test_usage.py
ContextSuite context=TestNatRuleUsage>:setup | `Error` | 20.72 | test_usage.py
ContextSuite context=TestPublicIPUsage>:setup | `Error` | 22.41 | test_usage.py
ContextSuite context=TestSnapshotUsage>:setup | `Error` | 24.11 | test_usage.py
ContextSuite context=TestVmUsage>:setup | `Error` | 32.94 | test_usage.py
ContextSuite context=TestVolumeUsage>:setup | `Error` | 34.67 | test_usage.py
ContextSuite context=TestVpnUsage>:setup | `Error` | 36.35 | test_usage.py
test_list_vms_metrics | `Error` | 1.39 | test_metrics_api.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | `Error` | 7.81 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | `Error` | 7.79 | test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | `Error` | 7.77 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | `Error` | 7.86 | test_vpc_redundant.py
test_05_rvpc_multi_tiers | `Error` | 8.85 | test_vpc_redundant.py
ContextSuite context=TestRouterDHCPHosts>:setup | `Error` | 0.00 | test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setup | `Error` | 0.00 | test_router_dhcphosts.py
test_03_deploy_vm_domain_service_offering | `Error` | 8.25 | test_domain_service_offerings.py
test_03_create_vpc_domain_vpc_offering | `Error` | 6.11 | test_domain_vpc_offerings.py
ContextSuite context=TestRouterDns>:setup | `Error` | 0.00 | test_router_dns.py
ContextSuite context=TestRouterDnsService>:setup | `Error` | 0.00 | test_router_dnsservice.py
ContextSuite context=TestRouterServices>:setup | `Error` | 0.00 | test_routers.py
test_01_sys_vm_start | `Failure` | 0.10 | test_secondary_storage.py
test_delete_account | `Error` | 16.98 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.28 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.29 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_l2network_restart | `Error` | 3.38 | test_network.py
test_l2network_restart | `Error` | 3.38 | test_network.py
ContextSuite context=TestL2Networks>:teardown | `Error` | 4.49 | test_network.py
ContextSuite context=TestPortForwarding>:setup | `Error` | 6.27 | test_network.py
ContextSuite context=TestPublicIP>:setup | `Error` | 2.30 | test_network.py
test_reboot_router | `Error` | 1.74 | test_network.py
ContextSuite context=TestRouterRules>:setup | `Error` | 215.33 | test_network.py
test_01_deployVMInSharedNetwork | `Failure` | 1.16 | test_network.py
test_02_verifyRouterIpAfterNetworkRestart | `Failure` | 2.10 | test_network.py
test_03_destroySharedNetwork | `Failure` | 1.07 | test_network.py
ContextSuite context=TestSharedNetwork>:teardown | `Error` | 2.17 | test_network.py
ContextSuite context=TestDeployVM>:setup | `Error` | 0.00 | test_vm_life_cycle.py
ContextSuite context=TestVMLifeCycle>:setup | `Error` | 1.85 | test_vm_life_cycle.py
test_network_acl | `Error` | 4.27 | test_network_acl.py
test_01_nic | `Error` | 65.58 | test_nic.py
ContextSuite context=TestServiceOfferings>:setup | `Error` | 17.16 | test_service_offerings.py
ContextSuite context=TestSnapshotRootDisk>:setup | `Error` | 0.00 | test_snapshots.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] sureshanaparti commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023965487
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1027575965
<b>Trillian test result (tid-3108)</b>
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46366 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t3108-xcpng82.zip
Smoke tests completed. 91 look OK, 1 have errors
Only failed tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_sys_vm_start | `Failure` | 0.09 | test_secondary_storage.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] sureshanaparti commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1027637827
Merging this based on the approvals, smoke test results and tests covered by @nvazquez.
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020490594
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2291
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792355792
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (coresPerSocket == null) {
+ return;
+ }
+ if (platform.containsKey(PLATFORM_CORES_PER_SOCKET_KEY)) {
Review comment:
check for `platform` not null ?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020819919
@blueorangutan test centos7 xcpng82
--
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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506164
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506164
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1025633911
@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 commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022206256
Thanks @sureshanaparti - @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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022836506
@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] blueorangutan commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022354806
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 2313
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022585817
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2319
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792355792
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (coresPerSocket == null) {
+ return;
+ }
+ if (platform.containsKey(PLATFORM_CORES_PER_SOCKET_KEY)) {
Review comment:
check for platform not null ?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792354633
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (coresPerSocket == null) {
Review comment:
check if `coresPerSocket` is not blank ?
--
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 a change in pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792696947
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || MapUtils.isEmpty(platform)) {
Review comment:
Oh, got your point, thanks
--
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 a change in pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792645674
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (coresPerSocket == null) {
Review comment:
Thanks, refactored both conditions
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022870635
Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_check_mark: suse15. SL-JID 2324
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023396512
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_check_mark: suse15. SL-JID 2348
--
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 merged pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti merged pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892
--
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 removed a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan removed a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026918438
<b>Trillian test result (tid-3087)</b>
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34628 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t3087-xcpng82.zip
Smoke tests completed. 76 look OK, 16 have errors
Only failed tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
ContextSuite context=TestLBRuleUsage>:setup | `Error` | 19.07 | test_usage.py
ContextSuite context=TestNatRuleUsage>:setup | `Error` | 20.72 | test_usage.py
ContextSuite context=TestPublicIPUsage>:setup | `Error` | 22.41 | test_usage.py
ContextSuite context=TestSnapshotUsage>:setup | `Error` | 24.11 | test_usage.py
ContextSuite context=TestVmUsage>:setup | `Error` | 32.94 | test_usage.py
ContextSuite context=TestVolumeUsage>:setup | `Error` | 34.67 | test_usage.py
ContextSuite context=TestVpnUsage>:setup | `Error` | 36.35 | test_usage.py
test_list_vms_metrics | `Error` | 1.39 | test_metrics_api.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | `Error` | 7.81 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | `Error` | 7.79 | test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | `Error` | 7.77 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | `Error` | 7.86 | test_vpc_redundant.py
test_05_rvpc_multi_tiers | `Error` | 8.85 | test_vpc_redundant.py
ContextSuite context=TestRouterDHCPHosts>:setup | `Error` | 0.00 | test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setup | `Error` | 0.00 | test_router_dhcphosts.py
test_03_deploy_vm_domain_service_offering | `Error` | 8.25 | test_domain_service_offerings.py
test_03_create_vpc_domain_vpc_offering | `Error` | 6.11 | test_domain_vpc_offerings.py
ContextSuite context=TestRouterDns>:setup | `Error` | 0.00 | test_router_dns.py
ContextSuite context=TestRouterDnsService>:setup | `Error` | 0.00 | test_router_dnsservice.py
ContextSuite context=TestRouterServices>:setup | `Error` | 0.00 | test_routers.py
test_01_sys_vm_start | `Failure` | 0.10 | test_secondary_storage.py
test_delete_account | `Error` | 16.98 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.28 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.29 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_l2network_restart | `Error` | 3.38 | test_network.py
test_l2network_restart | `Error` | 3.38 | test_network.py
ContextSuite context=TestL2Networks>:teardown | `Error` | 4.49 | test_network.py
ContextSuite context=TestPortForwarding>:setup | `Error` | 6.27 | test_network.py
ContextSuite context=TestPublicIP>:setup | `Error` | 2.30 | test_network.py
test_reboot_router | `Error` | 1.74 | test_network.py
ContextSuite context=TestRouterRules>:setup | `Error` | 215.33 | test_network.py
test_01_deployVMInSharedNetwork | `Failure` | 1.16 | test_network.py
test_02_verifyRouterIpAfterNetworkRestart | `Failure` | 2.10 | test_network.py
test_03_destroySharedNetwork | `Failure` | 1.07 | test_network.py
ContextSuite context=TestSharedNetwork>:teardown | `Error` | 2.17 | test_network.py
ContextSuite context=TestDeployVM>:setup | `Error` | 0.00 | test_vm_life_cycle.py
ContextSuite context=TestVMLifeCycle>:setup | `Error` | 1.85 | test_vm_life_cycle.py
test_network_acl | `Error` | 4.27 | test_network_acl.py
test_01_nic | `Error` | 65.58 | test_nic.py
ContextSuite context=TestServiceOfferings>:setup | `Error` | 17.16 | test_service_offerings.py
ContextSuite context=TestSnapshotRootDisk>:setup | `Error` | 0.00 | test_snapshots.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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1026320680
<b>Trillian test result (tid-3075)</b>
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36420 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t3075-xcpng82.zip
Smoke tests completed. 76 look OK, 16 have errors
Only failed tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_DeleteDomain | `Error` | 9.69 | test_accounts.py
test_forceDeleteDomain | `Failure` | 9.58 | test_accounts.py
test_01_user_remove_VM_running | `Error` | 1.97 | test_accounts.py
test_09_project_suspend | `Error` | 2.30 | test_projects.py
test_10_project_activation | `Error` | 2.22 | test_projects.py
test_DeployVmAffinityGroup | `Error` | 1.30 | test_affinity_groups.py
test_DeployVmAntiAffinityGroup | `Error` | 1.27 | test_affinity_groups.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | `Failure` | 6.68 | test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 | `Failure` | 7.76 | test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces | `Failure` | 4.54 | test_internal_lb.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces | `Failure` | 9.73 | test_internal_lb.py
test_02_create_iso_with_checksum_sha256 | `Error` | 66.43 | test_iso.py
test_04_extract_Iso | `Failure` | 128.26 | test_iso.py
ContextSuite context=TestScaleVm>:setup | `Error` | 0.00 | test_scale_vm.py
test_01_invalid_upgrade_kubernetes_cluster | `Failure` | 4.56 | test_kubernetes_clusters.py
test_02_upgrade_kubernetes_cluster | `Failure` | 4.39 | test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 4.29 | test_kubernetes_clusters.py
test_04_autoscale_kubernetes_cluster | `Failure` | 3.26 | test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_cluster | `Failure` | 4.25 | test_kubernetes_clusters.py
test_06_delete_kubernetes_cluster | `Failure` | 4.24 | test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_cluster | `Failure` | 4.24 | test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster | `Failure` | 3.79 | test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster | `Failure` | 4.24 | test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown | `Error` | 63.25 | test_kubernetes_clusters.py
test_01_sys_vm_start | `Failure` | 0.11 | test_secondary_storage.py
ContextSuite context=TestListIdsParams>:setup | `Error` | 0.00 | test_list_ids_parameter.py
test_delete_account | `Error` | 17.02 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.31 | test_network.py
test_delete_network_while_vm_on_it | `Error` | 2.31 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_deploy_vm_l2network | `Error` | 2.28 | test_network.py
test_l2network_restart | `Error` | 2.36 | test_network.py
test_l2network_restart | `Error` | 2.36 | test_network.py
ContextSuite context=TestL2Networks>:teardown | `Error` | 3.46 | test_network.py
ContextSuite context=TestPortForwarding>:setup | `Error` | 5.17 | test_network.py
ContextSuite context=TestPublicIP>:setup | `Error` | 2.34 | test_network.py
test_reboot_router | `Error` | 1.69 | test_network.py
test_releaseIP | `Error` | 1.68 | test_network.py
ContextSuite context=TestRouterRules>:setup | `Error` | 3.37 | test_network.py
test_01_deployVMInSharedNetwork | `Failure` | 1.15 | test_network.py
test_02_verifyRouterIpAfterNetworkRestart | `Failure` | 2.10 | test_network.py
test_03_destroySharedNetwork | `Failure` | 1.07 | test_network.py
ContextSuite context=TestSharedNetwork>:teardown | `Error` | 2.17 | test_network.py
ContextSuite context=TestDeployVM>:setup | `Error` | 0.00 | test_vm_life_cycle.py
ContextSuite context=TestVMLifeCycle>:setup | `Error` | 1.71 | test_vm_life_cycle.py
test_network_acl | `Error` | 5.27 | test_network_acl.py
test_01_nic | `Error` | 64.61 | test_nic.py
ContextSuite context=TestServiceOfferings>:setup | `Error` | 16.97 | test_service_offerings.py
ContextSuite context=TestSnapshotRootDisk>:setup | `Error` | 0.00 | test_snapshots.py
test_02_routervm_iptables_policies | `Error` | 1.21 | test_routers_iptables_default_policy.py
test_01_single_VPC_iptables_policies | `Error` | 5.31 | test_routers_iptables_default_policy.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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1025634882
@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] nvazquez commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1025704100
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023909723
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2356
--
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 edited a comment on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez edited a comment on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020420081
@rohityadavcloud the 'cores-per-socket' value could be bypassed or modified but it is restricted by the offering, since a VM won't start if the number of CPUs is not a multiple of the cores per socket number. I think perhaps the 'platform' setting could lead to unintended situations as it includes more information, for example:
````
device-model:qemu-upstream-compat;vga:std;videoram:8;apic:true;viridian:false;timeoffset:0;pae:true;cores-per-socket:2;acpi:1;hpet:true;secureboot:false;nx:true
````
I've checked both settings are visible and editable for users, do you think the 'platform' should be hidden for non-admins?
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020673936
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020506973
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + xcpng82) 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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1020676902
<b>Trillian Build Failed (tid-2979)<b/>
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on a change in pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#discussion_r792657296
##########
File path: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1899,13 +1900,25 @@ protected void fillHostInfo(final Connection conn, final StartupRoutingCommand c
}
}
+ protected void syncPlatformAndCoresPerSocketSettings(String coresPerSocket, Map<String, String> platform) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || MapUtils.isEmpty(platform)) {
Review comment:
add to `platform`, even if it doesn't have any elements ?
```suggestion
if (org.apache.commons.lang3.StringUtils.isBlank(coresPerSocket) || platform == null) {
```
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1023655658
Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2353
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022512145
@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] nvazquez commented on pull request #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
nvazquez commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1021438170
@blueorangutan test centos7 xcpng82
--
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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1021964289
<b>Trillian test result (tid-2994)</b>
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 50993 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5892-t2994-xcpng82.zip
Smoke tests completed. 90 look OK, 2 have errors
Only failed tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_invalid_upgrade_kubernetes_cluster | `Failure` | 3607.05 | test_kubernetes_clusters.py
test_02_upgrade_kubernetes_cluster | `Failure` | 95.30 | test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 0.05 | test_kubernetes_clusters.py
test_04_autoscale_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_cluster | `Failure` | 0.06 | 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.03 | test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown | `Error` | 118.90 | test_kubernetes_clusters.py
test_01_sys_vm_start | `Failure` | 0.10 | test_secondary_storage.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 #5892: [XenServer/XCP-ng] Sync the 'platform' setting according to the 'cpu.corespersocket' setting
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #5892:
URL: https://github.com/apache/cloudstack/pull/5892#issuecomment-1022369339
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 2314
--
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