Bug 1994804
Summary: | Long delay with AWS systems becoming available | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | David Valin <dvalin> | ||||
Component: | cloud-init | Assignee: | sushil kulkarni <sukulkar> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | --- | CC: | Aaron.Boudreaux, ailan, huzhao, jgreguske, linl, mhayden, ribarry, virt-bugs, xiachen, xiliang, yacao | ||||
Target Milestone: | beta | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-08-18 12:52:02 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Valin
2021-08-17 20:56:25 UTC
*** This bug has been marked as a duplicate of bug 1862930 *** bug 1862930 is a internal bug that I cannot view the status on. Is there any status on the resolution of it or any work arounds mentioned? We are still experiencing this issue with rhel 8.5. (In reply to aboudr01 from comment #9) > bug 1862930 is a internal bug that I cannot view the status on. Is there any > status on the resolution of it or any work arounds mentioned? We are still > experiencing this issue with rhel 8.5. Are you using the images built by your self or created from running instances? Does it appear only in your first launch? If yes, please try to cleanup below file before uploading your own image or creating from running instance. #truncate -s 0 /etc/resolv.conf We are using a redhat provided 8.3 AMI in the c2s region which points to a yum repo updated with 8.5 rpms. It appears to only be a problem with the first boot. After stopping and starting the instance, when I run cloud-init analyze blame the first boot record shows -- Boot Record 01 -- 51.03100s (init-local/search-Ec2Local) and the second -- Boot Record 02 -- 00.65400s (init-local/search-Ec2Local) We are also creating our own images, starting from the redhat provided one, which are also having the issue. I will try the suggested work around of clearing resolv.conf to see if it resolves the issue for our own images. I have confirmed that clearing /etc/resolv.conf before making an image resolves the problem. Thanks, Aaron (In reply to aboudr01 from comment #12) > I have confirmed that clearing /etc/resolv.conf before making an image > resolves the problem. > > Thanks, > Aaron Thanks for your confirmation, we are working on writing an article about this topic. We are now using rhel 8.7 with NetworkManager, and clearing the /etc/resolv.conf with `truncate -s 0 /etc/resolv.conf` before AMI creation is no longer resolving the issue because the /etc/resolv.conf gets repopulated between the time of clearing the file and shutting down the instance in order to create the AMI. Is there a fix that can be made that does not require needing /etc/resolv.conf to be clear? I suspect NetworkManager is reconfiguring the file; is there a recommended strategy for preparing a host for AMI creation? |