首页 > 代码库 > openstack-glance
openstack-glance
1.glance 功能
对外提供image的管理功能
2.glance架构
api : REST API,提供对外调用接口
registry: 数据库管理逻辑处理
backen:image的实际存放位置
3.config: /etc/glance/
4.log:/var/log/glance
5.数据库:
mysql
use glance;
show tables;
MariaDB [(none)]> use glance;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [glance]> show tables
-> ;
+----------------------------------+
| Tables_in_glance |
+----------------------------------+
| artifact_blob_locations |
| artifact_blobs |
| artifact_dependencies |
| artifact_properties |
| artifact_tags |
| artifacts |
| image_locations |
| image_members |
| image_properties |
| image_tags |
| images |
| metadef_namespace_resource_types |
| metadef_namespaces |
| metadef_objects |
| metadef_properties |
| metadef_resource_types |
| metadef_tags |
| migrate_version |
| task_info |
| tasks |
+----------------------------------+
6.backend配置:
7image location: /var/lib/glance/images (configured in /etc/glance/glance-api.log)
openstack-glance