BuildRequires: python-routes >= 1.12.3, python-routes < 2.0
BuildRequires: python-sqlalchemy >= 0.8.4, python-sqlalchemy <= 0.9.99
BuildRequires: python-webob >= 1.2.3
-
+BuildRequires: python-osprofiler
+BuildRequires: python-oslo-middleware
BuildRequires: python-pbr
BuildRequires: python-d2to1
%if 0%{?with_doc}
Requires: python-anyjson
Requires: python-paramiko >= 1.13.0
Requires: MySQL-python
+Requires: python-osprofiler >= 0.3.0
+Requires: python-oslo-middleware >= 0.1.0
+Requires: python-oslo-serialization >= 1.0.0
+Requires: python-oslo-utils >= 1.0.0
Requires(pre): shadow-utils
%description common
then
echo "mysql-server mysql-server/root_password select $MYSQL_PASSWORD" | sudo debconf-set-selections
echo "mysql-server mysql-server/root_password_again select $MYSQL_PASSWORD" | sudo debconf-set-selections
- apt-get install -y mysql-server python-mysqldb rabbitmq-server
+ apt-get install -y mysql-server mysql-client python-mysqldb rabbitmq-server
else
- yum install screen mysql-server MySQL-python rabbitmq-server -y
- service mysqld start
+ yum install screen mysql-server MySQL-python MySQL-client rabbitmq-server -y
+ service $(chkconfig | grep -oE '^mysql.?\s') start
/usr/bin/mysqladmin -u root password $MYSQL_PASSWORD
- /usr/bin/mysqladmin -u root --password=$MYSQL_PASSWORD -h localhost $MYSQL_PASSWORD
fi
service rabbitmq-server start
mysql -uroot -p$MYSQL_PASSWORD -Bse "create database heat"
screen -dmS heat-api
sleep 2
echo "Starting Heat API..."
- screen -S heat-api -p 0 -X stuff "heat-api --config-file $conf_file -d --log-file /tmp/heat-api.log
+ screen -S heat-api -p 0 -X stuff "heat-api --config-file $conf_file -d --log-file /tmp/heat-api.log 2>>/tmp/heat-api.log
"
sleep 5
curl_req=`curl http://localhost:8004/v1/tenant/stacks`
screen -dmS heat-engine
sleep 2
echo "Starting Heat Engine..."
- screen -S heat-engine -p 0 -X stuff "heat-engine --config-file $conf_file -d --log-file /tmp/heat-engine.log
+ screen -S heat-engine -p 0 -X stuff "heat-engine --config-file $conf_file -d --log-file /tmp/heat-engine.log 2>>/tmp/heat-engine.log
"
sleep 5
cat /tmp/heat-engine.log
screen -dmS heat-api-cfn
sleep 2
echo "Starting Heat API CFN..."
- screen -S heat-api-cfn -p 0 -X stuff "heat-api-cfn --config-file $conf_file -d --log-file /tmp/heat-api-cfn.log
+ screen -S heat-api-cfn -p 0 -X stuff "heat-api-cfn --config-file $conf_file -d --log-file /tmp/heat-api-cfn.log 2>>/tmp/heat-api-cfn.log
"
sleep 5
cat /tmp/heat-api-cfn.log
screen -dmS heat-api-clw
sleep 2
echo "Starting Heat API Cloudwatch..."
- screen -S heat-api-clw -p 0 -X stuff "heat-api-cloudwatch --config-file $conf_file -d --log-file /tmp/heat-api-clw.log
+ screen -S heat-api-clw -p 0 -X stuff "heat-api-cloudwatch --config-file $conf_file -d --log-file /tmp/heat-api-clw.log 2>>/tmp/heat-api-clw.log
"
sleep 5
cat /tmp/heat-api-clw.log