The Nova v2 API code has been completely removed from Nova by
change[1]. Although Nova still supports v2 compatible API with the
legacy endpoint, it is better to switch to use Nova v2.1 in Heat.
This change sets version='2.1' when init novaclient
instance, then we can use novaclient v2 and will
use nova api v2.1.
Reviewed: https:/ /review. openstack. org/324236 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=a07dccebe05 75bdb45fdcfa7b3 43ad81095bf558
Committed: https:/
Submitter: Jenkins
Branch: master
commit a07dccebe0575bd b45fdcfa7b343ad 81095bf558
Author: huangtianhua <email address hidden>
Date: Thu Jun 2 14:39:13 2016 +0800
Migrate to nova api version 2.1
The Nova v2 API code has been completely removed from Nova by
change[1]. Although Nova still supports v2 compatible API with the
legacy endpoint, it is better to switch to use Nova v2.1 in Heat.
This change sets version='2.1' when init novaclient
instance, then we can use novaclient v2 and will
use nova api v2.1.
[1] https:/ /review. openstack. org/#/c/ 311653/
Change-Id: I428abb4ca05847 da8ffc2da7157aa 5c34263a205
Closes-Bug: #1588155
Partial-Bug: #1588171