Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hey!! found solution to spawning a tons of VMs using Fake Driver on PackSatck environment for performing Load test..:)

Its easy to configure Fake Driver on Nova. Just have a look below:

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: Finally i ran my Python script to create openstack network topology. It works like charm!! Can able to launch nearly 800vms to 1000vms on my laptop :) And all the provisioned VMs shows ACTIVE state !