Created
January 21, 2013 18:52
-
-
Save hub-cap/4588322 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == '__main__': | |
flags.parse_args(sys.argv) | |
logging.setup("cinder") | |
utils.monkey_patch() | |
launcher = service.ProcessLauncher() | |
for backend in FLAGS.enabled_backends: | |
server = service.Service.create(binary='cinder-volume', | |
# service.Service tries to use topic name for the manager if its not sent down | |
manager=FLAGS.volume_manager, | |
topic='cinder-volume-%s' % backend) | |
launcher.launch_server(server) | |
launcher.wait() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment