Giter Site home page Giter Site logo

Comments (4)

bengal avatar bengal commented on July 22, 2024
client = NM.Client.new(None)

creates a new client object by connecting to NM via D-Bus. The error "Could not connect" comes from Glib gsocketclient.c and indicates that the connection to a socket failed so perhaps the unix socket for the system bus in /run/dbus is missing.

from leapp-repository.

bocekm avatar bocekm commented on July 22, 2024

@bengal, do you think try/catch block and handling this error gracefully could suffice? Or you think that this error may indicate a more serious issue?

from leapp-repository.

bengal avatar bengal commented on July 22, 2024

As far as I remember, the actor is supposed to be run after NM (which depends on D-Bus) and so it seems unexpected that the D-Bus socket is missing at that point. In my opinion this indicates a more serious issue.

from leapp-repository.

pirat89 avatar pirat89 commented on July 22, 2024

For the record, in the past we added service dependencies to ensure the leapp will be processed after network is up, but it looks that it is still processed to early maybe? If it is the issue, retry could help here. If not, ...

Here is the unit file: https://github.com/oamg/leapp-repository/blob/master/repos/system_upgrade/el7toel8/actors/createresumeservice/files/leapp_resume.service

from leapp-repository.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.