11. 환경설정이 완료되면, nova-manage api_db sync 명령어를 이용해 nova-api용 데이터베이스에 테이블을 생성합니다. 그리고 Nova 데이터베이스에도 테이블을 생성합니다. 이때 경고 메시지가 표시되면 무시합니다.
[root@controller ~]# su -s /bin/sh -c “nova-manage api_db sync” nova [root@controller ~]# [root@controller ~]# su -s /bin/sh -c “nova-manage db sync” nova /usr/lib/python2.7/site-packages/pymysql/cursors.py:146: Warning: Duplicate index ‘block_device_mapping_instance_uuid_virtual_name_device_name_idx’ defined on the table ‘nova.block_device_mapping’. This is deprecated and will be disallowed in a future release. result = self._query(query) /usr/lib/python2.7/site-packages/pymysql/cursors.py:146: Warning: Duplicate index ‘uniq_instances0uuid’ defined on the table ‘nova.instances’. This is deprecated and will be disallowed in a future release. result = self._query(query)