Skip to content

Commit

Permalink
Reinstate default FLAGS.compute_driver for folsom
Browse files Browse the repository at this point in the history
A previous cherry-picked commit moved the compute_driver flag from
the compute manager to the global flags file, but did not take the
flags default value along.  This breaks existing Folsom installations
that still use connection_type.

Note, this is only proposed to stable/folsom to fix a regression. Not
applicable to master as connection_type is gone in Grizzly.

Fixes bug 1081836.

Change-Id: I135d6adc215c40fb9f46f382dbe22fb38b413ff8
  • Loading branch information
Adam Gandelman committed Nov 22, 2012
1 parent 1581505 commit 7e8a166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nova/flags.py
Expand Up @@ -420,6 +420,7 @@ def _get_my_ip():
' during a host restart and apply all at the end of the'
' init phase'),
cfg.StrOpt('compute_driver',
default='nova.virt.connection.get_connection',
help='Driver to use for controlling virtualization. Options '
'include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, '
'fake.FakeDriver, baremetal.BareMetalDriver, '
Expand Down

0 comments on commit 7e8a166

Please sign in to comment.