简体   繁体   English

错误(403):403禁止对OpenStack使用euca2ools

[英]error (403): 403 Forbidden on using euca2ools against openstack

I want to use ecua2ools against openstack nova service and AWS EC2. 我想将ecua2ools用于openstack nova服务和AWS EC2。 I have managed to get it working for AWS. 我已经设法使其适用于AWS。 I am trying to do the same for openstack. 我正在尝试为openstack做同样的事情。

I installed devstack from here . 我从这里安装devstack。 But, I couldn't see EC2 API on horizon. 但是,我看不到EC2 API So, I installed back using this . 因此,我使用this重新安装。 Now, I could see the EC2 API option. 现在,我可以看到EC2 API选项。 I downloaded the EC2 credentials . 我下载了EC2 credentials

Then, I created /etc/euca2ools/euca2ools.ini file and I had the following contents inside. 然后,我创建了/etc/euca2ools/euca2ools.ini文件,并且内部包含以下内容。

[user mv2-dev]
key-id = df20573bf4554a369f61641b21e6c659
secret-key = 5b83c91991d141c9ac009010fc71c384

[region local]
ec2-url = http://192.168.100.103:8788/
user = mv2-dev

[global]
default-region = local

When I run this command euca-describe-images , I get the following error. 当我运行此命令euca-describe-images ,出现以下错误。

euca-describe-images: error (403): 403 Forbidden

Timestamp failed validation.

I am not sure where do I check more logs for it. 我不确定在哪里可以查看更多日志。

You most likely have a time difference between your server and the workstation. 您的服务器和工作站之间很可能存在时差。 Use NTP to keep the clocks synchronised. 使用NTP保持时钟同步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM