text 失败的cloud-init日志

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 失败的cloud-init日志相关的知识,希望对你有一定的参考价值。

2019-05-22 21:02:12,234 - url_helper.py[DEBUG]: [0/11] open 'http://foreman.toledo.satellite.lab.eng.rdu2.redhat.com/userdata/meta-data' with {'url': 'http://foreman.toledo.satellite.lab.eng.rdu2.redhat.com/userdata/meta-data', 'headers': {'User-Agent': 'Cloud-Init/18.2'}, 'allow_redirects': True, 'method': 'GET'} configuration
2019-05-22 21:02:12,389 - handlers.py[DEBUG]: finish: init-network/search-NoCloudNet: FAIL: no network data found from DataSourceNoCloudNet
2019-05-22 21:02:12,389 - util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloudNet'> failed
2019-05-22 21:02:12,390 - util.py[DEBUG]: Getting data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloudNet'> failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 447, in find_source
    if s.get_data():
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 121, in get_data
    return_value = self._get_data()
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceNoCloud.py", line 160, in _get_data
    (md_seed, ud) = util.read_seeded(seedfrom, timeout=None)
  File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 928, in read_seeded
    md_resp = read_file_or_url(md_url, timeout, retries, file_retries)
  File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 888, in read_file_or_url
    exception_cb=exception_cb)
  File "/usr/lib/python2.7/site-packages/cloudinit/url_helper.py", line 274, in readurl
    raise excps[-1]
UrlError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)
2019-05-22 21:02:12,419 - util.py[WARNING]: No instance datasource found! Likely bad things to come!
2019-05-22 21:02:12,420 - util.py[DEBUG]: No instance datasource found! Likely bad things to come!
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 323, in main_init
    init.fetch(existing=existing)
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 349, in fetch
    return self._get_data_source(existing=existing)
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 259, in _get_data_source
    pkg_list, self.reporter)
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 455, in find_source
    raise DataSourceNotFoundException(msg)
DataSourceNotFoundException: Did not find any data source, searched classes: (DataSourceNoCloudNet)

以上是关于text 失败的cloud-init日志的主要内容,如果未能解决你的问题,请参考以下文章

text Cloud-init用户数据安装一些基本组件

cloud-init:延迟 disk_setup 和 fs_setup

ironic 注入秘钥失败

使用cloud-init初始化配置服务器环境及初始化项目,阿里云实践

查询失败时如何将 query_id 和 query_text 插入日志表

云服务器cloud-init初始化工具的使用与配置