
Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Multiple Instance Creation Failed Due to Max Scheduling Attempts Exceeded for Cinder Volume
Problem
During the creation of multiple VM instances, certain deployments are successful, but a subset experiences failures attributed to an error identified within the Cinder scheduler.
Environment
Self-Hosted Private Cloud Director Virtualisation – v2025.4
Private Cloud Director Virtualisation – v2025.4
Cause
The Cinder scheduler overloads due to multiple concurrent volume creation requests in the backend. The changes are now part of the product starting in PCD June Release.
Workaround
The resolution for this issue is a two part process, which involves making changes on the Management Plane and on the hosts.
SaaS customers should reach out to Platform9 Support Team to implement Part-1 of the Resolution.
PART-1
Cinder pods use
cinder.conffromcinder-etcsecret, so we need to update thecinder-etcsecret. Verify if secret is available in the namespace.
Take backup of the secret.
Get the
cinder.confinformation from the secret
Open
cinder.conffile in a file editor and make the below changes in default section. As shown below:
It is not recommended to increase the scheduler__max__attempts beyond 10. As there are multiple factors such as Storage backend network latency, Storage IOPS, etc.
Save the
cinder.confand encode the file usingbase64.
Copy the encoded value from above command and edit the secret replace the older
cinder.confcontent with new encoded value.
Save the secret and verify if the new
cinder.confvalues are reflecting.
Now restart
cinder-apiandcinder-schedulerpod so that it will start utilising updatedcinder.conffile.
PART-2
On every host that has Persistent Storage role, open
/opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder.conffile in a file editor and make the below changes in default section as shown below:
Restart the below service on every host that has Persistent Storage role:
The changes made will not persist through an upgrade. Therefore, it is important to reapply these steps immediately after the upgrade to ensure continued functionality.
Additional Information
Execute these commands carefully, ensuring no unintended characters are added to cinder.conf. If the cinder.conf file is corrupted, restore the cinder-etc secret from the backup file and restart the cinder-api and cinder-scheduler pods.