Looks my problem can be workarounded by https://ask.openstack.org/en/question/57342/spawning-new-instances-fails-to-allocate-the-network/. After updating vif_plugging_timeout=0 and vif_plugging_is_fatal=False, the VM could be created with steps (loop to update port) and able to ping and I observed that there is nothing related to that corresponding VM in compute node iptables. I also observed some error during vm's rebooting which looks separate problem.
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
2015-11-27 06:34:02,362 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/15s]: request error [[Errno 113] No route to host]
2015-11-27 06:34:05,363 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [6/15s]: request error [[Errno 113] No route to host]
2015-11-27 06:34:09,366 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [10/15s]: request error [[Errno 113] No route to host]
2015-11-27 06:34:12,367 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [13/15s]: request error [[Errno 113] No route to host]
2015-11-27 06:34:13,370 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [14/15s]: request error [[Errno 115] Operation now in progress]
2015-11-27 06:34:14,371 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 15 seconds
2015-11-27 06:34:14,371 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
Starting cloud-init: Can not apply stage config, no datasource found! Likely bad things to come!
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/cloud-init", line 315, in main_modules
init.fetch()
File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 307, in fetch
return self._get_data_source()
File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 235, in _get_data_source
pkg_list)
File "/usr/lib/python2.6/site-packages/cloudinit/sources/__init__.py", line 250, in find_source
raise DataSourceNotFoundException(msg)
DataSourceNotFoundException: Did not find any data source, searched classes: ()
------------------------------------------------------------
Starting cloud-init: Can not apply stage final, no datasource found! Likely bad things to come!
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/cloud-init", line 315, in main_modules
init.fetch()
File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 307, in fetch
return self._get_data_source()
File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 235, in _get_data_source
pkg_list)
File "/usr/lib/python2.6/site-packages/cloudinit/sources/__init__.py", line 250, in find_source
raise DataSourceNotFoundException(msg)
DataSourceNotFoundException: Did not find any data source, searched classes: ()
------------------------------------------------------------
Looks my problem can be workarounded by https:/ /ask.openstack. org/en/ question/ 57342/spawning- new-instances- fails-to- allocate- the-network/. After updating vif_plugging_ timeout= 0 and vif_plugging_ is_fatal= False, the VM could be created with steps (loop to update port) and able to ping and I observed that there is nothing related to that corresponding VM in compute node iptables. I also observed some error during vm's rebooting which looks separate problem.
ci-info: +------ -+----- ------- --+---- ------- ---+--- ------- -----+- ------- ---+--- ----+ py[WARNING] : Calling 'http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id' failed [3/15s]: request error [[Errno 113] No route to host] py[WARNING] : Calling 'http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id' failed [6/15s]: request error [[Errno 113] No route to host] py[WARNING] : Calling 'http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id' failed [10/15s]: request error [[Errno 113] No route to host] py[WARNING] : Calling 'http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id' failed [13/15s]: request error [[Errno 113] No route to host] py[WARNING] : Calling 'http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id' failed [14/15s]: request error [[Errno 115] Operation now in progress] py[CRITICAL] : Giving up on md from ['http:// 169.254. 169.254/ 2009-04- 04/meta- data/instance- id'] after 15 seconds ------- ------- ------- ------- ------- ------- ------- ---- cloud-init" , line 315, in main_modules python2. 6/site- packages/ cloudinit/ stages. py", line 307, in fetch data_source( ) python2. 6/site- packages/ cloudinit/ stages. py", line 235, in _get_data_source python2. 6/site- packages/ cloudinit/ sources/ __init_ _.py", line 250, in find_source undException( msg) undException: Did not find any data source, searched classes: () ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ---- cloud-init" , line 315, in main_modules python2. 6/site- packages/ cloudinit/ stages. py", line 307, in fetch data_source( ) python2. 6/site- packages/ cloudinit/ stages. py", line 235, in _get_data_source python2. 6/site- packages/ cloudinit/ sources/ __init_ _.py", line 250, in find_source undException( msg) undException: Did not find any data source, searched classes: () ------- ------- ------- ------- ------- ------- ------- ----
2015-11-27 06:34:02,362 - url_helper.
2015-11-27 06:34:05,363 - url_helper.
2015-11-27 06:34:09,366 - url_helper.
2015-11-27 06:34:12,367 - url_helper.
2015-11-27 06:34:13,370 - url_helper.
2015-11-27 06:34:14,371 - DataSourceEc2.
2015-11-27 06:34:14,371 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
Starting cloud-init: Can not apply stage config, no datasource found! Likely bad things to come!
-------
Traceback (most recent call last):
File "/usr/bin/
init.fetch()
File "/usr/lib/
return self._get_
File "/usr/lib/
pkg_list)
File "/usr/lib/
raise DataSourceNotFo
DataSourceNotFo
-------
Starting cloud-init: Can not apply stage final, no datasource found! Likely bad things to come!
-------
Traceback (most recent call last):
File "/usr/bin/
init.fetch()
File "/usr/lib/
return self._get_
File "/usr/lib/
pkg_list)
File "/usr/lib/
raise DataSourceNotFo
DataSourceNotFo
-------