Comment 4 for bug 1178541

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/113558
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cc17991d1a5a703d486735b902da8902641dad83
Submitter: Jenkins
Branch: master

commit cc17991d1a5a703d486735b902da8902641dad83
Author: Dheeraj Gupta <email address hidden>
Date: Tue Aug 12 15:12:52 2014 +0000

    Support message queue clusters in inter-cell communication

    Since cells use oslo.messaging to specify and store the message queue URL,
    multiple hosts can be specified by manually modifying that URL in the database.
    However, there is no way to specify multiple hosts during cell creation phase.
    This patch adds a --broker_hosts option to `nova-manage cell create` command,
    which is analogous to the rabbit_hosts option in nova.conf and can be used to
    specify multiple message queue servers as a comma separated list. Each server
    is specified using hostname:port with both being mandatory. The existing
    --hostname and --port options continue to remain but are only considered if no
    --broker_hosts is specified.
    Internally, each host is converted to a oslo.messaging.TransportHost
    and added to the generated TransportURL.
    This patch also adds unit tests for creation of the TransportHosts from
    user given input.

    Change-Id: I14de860b1d12f3e2c0169b58651d580792d6ce0e
    Closes-Bug: 1178541