Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
There is a new error in fixing bug 1467391. The file is malformed and is failed to load in the latest "RHEL-7.7_HVM_GA-20190716-x86_64-0-Hourly2-GP2" AMI.
The following is the error log:
2019-08-07 14:33:27,259 - handlers.py[DEBUG]: finish: init-local/search-Ec2Local: SUCCESS: found local data from DataSourceEc2Local
2019-08-07 14:33:27,259 - stages.py[INFO]: Loaded datasource DataSourceEc2Local - DataSourceEc2Local
2019-08-07 14:33:27,260 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-08-07 14:33:27,260 - util.py[DEBUG]: Read 1236 bytes from /etc/cloud/cloud.cfg
2019-08-07 14:33:27,260 - util.py[DEBUG]: Attempting to load yaml from string of length 1236 with allowed root types (<type 'dict'>,)
2019-08-07 14:33:27,269 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/99-datasource.cfg (quiet=False)
2019-08-07 14:33:27,269 - util.py[DEBUG]: Read 59 bytes from /etc/cloud/cloud.cfg.d/99-datasource.cfg
2019-08-07 14:33:27,269 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<type 'dict'>,)
2019-08-07 14:33:27,270 - util.py[WARNING]: Failed loading yaml blob. Invalid format at line 1 column 1: "while parsing a block mapping
in "<string>", line 1, column 1:
'datasource_list': [
^
expected <block end>, but found ','
in "<string>", line 4, column 6:
],
^"
2019-08-07 14:33:27,270 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-08-07 14:33:27,270 - util.py[DEBUG]: Read 1821 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-08-07 14:33:27,270 - util.py[DEBUG]: Attempting to load yaml from string of length 1821 with allowed root types (<type 'dict'>,)
2019-08-07 14:33:27,277 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False)
2019-08-07 14:33:27,277 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-08-07 14:33:27,278 - util.py[DEBUG]: loaded blob returned None, returning default.
2019-08-07 14:33:27,279 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-08-07 14:33:27,280 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance
[root@ip-10-22-2-4 log]# rpm -qa|grep cloud-init
cloud-init-18.5-3.el7.x86_64
Version-Release number of selected component (if applicable):
kernel-3.10.0-1062.el7.x86_64
How reproducible:
Steps to Reproduce:
1. start a instance using RHEL7.7 GA AMI.
2. check "/var/log/cloud-init.log"
Actual results:
99-datasource.cfg is failed to load
Expected results:
No such error.
Additional info:
- N/A
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:1033