上传镜像报错

openstack-Mitaka  Glance上传镜像报错_memcached

查看日志
tail /var/log/glance/api.log
tail /var/log/glance/registry.log
查看2个服务的日志,哪个错了就对相应的配置文件进行修改
注意: [keystone_authtoken] [paste_deploy] [glance_store] 这三个地方

[keystone_authtoken]

auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = 000000

[paste_deploy]

flavor = keystone

glance-api.conf[glance_store] 部分

stores = file,http
default_store = file
filesystem_store_datadir = /var/lib/glance/images/

请一定注意这2个配置文件的相关部分