Comments (28)
Tentatively marked for 4.11.1.0 milestone, for testing this we'll require a pro version of XenServer. @DagSonsteboSB @PaulAngus do we have a test env to test a fix against?
from cloudstack.
@PaulAngus is this still an issue? With XCP-ng, is a XenServer Pro license still required? Could the default behavior be to specify cores rather than sockets?
from cloudstack.
@bdonnahue we'll need to test this, if you've a XCP-ng setup, can you test?
from cloudstack.
@rhtyd I am happy to test but I want to clarify some things and ask some dumb questions. Are you on the slack channel?
from cloudstack.
@rhtyd any updates? Building cloudstack from source was more complicated that I thought. I have not been able to make any progress here
from cloudstack.
Let's revisit this after 4.11.2.0 gets released. /cc @DagSonsteboSB @PaulAngus
from cloudstack.
Sounds good, is there a scheduled release date @rhtyd ?
from cloudstack.
@bdonnahue there is no strict date however we were aiming for late-oct, mid-nov; but we have had blockers/bugs because of which we're at RC4.
from cloudstack.
@rhtyd ok. I will reach out again in a few weeks to see how things are going. Thanks for the help on this!
from cloudstack.
Still exists for 4.11.2 with XCP-NG 7.4 - parameter is ignored, and it's always 4 sockets.
from cloudstack.
Confirmed this issue with Xenserver 7 and Cloudstack 4.11.3
nameLabel: Async.VM.start_on
nameDescription:
allowedOperations: []
currentOperations: {}
created: Mon Feb 18 10:11:51 AEDT 2019
finished: Mon Feb 18 10:11:51 AEDT 2019
status: failure
residentOn: com.xensource.xenapi.Host@904b9a65
progress: 1.0
type:
result:
errorInfo: [INVALID_VALUE, platform:cores-per-socket, VCPUs_max must be a multiple of this field]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
from cloudstack.
We have this working with:
XS 6.5 and CS 4.8
XS 6.5 and CS 4.11
Given the OP said they had the issue with 6.2, I am wondering if you're just missing something?
To get it working:
- shutdown the VM
- delete the 'platform' row for this VM ID in user_vm_details
- create a cpu.corespersocket for this VM ID in user_vm_details
- boot the VM from CS
- the 'platform' row is rebuilt from XS
- cores will be whatever you set it to
Obviously it would be much nicer if CS just supported this, but it is possible to get it working.
from cloudstack.
Hey, thanks for sharing that info about the workaround while we wait for a better solution.
from cloudstack.
We have this working with:
XS 6.5 and CS 4.8
XS 6.5 and CS 4.11
Given the OP said they had the issue with 6.2, I am wondering if you're just missing something?
To get it working:
- shutdown the VM
- delete the 'platform' row for this VM ID in user_vm_details
- create a cpu.corespersocket for this VM ID in user_vm_details
- boot the VM from CS
- the 'platform' row is rebuilt from XS
- cores will be whatever you set it to
Obviously it would be much nicer if CS just supported this, but it is possible to get it working.
Hi ToonGeneral,
can you share the commands in the database? I'm not sure if I'm doing the DB Update correct ;)
ok, got it:
select * from user_vm_details where vm_id= \g
delete from user_vm_details where id=
set @vmuuid='66bec96f-4694-463e-a920-1d99ef29f23d';
set @vmcores='4'
insert into cloud.user_vm_details (vm_id,name
, value
) (select i.id,'cpu.corespersocket',@vmcores from cloud.vm_instance i where i.uuid=@vmuuid);
from cloudstack.
okay, this seems not to survive a server restart (with shutdown).
After powering on the server is keeps changing back to the original behaviour
from cloudstack.
Confirmed, it does not support reboots
from cloudstack.
Not sure what you guys are doing, but it works fine for us. Survives a reboot through CS fine.
@mschaepers your SQL looks correct, except don't delete * from user_vm_details. You only need to delete the platform value. I don't know if that's what is causing your issue.
I can also confirm this is working using the new UI controls in 4.11. The VM needs to be off and you can then delete the platform entry and add cpu.corespersocket through the UI. Still works on reboot.
from cloudstack.
from cloudstack.
from cloudstack.
sorry @mschaepers just don't get the same symptoms. We reboot instances all the time and they don't lose the setting.
from cloudstack.
You need to stop the instance, for the Settings tab to appear.
from cloudstack.
@ToonGeneral thanks, never noticed the setting menu!
as you can see, this is the "new" platform value which get's written back after shutdown (even if the instance was running with the correct settings, in my case 4 cores per socket).
one difference I'm spotting is that we utilize custom service offerings.
@bdonnahue you're seeing the same behaviour. Are you utilizing custom service offerings as well?
However, I will forward this here to your professional support and will keep you updated about the solution.
from cloudstack.
Hello,
We have the same problem with version 4.13 and KVM hypervisors.
How can we solve this problem because we are trying to create offering services with 45 cores and it affects only 2 cores
from cloudstack.
there is a PR out for 4.14 that fixes this for KVM: #4497
from cloudstack.
this is still happening with 4.15.0 and xcp-ng
from cloudstack.
The PR i mentioned is merged in the 4.14 branch @AlexanderKgr . If you need to it in 4.15 please test a nightly build, Otherwise it should be fixed in any upcoming release.
from cloudstack.
@AlexanderKgr can you please check if this is still an issue on a recent 4.15 or on main and close if appropriate?
from cloudstack.
A PR claiming to fix this issue #4497 has been merged.
@AlexanderKgr @DagSonsteboSB please test 4.15.1/4.14.1 and re-open this if not satisfied, thanks.
from cloudstack.
Related Issues (20)
- noVNC connection timed out HOT 12
- rabbit mq ,Unable to use after successful configuration HOT 5
- Support Bulk Operation for Instance Lifecycle HOT 1
- Search Bar at Autoscale Instance Group Page is not working
- Empty resources in dashborad HOT 11
- Failed to create instance in ACS 4.17.2 HOT 3
- KVM not listing Unmanaged Instances HOT 1
- Port-forwarding not working in VPC Virtual Router HOT 9
- Network ACL check is bypassed on Load balancing rules in VPC
- Virtual Machine Suspend Function HOT 4
- Unable to live migrate VMware VMs with snapshot HOT 3
- Adding project role rule with description fails
- How CloudStack handles multiple NFS type Primary Storage HOT 2
- Project role Allow rules doesn't have any effect HOT 1
- Msty.app Cloudstack does not see LmStudio models due to path issue HOT 2
- Contribute Cloudstack Project HOT 3
- im not able to add host HOT 2
- Inconsistent count of templates reported when executing listTemplates under RootAdmin and DomainAdmin HOT 1
- Can't enable "Dynamically scalable" function for VM from ISO HOT 2
- Certificate error when downloading ISO HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudstack.