Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have found solution to launch Fake VMs by configuring Fake Driver on Nova and achieved nearly a 1000vms on PackStack environment for performing Load Test!!

Step1: OpenStack deployment using PackStack

step 2: In /etc/nova/nova.conf:

Enable the fake compute driver

Instead of : #compute_driver = nova.virt.libvirt.LibvirtDriver

replaced with: compute_driver = fake.FakeDriver

Step 3: Disable the scheduler's checking of RAM capacity

Instead of: #scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter, CoreFilter Replaced with: #scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter

Step 4: Restart openstack nova compute and scheduler services

#systemctl restart openstack-nova-compute.service openstack-nova-scheduler.service

Step 5: I ran my Python script to create openstack network topology. It works like charm!! Can able to launch nearly 1000vms on my laptop :)