error (403): 403 Forbidden on using euca2ools against openstack

╄→гoц情女王★ 提交于 2019-12-13 21:15:49

问题


I want to use ecua2ools against openstack nova service and AWS EC2. I have managed to get it working for AWS. I am trying to do the same for openstack.

I installed devstack from here. But, I couldn't see EC2 API on horizon. So, I installed back using this. Now, I could see the EC2 API option. I downloaded the EC2 credentials.

Then, I created /etc/euca2ools/euca2ools.ini file and I had the following contents inside.

[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: error (403): 403 Forbidden

Timestamp failed validation.

I am not sure where do I check more logs for it.


回答1:


You most likely have a time difference between your server and the workstation. Use NTP to keep the clocks synchronised.



来源:https://stackoverflow.com/questions/35958235/error-403-403-forbidden-on-using-euca2ools-against-openstack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!