Ask Your Question

How to balance the load among multiple cinder-volume services?

asked 2015-05-13 04:44:17 -0600

xiangfeiz gravatar image

I have multiple cinder-volume services running. But some of them were not receiving any requests. Any idea where the load balancing is configured? By the way, cinder-api services were properly balanced.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-14 09:07:53 -0600

jdexter gravatar image

If I hazard a guess as to why one cinder-volume service was getting more then others, it would be becuase it has a larger capacity, as that is the defualt filter and weigher for scheduling. This could also result from one backend being the default? If you are using multiple backends and one is set to default and volumes that are not specifically assigned a type will be created from the default time.

# Default volume type to use (string value)

Within cinder.conf this would be on the server running api and scheduler.

# Which filter class names to use for filtering hosts when not
# specified in the request. (list value)

# Which weigher class names to use for weighing hosts. (list
# value)

# Options defined in cinder.scheduler.manager

# Default scheduler driver to use (string value)
#scheduler_driver=cinder.scheduler.filter_scheduler.FilterSchedule describes how to use the filters in more detail.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-13 04:44:17 -0600

Seen: 452 times

Last updated: May 14 '15