21. 환경설정이 완료되면 heat-manage db_sync 명령어를 이용해 테이블을 생성합니다.
root@controller:~# su -s /bin/sh -c “heat-manage db_sync” heat
2016-06-28 16:31:39.528 24078 INFO migrate.versioning.api [-] 27 -> 28…
2016-06-28 16:31:39.647 24078 INFO migrate.versioning.api [-] done
2016-06-28 16:31:39.648 24078 INFO migrate.versioning.api [-] 28 -> 29…
…
2016-06-28 16:31:42.184 24078 INFO migrate.versioning.api [-] done
2016-06-28 16:31:42.184 24078 INFO migrate.versioning.api [-] 69 -> 70…
2016-06-28 16:31:42.197 24078 INFO migrate.versioning.api [-] done
2016-06-28 16:31:42.197 24078 INFO migrate.versioning.api [-] 70 -> 71…
2016-06-28 16:31:42.225 24078 INFO migrate.versioning.api [-] done
22. heat-api 서비스를 재시작하고 정상적으로 실행되는지 status를 확인합니다.
root@controller:~# service heat-api restart root@controller:~# service heat-api status ● heat-api.service - Heat API Loaded: loaded (/lib/systemd/system/heat-api.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2016-06-28 16:32:34 KST; 4s ago Process: 24181 ExecStartPre=/bin/chown heat:heat /var/lock/heat /var/log/heat /var/lib/heat (code=exited, status=0/SUCCESS) Process: 24177 ExecStartPre=/bin/mkdir -p /var/lock/heat /var/log/heat /var/ lib/heat (code=exited, status=0/SUCCESS) Main PID: 24185 (heat-api) Tasks: 5 Memory: 119.1M CPU: 1.264s CGroup: /system.slice/heat-api.service ├─24185 /usr/bin/python /usr/bin/heat-api –config-file=/etc/heat/heat. conf –log-file=/var/log/heat/heat-api.log ├─24201 /usr/bin/python /usr/bin/heat-api –config-file=/etc/heat/heat. conf –log-file=/var/log/heat/heat-api.log ├─24202 /usr/bin/python /usr/bin/heat-api –config-file=/etc/heat/heat. conf –log-file=/var/log/heat/heat-api.log ├─24203 /usr/bin/python /usr/bin/heat-api –config-file=/etc/heat/heat. conf –log-file=/var/log/heat/heat-api.log