[Openstack] Error while launching instance | unexpected error ['NoneType' object has no attribute 'status_code']
Tomas Vondra
vondra at czech-itc.cz
Tue Feb 16 09:21:59 UTC 2016
John Depp <newcreekmanor at ...> writes:
>
> Hello Team,While trying to spawn a new CentOS instance on openstack, the
following error is being logged :url_helper.py[WARNING]: Calling
'http://169.254.169.254/2009-04-04/meta-data/instance-id ' failed [0/120s]:
unexpected error ['NoneType' object has no attribute 'status_code']and then
:DataSourceEc2.py[CRITICAL]: Giving up on md from
['http://169.254.169.254/2009-04-04/meta-data/instance-id '] after 126
secondsAfter
> some time, when the DataSourceEc2.py error, the instance can be
> connected to, but before that no services are being launched and hence
> connection couldn't be established for some considerable time after
> spawning a new instance.Kindly suggest remedial steps to rectify the
same.Thank you.
>
Hi!
Have you tried to call the metadata service manually after you log in to an
instance using curl? Do other images work? Do you have
metadata_proxy_shared_secret set to the same value in nova.conf on all
nodes? And also in neutron/metadata_agent.ini.
Tomas
More information about the Openstack
mailing list