How to check the Glance storage location and remaining size?

Solution In Progress - Updated -

Issue

  • We are trying to determine the available space on the glane sotrage, but we have difficulties to allocate it. Could you help here please? The glance-api config as following:
[DEFAULT]
enable_v1_api=False
enable_v2_api=True
bind_host=192.168.0.1
bind_port=9292
workers=12
image_cache_dir=/var/lib/glance/image-cache
registry_host=192.168.0.1
debug=True
log_file=/var/log/glance/api.log
log_dir=/var/log/glance
[cors]
[database]
connection=mysql+pymysql://glance:103eec80ef7ecc76e7ff44385ace4e5a7e0e5397@192.168.0.1/glance
[glance_store]
stores=glance.store.filesystem.Store,glance.store.swift.Store
default_store=swift
swift_store_endpoint_type=internalURL
swift_store_create_container_on_put=True
default_swift_reference=ref1
swift_store_config_file=/etc/glance/glance-swift.conf
os_region_name=RegionOne
[image_format]
[keystone_authtoken]
auth_uri=http://192.168.0.1:5000/v3
auth_type=password
auth_url=http://192.168.0.1:35357
username=glance
password=103eec80ef7ecc76e7ff44385ace4e5a7e0e5397
user_domain_name=Default
project_name=service
project_domain_name=Default
[matchmaker_redis]
[oslo_concurrency]
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
rabbit_host=192.168.0.1
rabbit_userid=d533172dd6353362a56c43856748498eef3b891b
rabbit_password=304bb670fabd900f552df45457fc819011a331af
[oslo_messaging_zmq]
[oslo_middleware]
enable_proxy_headers_parsing=False
[oslo_policy]
policy_file=/etc/glance/policy.json
[paste_deploy]
flavor=keystone
[profiler]
[store_type_location_strategy]
[task]
[taskflow_executor]

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content