Ask Your Question

sanjay khuntia's profile - activity

2019-03-25 09:07:07 -0500 received badge  Famous Question (source)
2019-03-25 08:02:35 -0500 answered a question new vm request handling

Thank you Bernd Bausch for your reply. I was going through this link (may be not updated for current nova openstack version, but it gives overall call flows) https://www.linuxtechi.com/step-by-step-instance-creation-flow-in-openstack/ where in step 6 it mentions nova-scheduler picks the request from queue for allocating host for the new instance before doing the filtering and weighing functions.

I want to check the portion of that code where scheduler receives this request and then handles it for further processing like filtering, weighting etc. Whether this request comes to scheduler sequentially from nova-api through any request queue (which I assume now since I am not much familiar with openstack code base)?

Can you please point out those portion of source files in nova. (I might be wrong - whether it is nova/scheduler/ host_manager.py or manager.py)

Thank you for your valuable replies.

2019-03-24 05:06:02 -0500 received badge  Notable Question (source)
2019-03-24 05:06:02 -0500 received badge  Popular Question (source)
2019-03-22 10:22:15 -0500 asked a question new vm request handling

Hi All, Anyone please give some pointers where the new vm/instance creation request is processed after initiated from Horizon UI in Nova? I want to modify the request queue based on my logic if it works. Please let me know where in source files it is processed.

thanks for your reply

Thank you Bernd Bausch for your reply. I was going through this link (may be not updated for current nova openstack version, but it gives overall call flows) https://www.linuxtechi.com/step-by-step-instance-creation-flow-in-openstack/ where in step 6 it mentions nova-scheduler picks the request from queue for allocating host for the new instance before doing the filtering and weighing functions.

I want to check the portion of that code where scheduler receives this request and then handles it for further processing like filtering, weighting etc. Whether this request comes to scheduler sequentially from nova-api through any request queue (which I assume now since I am not much familiar with openstack code base)?

Can you please point out those portion of source files in nova. (I might be wrong - whether it is nova/scheduler/ host_manager.py or manager.py)

Thank you for your valuable replies.

2019-03-22 06:11:49 -0500 received badge  Popular Question (source)
2019-03-18 16:13:28 -0500 received badge  Famous Question (source)
2019-03-16 08:45:06 -0500 received badge  Notable Question (source)
2019-03-15 06:36:27 -0500 received badge  Popular Question (source)
2019-03-15 04:27:56 -0500 commented answer high availability for controller and compute in openstack

Thanks Adrian for your reply. Whether instance level HA is handled automatically by the openstack environment or do I have to do something specifically inside compute? Is there openstack service/tools available to achieve instance high availability inside a compute?

rgds,

2019-03-13 12:34:17 -0500 asked a question high availability for controller and compute in openstack

Hello All, Is there any latest tools/service available in openstack releases which can provide high availability with respect to control and compute services?

Please let me know how this can be achieved ?

thanks in advance for your replies.

regards,

2019-03-13 09:43:36 -0500 commented question nova - new instance creation request

whether the source files are inside nova/nova/cells/messaging.py or rpcapi.py? plz point me the source files in devstack rocky version. thanks

2019-03-11 12:14:35 -0500 asked a question nova - new instance creation request

Hi All, when a new request comes for creating instance, where this request in kept inside nova? Mostly I want to know which source files are responsible for handling the request, maintaining the request queue and processing the request for different users requests?

I am having nova devstack rocky source files for reference.

thanks in advance for your replies.

regards,

2019-02-11 23:54:05 -0500 commented answer virtual machine priority

after searching more on this I found these 2 in nova specs-

https://specs.openstack.org/openstack...

https://specs.openstack.org/openstack...

any idea on this can help me a lot. thanks

2019-02-11 06:53:19 -0500 received badge  Student (source)
2019-02-11 04:57:59 -0500 received badge  Popular Question (source)
2019-02-11 04:33:35 -0500 asked a question instance resizing on a running vm

Hi All, Is there any way to resize one running instance based on its RAM, CPU or disk individually in the latest openstack versions?

Found one similar question on this, but it was asked years back and there was no support for this then. https://openstack.nimeyo.com/39941/openstack-change-options-cpu-ram-nic-on-already-launched-vm

But I dont want resize giving some new flavor as described here - https://ask.openstack.org/en/question/92488/how-to-increase-the-memory-of-instance-without-changing-cpu-and-disk-size/

https://ask.openstack.org/en/question/1750/can-i-scale-upscale-down-computing-resourceie-cpu-ram-disk-on-running-vm-instances-without-shutting-it-down/

any open source tools or service available now to achieve this?

thanks in advance for the replies.

best regards

2019-02-09 04:48:22 -0500 received badge  Enthusiast
2019-02-07 09:56:42 -0500 asked a question nova compute's resource allocation strategy for hosted VMs

Hello Openstack experts,

I am trying to find the decision logic/code flow/internal algorithm used on how compute host allocates resources (memory, vcpu etc) to all the VMs it hosts internally. I found out this link somewhat useful from wiki - https://wiki.openstack.org/wiki/UtilizationBasedSchedulingSpec (spec). With respect to this where can I find the src file changes (change versions, files modified etc)?

whether the strategy to decide resource allocation can be modified if I want to set higher priority to some VMs and lower to others- based on that the memory,cpu allocation will change for the VMs?

Please provide some pointers, files location in openstack or any algorithm to work out on this.

thanks in advance for your valuable inputs.

regards, SanjayK

2019-01-28 00:38:38 -0500 answered a question virtual machine priority

Hi Bernd, thanks for your reply. using flavors will not help much in my case. I want to have prioritization of VMs in compute node in openstack like what VMware have features like Resource pools and VM Shares concept implemented in its products.

please let me know whether this kind of features is already implemented in openstack compute through any open source tools or in newer openstack versions or is there any plan in the offing to make it available in the later openstack versions?

thanks in advance for the reply. regards

2019-01-27 23:53:31 -0500 received badge  Notable Question (source)
2019-01-27 23:53:31 -0500 received badge  Popular Question (source)
2019-01-03 11:31:18 -0500 asked a question virtual machine priority

Hello Experts, I have a situation where I have to calculate/set the priority of VMs in the existing openstack environment which is using liberty version of openstack release. Say, in a blade there are few dev, QA and test VMs. Out of these 3 types of VMs I want to set higher priority to Dev VMs compared to QA's or Test VMs so that whenever there is resource crunch and when both Dev VM and QA VM requests comes at a same time to launch, the compute environment should calculate internally to give/allocate resources to Dev VM to launch it and keeps the priority of QA vm low which can be launched later.

Is there any existing facility available in compute schedulers or in recent openstack releases which can prioritize VM allocation/scheduling for different types of users?

I can find one such discussion on this link, but it is not helping much. https://ask.openstack.org/en/question/101374/openstackkvmovercommit-vm-prioritization/ (link text)

Please let me know your suggestions in this as I am new to openstack environment. thanks in advance for your replies.

best rgds, Sanjay