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.
Bug 1420946 - cloud-init conflicts with os-collect-config in a TripleO image
Summary: cloud-init conflicts with os-collect-config in a TripleO image
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-init
Version: 7.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Lars Kellogg-Stedman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1336504
TreeView+ depends on / blocked
 
Reported: 2017-02-09 23:13 UTC by Juan Antonio Osorio
Modified: 2022-12-20 10:00 UTC (History)
12 users (show)

Fixed In Version: 0.7.9-3
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1408589
Environment:
Last Closed: 2017-04-06 21:58:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Juan Antonio Osorio 2017-02-09 23:13:48 UTC
When updating a TripleO CentOS image with the latest cloud-init, the overcloud deploy fails.

This shows up in the form of the not being able to execute any SoftwareConfig in the overcloud nodes (getting those parts of the stack to just stall).

The logs show that the both crond and os-collect-config where unable to start due to a cycle in the systemd service file:

Feb 09 18:14:00 localhost.localdomain systemd[1]: microcode.service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 09 18:14:00 localhost.localdomain systemd[1]: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument.
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found ordering cycle on multi-user.target/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on crond.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on os-collect-config.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on cloud-final.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on multi-user.target/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Breaking ordering cycle by deleting job crond.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Job crond.service/start deleted to break ordering cycle starting with multi-user.target/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found ordering cycle on multi-user.target/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on os-collect-config.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on cloud-final.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Found dependency on multi-user.target/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Breaking ordering cycle by deleting job os-collect-config.service/start
Feb 09 18:14:00 localhost.localdomain systemd[1]: Job os-collect-config.service/start deleted to break ordering cycle starting with multi-user.target/start
 

Last time we reproduced this error, we tried with: cloud-init-0.7.9-2.el7.x86_64

And it seems that 0.7.9-* fails.

We got it to work with: 0.7.6-9

Comment 2 Lars Kellogg-Stedman 2017-03-07 20:04:24 UTC
There is a scratch build available here that should resolve this problem:

  https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12706804

It would be great if you could test that out and confirm that it works. Thanks!

Comment 3 Lars Kellogg-Stedman 2017-03-07 21:02:23 UTC
For QE: To verify this fix:

Boot a system with both os-collect-config and cloud-init-0.7.9-3 installed.  Examine the output of "journalctl -b -u multi-user.target" and verify that there are no messages of the form:

    Found ordering cycle on multi-user.target/start

Comment 4 Rob Crittenden 2017-03-13 22:04:25 UTC
Scratch build works for me.

Comment 5 Lars Kellogg-Stedman 2017-03-14 21:18:20 UTC
Thanks!

Comment 6 Juan Antonio Osorio 2017-03-27 11:16:01 UTC
worked for me.


Note You need to log in before you can comment on or make changes to this bug.