Skip to content

Offline deployment does not work if repos have never been synced #63

@AdamWill

Description

@AdamWill

This is kind of a dnf problem, I guess, but I suspect dnf would just say 'don't do that', so.

If you install Fedora Server (24, but I don't think it matters) without any repository connection, ensuring to install the necessary packages (@freeipa-server), then on the installed system try to do rolectl deploy domaincontroller/some.domain, it fails because dnf fails: dnf fails with Error: Failed to synchronize cache for repo 'somerepo' and rolekit is set to die in that case. It seems dnf will always try to refresh the metadata, even if you're just telling it to install some packages that are already installed.

I hit this because I'm working on openQA FreeIPA testing and so far I haven't figured out the masquerading to give the openvswitch network access to the outside world (so the server and client test boxes can see each other and the host, but they can't see anything else)...but it seems like a genuine case to consider.

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