nova-conductor revision 2605
2605N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. 2605N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 2605N/A# not use this file except in compliance with the License. You may obtain 2605N/A# Unless required by applicable law or agreed to in writing, software 2605N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 2605N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 2605N/A# License for the specific language governing permissions and limitations 2605N/A """ function to create the database schema 2605N/A print "Unable to create database for Nova: %s" %
err 2605N/A # read the options from the config file 2605N/A # look to see if file exists or if it's zero length 2605N/A print "mysql service not found. Is it installed?" 2605N/A print "starting mysql service failed: %s" %
err 2605N/A # not sure how to check if the database is valid, so just create 2605N/A # the database every time for now