diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-06-09 21:50:34 +0000 |
|---|---|---|
| committer | Rick Harris <rick.harris@rackspace.com> | 2011-06-09 21:50:34 +0000 |
| commit | 361fd763eb0cf3e62e0184dafd0f4a024e1871f5 (patch) | |
| tree | c0a48ec45d085610d88d772f49b2856ce7324d40 | |
| parent | e307bf5dd60dc84587f76d88956499ee1f1013fb (diff) | |
| download | nova-361fd763eb0cf3e62e0184dafd0f4a024e1871f5.tar.gz nova-361fd763eb0cf3e62e0184dafd0f4a024e1871f5.tar.xz nova-361fd763eb0cf3e62e0184dafd0f4a024e1871f5.zip | |
Adding caveat
| -rw-r--r-- | nova/image/glance.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index 5712215bb..6e058ab2f 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -43,6 +43,10 @@ GlanceClient = utils.import_class('glance.client.Client') def pick_glance_api_server(): """Return which Glance API server to use for the request + This method provides a very primitive form of load-balancing suitable for + testing and sandbox environments. In production, it would be better to use + one IP and route that to a real load-balancer. + Returns (host, port) """ host_port = random.choice(FLAGS.glance_api_servers) |
