Skip to content

Circular dependency issue #2269

@ansidev

Description

@ansidev

This is the error in my boot log:

sudo journalctl -b -p 3
<date> <time> <host-name> systemd[1]: multi-user.target: Job nodeadm-run.service/start deleted to break ordering cycle starting with multi-user.target/start

After the investigation, I found that there is a circular dependency issue:

After=nodeadm-config.service cloud-final.service

https://github.com/canonical/cloud-init/blob/c3848d5747f0d1342ea703b6838e1c568c776d9a/systemd/cloud-final.service#L5

After=multi-user.target

multi-user.target wants nodeadm-run.service but:

  • nodeadm-run.service must run after cloud-final.service.
  • cloud-final.service must run after multi-user.target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions