Bug 1300410
Summary: | Cloud-init not running scripts on launching CFME instance | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | luke couzens <lcouzens> | |
Component: | Appliance | Assignee: | Joe Vlcek <jvlcek> | |
Status: | CLOSED ERRATA | QA Contact: | luke couzens <lcouzens> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.5.0 | CC: | abellott, cpelland, jhardy, jprause, lcouzens, mfeifer, obarenbo | |
Target Milestone: | GA | Keywords: | ZStream | |
Target Release: | 5.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1305560 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-29 15:31:50 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1305560 |
Description
luke couzens
2016-01-20 17:26:03 UTC
Assigning to add test case An update: The Problem Description: ------------------------ This particular issue has multiple root problems. The main issue is that the metadata-service, available at http://169.254.169.254 is not reachable because a bogus route is being added to the routing table by an OS networking script: /etc/sysconfig/network-scripts/ifup-eth Configuration for the ifup-eth script can be maintained in file: /etc/sysconfig/network On Fedora the /etc/sysconfig/network file contains: NETWORKING=yes NOZEROCONF=yes DEVTIMEOUT=10 On the CFME appliance the /etc/sysconfig/network file contains: HOSTNAME=localhost.localdomain # Created by anaconda The solution: ------------- I am not sure what the best way to populate this /etc/sysconfig/network file is yet. We could do it when constructing the CMFE appliance but it may be possible to pass configuration from the RHOS controller to launching instances. At least now that I fully understand the problem I will be able to determine the best solution soon. Luke, Can you please confirm if this issue is also encountered on Ec2? Thank you JoeV Luke, Please ignore my last comment regarding testing on Ec2. JoeV New commit detected on ManageIQ/manageiq-appliance-build/master: https://github.com/ManageIQ/manageiq-appliance-build/commit/36fba00a9325ef6dc814042248a553562c99f323 commit 36fba00a9325ef6dc814042248a553562c99f323 Author: Joe VLcek <jvlcek> AuthorDate: Tue Feb 2 11:46:57 2016 -0500 Commit: Joe VLcek <jvlcek> CommitDate: Tue Feb 2 12:15:33 2016 -0500 Disable zeroconfig to allow access to meta-data service by cloud-init https://bugzilla.redhat.com/show_bug.cgi?id=1300410 kickstarts/base.ks.erb | 6 ++++++ 1 file changed, 6 insertions(+) New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=abbaae313d0d41cfb0723b49633aa3dc428cc99c commit abbaae313d0d41cfb0723b49633aa3dc428cc99c Merge: 40ca4d5 155fbd2 Author: Joe Rafaniello <jrafanie> AuthorDate: Thu Feb 11 14:32:51 2016 -0500 Commit: Joe Rafaniello <jrafanie> CommitDate: Thu Feb 11 14:32:51 2016 -0500 Merge branch 'bz_1300410' into 'master' Disable zeroconfig to allow access to meta-data service by cloud-init https://bugzilla.redhat.com/show_bug.cgi?id=1300410 https://github.com/ManageIQ/manageiq-appliance-build/pull/85 See merge request !179 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 6 ++++++ 1 file changed, 6 insertions(+) New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=155fbd20adf816e81066d30f3717979a46f68459 commit 155fbd20adf816e81066d30f3717979a46f68459 Author: Joe VLcek <jvlcek> AuthorDate: Mon Feb 8 16:55:25 2016 -0500 Commit: Joe VLcek <jvlcek> CommitDate: Mon Feb 8 16:55:25 2016 -0500 Disable zeroconfig to allow access to meta-data service by cloud-init https://bugzilla.redhat.com/show_bug.cgi?id=1300410 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 6 ++++++ 1 file changed, 6 insertions(+) Verified in 5.6.0.4-beta2.3 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-2016:1348 |