Tasks remain in the Scheduling state

You may encounter a problem where an IBM® Power® Virtualization Center task stays in the Scheduling state.

Problem

A task remains in the Scheduling state for longer than five minutes.

Explanation

There are two reasons why you may see this type of problem:
  • The scheduler or one of its related components was stopped by an administrator.
  • You performed a task on a host that was deleted before the host was completely removed from PowerVC. For example, you may have deployed an image to a host that was recently deleted. It takes a few minutes for hosts to be completely removed from PowerVC. If you try to perform a task on a host that has been deleted from PowerVC before it is completely removed, the task will remain in the Scheduling state because PowerVC is attempting to complete the task and is unable to do so.

Resolution

Run the following commands to stop and restart the PowerVC scheduler and its related components:

  1. service ego stop
  2. service ego start
  3. service openstack-nova-scheduler restart
  4. service openstack-nova-ibm-notification restart
  5. service openstack-nova-ibm-resource-optimization restart (optional)

If running these commands does not resolve the problem, you need to delete the virtual machine that you were attempting to deploy and redeploy the image.