commit 6dd4039a304061df122153c6f6f3a00a5e33db64
Author: Dave Hill <email address hidden>
Date: Tue Jul 11 15:02:13 2017 -0400
NetApp: Define 'preferred' to False instead of none
Define preferred to false instead of none in the NetApp driver
as setting it to none will trigger a traceback later on because
the database doesn't allow null values to be inserted.
"preferred" export location metadata must be set to true or
false. warning logging is also added to the SQLAlchemy API
if a none value is used to update the export location metadata.
Change-Id: Ie7420c9286cc42eaa1361eeffe607b9b5b6b3fbd
Closes-Bug: 1703660
(cherry picked from commit 4573826d361b44c367ca54c5d0f7943346666ade)
(cherry picked from commit 0a5d760ed5e49b0aef34ce909d4570585e1b4681)
Reviewed: https:/ /review. openstack. org/486666 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=6dd4039a304 061df122153c6f6 f3a00a5e33db64
Committed: https:/
Submitter: Zuul
Branch: driverfixes/newton
commit 6dd4039a304061d f122153c6f6f3a0 0a5e33db64
Author: Dave Hill <email address hidden>
Date: Tue Jul 11 15:02:13 2017 -0400
NetApp: Define 'preferred' to False instead of none
Define preferred to false instead of none in the NetApp driver
as setting it to none will trigger a traceback later on because
the database doesn't allow null values to be inserted.
"preferred" export location metadata must be set to true or
false. warning logging is also added to the SQLAlchemy API
if a none value is used to update the export location metadata.
Change-Id: Ie7420c9286cc42 eaa1361eeffe607 b9b5b6b3fbd 367ca54c5d0f794 3346666ade) aef34ce909d4570 585e1b4681)
Closes-Bug: 1703660
(cherry picked from commit 4573826d361b44c
(cherry picked from commit 0a5d760ed5e49b0