Make default nova_url use a version

The default nova_url for neutron is missing an API
version number. This can cause requests to fail
because the Nova /versions API cannot respond
to Neutron notification requests.

It seems reasonable for the default value to
at least have a chance at being correct so
this patch upgrades the default Nova API url to
use the Nova 'v2' API.

Related-bug: #1298640
Change-Id: Ib1449de84fbc01fb704ebfe4a016ac8f4932be96
(cherry picked from commit c09a14089a)
This commit is contained in:
Dan Prince 2014-04-10 12:40:13 -04:00 committed by Mathieu Rohon
parent 3dd1161b90
commit d1ab56d8c4
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ notification_driver = neutron.openstack.common.notifier.rpc_notifier
# notify_nova_on_port_data_changes = True
# URL for connection to nova (Only supports one nova region currently).
# nova_url =
# nova_url =
# Name of nova region to use. Useful if keystone manages more than one region
# nova_region_name =

View File

@ -87,7 +87,7 @@ core_opts = [
help=_("Send notification to nova when port data (fixed_ips/"
"floatingip) changes so nova can update its cache.")),
help=_('URL for connection to nova')),
help=_('Username for connecting to nova in admin context')),