0

我的命令:

$ glance --os-auth-token --os-image-url http://google.com:9292 image-create --name cirros-0.3.1-x86_64-uec-kernel --public --container-format aki --disk-format aki

输出:

Usage: 
glance [--version] [-d] [-v] [-k] [--cert-file CERT_FILE] [--key-file KEY_FILE] [--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT] [--timeout TIMEOUT] [--no-ssl-compression]
glance: error: argument --os-auth-token: expected one argument
4

2 回答 2

0

您需要具有 Glance-api RESTful API 的有效身份验证令牌。

您可以从 keystone 获取该令牌,或保持 os_username、os_password、os_auth_url 和tenant_name 环境变量设置。

于 2013-08-01T02:24:06.050 回答
-1

This is because you're trying to run openstack in your VM that only have RAM 1G or less.

So your MySQL cannot authorize your call simply edit your /etc/mysql/my.cnf add this line under:

[myqsld]
innodb_additional_mem_pool_size = 8M
innodb_buffer_pool_size = 8M

Or please upgrade your RAM so your openstack can run smooth.

于 2015-03-25T18:30:35.813 回答