Hello there,

Lately i was trying to make work the autoscaling.yaml template. So I installed a web server and uploaded the wordpress repo . when I launch my template with heat, and take a look at the log of the web server and the db server launched with heat I found these errors. Can you tell me what I can do to fix them? below the logs and attached the temmplate I use

====> database server log
cloud-init[728]: Cloud-init v. 0.7.5 running 'init' at Tue, 02 Jun 2015 15:47:39 +0000. Up 9.78 seconds.
cloud-init[728]: ci-info: +++++++++++++++++++++++++Net device info++++++++++++++++++++++++++
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: | Device |  Up  |  Address   |      Mask     |     Hw-Address    |
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: |  lo:   | True | 127.0.0.1  |   255.0.0.0   |         .         |
cloud-init[728]: ci-info: | eth0:  | True | 20.0.0.169 | 255.255.255.0 | fa:16:3e:f3:f2:25 |
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
cloud-init[728]: ci-info: | Route | Destination | Gateway  |    Genmask    | Interface | Flags |
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
cloud-init[728]: ci-info: |   0   |   0.0.0.0   | 20.0.0.1 |    0.0.0.0    |    eth0   |   UG  |
cloud-init[728]: ci-info: |   1   |   20.0.0.0  | 0.0.0.0  | 255.255.255.0 |    eth0   |   U   |
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+

CentOS Linux 7 (Core)
Kernel 3.10.0-229.el7.x86_64 on an x86_64

host-20-0-0-169 login: cloud-init[901]: Cloud-init v. 0.7.5 running 'modules:config' at Tue, 02 Jun 2015 15:47:44 +0000. Up 15.32 seconds.
cloud-init[922]: Cloud-init v. 0.7.5 running 'modules:final' at Tue, 02 Jun 2015 15:47:45 +0000. Up 15.87 seconds.
cloud-init[922]: #!/bin/bash -v
cloud-init[922]: cat << EOF > /etc/resolv.conf
cloud-init[922]: nameserver 8.8.8.8
cloud-init[922]: EOF
cloud-init[922]: yum -y install firewalld
cloud-init[922]: Loaded plugins: fastestmirror
cloud-init[922]: Determining fastest mirrors
cloud-init[922]: * base: centos.quelquesmots.fr
cloud-init[922]: * extras: centos.mirrors.ovh.net
cloud-init[922]: * updates: centos.quelquesmots.fr
cloud-init[922]: Resolving Dependencies
cloud-init[922]: --> Running transaction check
cloud-init[922]: ---> Package firewalld.noarch 0:0.3.9-11.el7 will be installed
cloud-init[922]: --> Processing Dependency: python-slip-dbus for package: firewalld-0.3.9-11.el7.noarch
cloud-init[922]: --> Processing Dependency: ebtables for package: firewalld-0.3.9-11.el7.noarch
cloud-init[922]: --> Running transaction check
cloud-init[922]: ---> Package ebtables.x86_64 0:2.0.10-13.el7 will be installed
cloud-init[922]: ---> Package python-slip-dbus.noarch 0:0.4.0-2.el7 will be installed
cloud-init[922]: --> Processing Dependency: python-slip = 0.4.0-2.el7 for package: python-slip-dbus-0.4.0-2.el7.noarch
cloud-init[922]: --> Running transaction check
cloud-init[922]: ---> Package python-slip.noarch 0:0.4.0-2.el7 will be installed
cloud-init[922]: --> Finished Dependency Resolution
cloud-init[922]: Dependencies Resolved
cloud-init[922]: ================================================================================
cloud-init[922]: Package                 Arch          Version                Repository   Size
cloud-init[922]: ================================================================================
cloud-init[922]: Installing:
cloud-init[922]: firewalld               noarch        0.3.9-11.el7           base        465 k
cloud-init[922]: Installing for dependencies:
cloud-init[922]: ebtables                x86_64        2.0.10-13.el7          base        122 k
cloud-init[922]: python-slip             noarch        0.4.0-2.el7            base         30 k
cloud-init[922]: python-slip-dbus        noarch        0.4.0-2.el7            base         31 k
cloud-init[922]: Transaction Summary
cloud-init[922]: ================================================================================
cloud-init[922]: Install  1 Package (+3 Dependent packages)
cloud-init[922]: Total download size: 649 k
cloud-init[922]: Installed size: 2.8 M
cloud-init[922]: Downloading packages:
cloud-init[922]: warning: /var/cache/yum/x86_64/7/base/packages/python-slip-0.4.0-2.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
cloud-init[922]: Public key for python-slip-0.4.0-2.el7.noarch.rpm is not installed
cloud-init[922]: --------------------------------------------------------------------------------
cloud-init[922]: Total                                              462 kB/s | 649 kB  00:01
cloud-init[922]: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cloud-init[922]: Importing GPG key 0xF4A80EB5:
cloud-init[922]: Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
cloud-init[922]: Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
cloud-init[922]: Package    : centos-release-7-1.1503.el7.centos.2.7.x86_64 (installed)
cloud-init[922]: From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cloud-init[922]: Running transaction check
cloud-init[922]: Running transaction test
cloud-init[922]: Transaction test succeeded
cloud-init[922]: Running transaction
cloud-init[922]: Installing : python-slip-0.4.0-2.el7.noarch                               1/4
cloud-init[922]: Installing : python-slip-dbus-0.4.0-2.el7.noarch                          2/4
cloud-init[922]: Installing : ebtables-2.0.10-13.el7.x86_64                                3/4
cloud-init[922]: Installing : firewalld-0.3.9-11.el7.noarch                                4/4
cloud-init[922]: Verifying  : firewalld-0.3.9-11.el7.noarch                                1/4
cloud-init[922]: Verifying  : python-slip-dbus-0.4.0-2.el7.noarch                          2/4
cloud-init[922]: Verifying  : ebtables-2.0.10-13.el7.x86_64                                3/4
cloud-init[922]: Verifying  : python-slip-0.4.0-2.el7.noarch                               4/4
cloud-init[922]: Installed:
cloud-init[922]: firewalld.noarch 0:0.3.9-11.el7
cloud-init[922]: Dependency Installed:
cloud-init[922]: ebtables.x86_64 0:2.0.10-13.el7           python-slip.noarch 0:0.4.0-2.el7
cloud-init[922]: python-slip-dbus.noarch 0:0.4.0-2.el7
cloud-init[922]: Complete!
cloud-init[922]: systemctl start firewalld
         Starting firewalld - dynamic firewall daemon...
[   37.378596] ip_tables: (C) 2000-2006 Netfilter Core Team
[   37.429522] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   37.491387] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   37.539733] Ebtables v2.0 registered
[   37.572087] Bridge firewalling registered
[[32m  OK  [0m] Started firewalld - dynamic firewall daemon.
cloud-init[922]: systemctl enable firewalld
cloud-init[922]: firewall-cmd --permanent --add-port=3306/tcp
[   40.564139] Adjusting kvm-clock more than 11% (9437184 vs 9311354)
cloud-init[922]: ERROR:dbus.proxies:Introspect error on :1.6:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
         Starting Authorization Manager...
[[32m  OK  [0m] Started Authorization Manager.
[[32m  OK  [0m] Created slice user-0.slice.
         Starting Cleanup of Temporary Directories...
[[32m  OK  [0m] Started Cleanup of Temporary Directories.
===>web-server log
cloud-init[728]: Cloud-init v. 0.7.5 running 'init' at Tue, 02 Jun 2015 16:01:42 +0000. Up 12.17 seconds.
cloud-init[728]: ci-info: +++++++++++++++++++++++++Net device info++++++++++++++++++++++++++
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: | Device |  Up  |  Address   |      Mask     |     Hw-Address    |
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: |  lo:   | True | 127.0.0.1  |   255.0.0.0   |         .         |
cloud-init[728]: ci-info: | eth0:  | True | 20.0.0.172 | 255.255.255.0 | fa:16:3e:61:e9:0e |
cloud-init[728]: ci-info: +--------+------+------------+---------------+-------------------+
cloud-init[728]: ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
cloud-init[728]: ci-info: | Route | Destination | Gateway  |    Genmask    | Interface | Flags |
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
cloud-init[728]: ci-info: |   0   |   0.0.0.0   | 20.0.0.1 |    0.0.0.0    |    eth0   |   UG  |
cloud-init[728]: ci-info: |   1   |   20.0.0.0  | 0.0.0.0  | 255.255.255.0 |    eth0   |   U   |
cloud-init[728]: ci-info: +-------+-------------+----------+---------------+-----------+-------+

CentOS Linux 7 (Core)
Kernel 3.10.0-229.el7.x86_64 on an x86_64

host-20-0-0-172 login: cloud-init[901]: Cloud-init v. 0.7.5 running 'modules:config' at Tue, 02 Jun 2015 16:01:47 +0000. Up 16.92 seconds.
cloud-init[922]: Cloud-init v. 0.7.5 running 'modules:final' at Tue, 02 Jun 2015 16:01:47 +0000. Up 17.53 seconds.
cloud-init[922]: #!/bin/bash -v
cloud-init[922]: cat << EOF > /etc/resolv.conf
cloud-init[922]: nameserver 8.8.8.8
cloud-init[922]: EOF
cloud-init[922]: yum -y install firewalld
cloud-init[922]: systemctl start firewalld
cloud-init[922]: systemctl enable firewalld
cloud-init[922]: firewall-cmd --permanent --add-port=3306/tcp
cloud-init[922]: firewall-cmd --permanent --add-port=80/tcp
cloud-init[922]: firewall-cmd --permanent --add-port=443/tcp
cloud-init[922]: firewall-cmd --reload
cloud-init[922]: cat << EOF >> /etc/yum.repos.d/rhel.repo
cloud-init[922]: [rhel-7-server-rpms]
cloud-init[922]: name=rhel-7-server-rpms
cloud-init[922]: baseurl=http://172.16.0.129:81/repos/rhel-7-server-rpms
cloud-init[922]: gpgcheck=0
cloud-init[922]: enabled=1
cloud-init[922]: [wordpress]
cloud-init[922]: name=wordpress
cloud-init[922]: baseurl=http://192.168.5.105:80/repos/wordpress
cloud-init[922]: gpgcheck=0
cloud-init[922]: enabled=1
cloud-init[922]: EOF
cloud-init[922]: yum -y install httpd wordpress
cloud-init[922]: Loaded plugins: fastestmirror
cloud-init[922]: Determining fastest mirrors
cloud-init[922]: * base: centos.crazyfrogs.org
cloud-init[922]: * extras: centos.crazyfrogs.org
cloud-init[922]: * updates: centos.crazyfrogs.org
cloud-init[922]: No package wordpress available.
cloud-init[922]: Resolving Dependencies
cloud-init[922]: --> Running transaction check
cloud-init[922]: ---> Package httpd.x86_64 0:2.4.6-31.el7.centos will be installed
cloud-init[922]: --> Processing Dependency: httpd-tools = 2.4.6-31.el7.centos for package: httpd-2.4.6-31.el7.centos.x86_64
cloud-init[922]: --> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-31.el7.centos.x86_64
cloud-init[922]: --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-31.el7.centos.x86_64
cloud-init[922]: --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-31.el7.centos.x86_64
cloud-init[922]: --> Running transaction check
cloud-init[922]: ---> Package apr.x86_64 0:1.4.8-3.el7 will be installed
cloud-init[922]: ---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
cloud-init[922]: ---> Package httpd-tools.x86_64 0:2.4.6-31.el7.centos will be installed
cloud-init[922]: ---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
cloud-init[922]: --> Finished Dependency Resolution
cloud-init[922]: Dependencies Resolved
cloud-init[922]: ================================================================================
cloud-init[922]: Package            Arch          Version                     Repository   Size
cloud-init[922]: ================================================================================
cloud-init[922]: Installing:
cloud-init[922]: httpd              x86_64        2.4.6-31.el7.centos         base        2.7 M
cloud-init[922]: Installing for dependencies:
cloud-init[922]: apr                x86_64        1.4.8-3.el7                 base        103 k
cloud-init[922]: apr-util           x86_64        1.5.2-6.el7                 base         92 k
cloud-init[922]: httpd-tools        x86_64        2.4.6-31.el7.centos         base         79 k
cloud-init[922]: mailcap            noarch        2.1.41-2.el7                base         31 k
cloud-init[922]: Transaction Summary
cloud-init[922]: ================================================================================
cloud-init[922]: Install  1 Package (+4 Dependent packages)
cloud-init[922]: Total download size: 3.0 M
cloud-init[922]: Installed size: 10 M
cloud-init[922]: Downloading packages:
cloud-init[922]: warning: /var/cache/yum/x86_64/7/base/packages/apr-1.4.8-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
cloud-init[922]: Public key for apr-1.4.8-3.el7.x86_64.rpm is not installed
cloud-init[922]: --------------------------------------------------------------------------------
cloud-init[922]: Total                                              949 kB/s | 3.0 MB  00:03
cloud-init[922]: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cloud-init[922]: Importing GPG key 0xF4A80EB5:
cloud-init[922]: Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
cloud-init[922]: Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
cloud-init[922]: Package    : centos-release-7-1.1503.el7.centos.2.7.x86_64 (installed)
cloud-init[922]: From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cloud-init[922]: Running transaction check
cloud-init[922]: Running transaction test
cloud-init[922]: Transaction test succeeded
cloud-init[922]: Running transaction
cloud-init[922]: Installing : apr-1.4.8-3.el7.x86_64                                       1/5
cloud-init[922]: Installing : apr-util-1.5.2-6.el7.x86_64                                  2/5
cloud-init[922]: Installing : httpd-tools-2.4.6-31.el7.centos.x86_64                       3/5
cloud-init[922]: Installing : mailcap-2.1.41-2.el7.noarch                                  4/5
cloud-init[922]: Installing : httpd-2.4.6-31.el7.centos.x86_64                             5/5
cloud-init[922]: Verifying  : httpd-tools-2.4.6-31.el7.centos.x86_64                       1/5
cloud-init[922]: Verifying  : apr-1.4.8-3.el7.x86_64                                       2/5
cloud-init[922]: Verifying  : mailcap-2.1.41-2.el7.noarch                                  3/5
cloud-init[922]: Verifying  : httpd-2.4.6-31.el7.centos.x86_64                             4/5
cloud-init[922]: Verifying  : apr-util-1.5.2-6.el7.x86_64                                  5/5
cloud-init[922]: Installed:
cloud-init[922]: httpd.x86_64 0:2.4.6-31.el7.centos
cloud-init[922]: Dependency Installed:
cloud-init[922]: apr.x86_64 0:1.4.8-3.el7                     apr-util.x86_64 0:1.5.2-6.el7
cloud-init[922]: httpd-tools.x86_64 0:2.4.6-31.el7.centos     mailcap.noarch 0:2.1.41-2.el7
cloud-init[922]: Complete!
cloud-init[922]: systemctl start httpd.service
         Starting The Apache HTTP Server...
[[32m  OK  [0m] Started The Apache HTTP Server.
cloud-init[922]: systemctl enable httpd.service
cloud-init[922]: ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
cloud-init[922]: setsebool -P httpd_can_network_connect_db=1
cloud-init[922]: sed -i "/Deny from All/d" /etc/httpd/conf.d/wordpress.conf
cloud-init[922]: sed: can't read /etc/httpd/conf.d/wordpress.conf: No such file or directory
cloud-init[922]: sed -i "s/Require local/Require all granted/" /etc/httpd/conf.d/wordpress.conf
cloud-init[922]: sed: can't read /etc/httpd/conf.d/wordpress.conf: No such file or directory
cloud-init[922]: sed -i s/database_name_here/wordpress/ /etc/wordpress/wp-config.php
cloud-init[922]: sed: can't read /etc/wordpress/wp-config.php: No such file or directory
cloud-init[922]: sed -i s/username_here/wordpress/ /etc/wordpress/wp-config.php
cloud-init[922]: sed: can't read /etc/wordpress/wp-config.php: No such file or directory
cloud-init[922]: sed -i s/password_here/GJM76RbvIje4C7eh2aOdlQQedqvxjBH2/ /etc/wordpress/wp-config.php
cloud-init[922]: sed: can't read /etc/wordpress/wp-config.php: No such file or directory
cloud-init[922]: sed -i s/localhost/20.0.0.68/ /etc/wordpress/wp-config.php
cloud-init[922]: sed: can't read /etc/wordpress/wp-config.php: No such file or directory
cloud-init[922]: systemctl restart httpd.service
         Stopping The Apache HTTP Server...
[[32m  OK  [0m] Stopped The Apache HTTP Server.
         Starting The Apache HTTP Server...
[[32m  OK  [0m] Started The Apache HTTP Server.
ci-info: ++++++++++Authorized keys from /home/centos/.ssh/authorized_keys for user centos+++++++++++
ci-info: +---------+-------------------------------------------------+---------+-------------------+
ci-info: | Keytype |                Fingerprint (md5)                | Options |      Comment      |
ci-info: +---------+-------------------------------------------------+---------+-------------------+
ci-info: | ssh-rsa | 2d:b8:76:2f:ab:f5:f1:72:f8:75:46:00:f9:d3:24:60 |    -    | Generated-by-Nova |
ci-info: +---------+-------------------------------------------------+---------+-------------------+
ec2: 
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 256 88:ab:b1:ac:08:d9:70:41:f2:04:14:a3:1a:4d:02:fe   (ECDSA)
ec2: 256 0e:3e:9b:d5:4b:cb:c9:78:c7:99:a4:bf:05:0d:7a:a8   (ED25519)
ec2: 2048 f2:f8:e5:70:d1:f4:f0:57:ea:9c:d1:75:f3:75:17:22   (RSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCXquFpCyVkwLlWJ81GozEjViYP41EELARbVt5ISfsRCDNGk31bsGmgy7ecjg7g1LRtTxTs0OWJ3Hy2fZhio1KQ= 
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICORDKYmglupDLdv8Cj5ut14BpD65Grm8p0SQDifMans 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTQjdbT8OCAnmV5bbO/llks+2E26pajgS9ZortTLKOGQp9KmYMIq9CXjUWQjmn+vlFMPkyMk4DG9K/XDX3WRXgErNUpIsmJPUMOnoyxz4U+dYCOSm7pUfoyQphvqxGzkzC/UMwHYcakSpUssLUY85ZcoIz9HmaNTkiiHoJe/ezvjVrAAAcOViYL2qcOATf7MfNqkyqJlk65O7k5pf3+RFh9ta1rijubzaHfBZxKiQfVeJV61vwmF6tBONDOlC/BVSI+k/zg0Evsn+5uKPlhsoeB5uSr1DxTSdBYn3yrHcqceEtgh2uiwhS7prvU911KfRjkf+PwGvtDg9iLlAuJioV 
-----END SSH HOST KEY KEYS-----
cloud-init[922]: Cloud-init v. 0.7.5 finished at Tue, 02 Jun 2015 16:02:31 +0000. Datasource DataSourceOpenStack [net,ver=2].  Up 60.92 seconds
[[32m  OK  [0m] Started Execute cloud user/final scripts.
[[32m  OK  [0m] Reached target Multi-User System.