为格兰仕操作员提供的工具,用于验证诊断其格兰仕服务的运行状况。
glance-check的Python项目详细描述
浏览检查
为格兰仕操作员验证 对他们的扫视服务进行健康诊断。
- 用法:glance check[-h][-connection][-createimage][-getimage]
- [-更新图像][-全部][-testimageid testimageid] [-configfile配置文件][-envvar]
- 可选参数:
-h, --help show this help message and exit --connection, -c Checks if a connection to glance can be established --createimage, -i Checks if an image can be created --getimage, -g Checks if an image can be retrieved --updateimage, -u Checks if image details can be updated --all, -a Runs all checks (except create image) --testimageid TESTIMAGEID, -t TESTIMAGEID Overrides the default test image id --configfile CONFIGFILE, -C CONFIGFILE Specify a configuration file --envvar, -e Use environment variable configurationverrides the default test image id
如果使用环境变量配置,则必须设置以下环境变量:
操作系统身份验证URL密钥存储API URL os_tenant_name密钥存储区租户名称 操作系统用户名keystone用户名 操作系统密码密钥库密码