0

我已经删除了我以前的凭据,然后又删除了在获得新凭据时它说:Unable to load AWS_CREDENTIAL_FILE

[root@server-104 ~]# rm ~/creds/*
rm: remove regular file `/root/creds/admin.zip'? yes
rm: remove regular file `/root/creds/cloud-cert.pem'? yes
rm: remove regular file `/root/creds/euca2-admin-7d0b1e85-cert.pem'? yes
rm: remove regular file `/root/creds/euca2-admin-7d0b1e85-pk.pem'? yes
rm: remove regular file `/root/creds/eucarc'? yes
rm: remove regular file `/root/creds/iamrc'? yes
rm: remove regular file `/root/creds/jssecacerts'? yes
rm: remove regular empty file `/root/creds/sshlogin'? yes
[root@server-104 ~]# cd ~/creds/
[root@server-104 creds]# euca-get-credentials admin.zip
/usr/lib/python2.6/site-packages/boto/pyami/config.py:75: UserWarning: Unable to load AWS_CREDENTIAL_FILE (/root/creds/iamrc)
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
4

1 回答 1

1

它仍应下载凭据。

但为了将来参考,在下载新的管理员凭据之前,请尝试重新登录会话或取消设置所有 Eucalyptus 相关的环境变量并尝试下载凭据。

您不应再看到此警告。

于 2013-08-16T06:18:07.640 回答