20938742 Change certain parameters pertaining to zfssa drivers in cinder.conf (fix file)
--- a/components/openstack/glance/files/glance-upgrade Wed Apr 29 13:58:24 2015 -0700
+++ b/components/openstack/glance/files/glance-upgrade Wed Apr 29 16:16:15 2015 -0700
@@ -117,12 +117,10 @@
sys.exit(smf_include.SMF_EXIT_ERR_FATAL)
cursor = db.cursor()
- cursor.execute("SET foreign_key_checks = 0")
cursor.execute("ALTER DATABASE %s CHARACTER SET = 'utf8'" %
engine.url.database)
cursor.execute("ALTER DATABASE %s COLLATE = 'utf8_general_ci'" %
engine.url.database)
- cursor.execute("SET foreign_key_checks = 1")
cursor.execute("SHOW tables")
res = cursor.fetchall()
if res: