GithubHelp home page GithubHelp logo

Panic in xen container about jobs HOT 4 OPEN

albrow avatar albrow commented on June 19, 2024
Panic in xen container

from jobs.

Comments (4)

albrow avatar albrow commented on June 19, 2024

@fzerorubigd thanks for bringing this to my attention. Did you mean a xen container? As in http://www.xenproject.org/.

from jobs.

fzerorubigd avatar fzerorubigd commented on June 19, 2024

@albrow Sorry :)))) yes. it is xen.

from jobs.

albrow avatar albrow commented on June 19, 2024

@fzerorubigd I'm surprised that xen containers don't expose a mac address, and I'm sorry that I made an incorrect assumption here. What if I add a field to PoolConfig which lets you set your own id for the pool? If not provided, jobs will still default to the mac address-based id.

Something like:

type PoolConfig struct {
    // Id is a unique identifier for the pool. If not provided, jobs will attempt
    // to generate an id based on the machine's mac address
    Id string
    // (additional fields omitted here)
}

I also will try and fix the code so it doesn't panic when the mac address isn't found. Instead it will return an error message asking you to provide your own pool id.

Could you share the full stack trace so I can track down what went wrong?

from jobs.

fzerorubigd avatar fzerorubigd commented on June 19, 2024

Thank you. yes, its enough :)

On Sun, Jun 21, 2015 at 4:32 AM, Alex Browne [email protected]
wrote:

@fzerorubigd https://github.com/fzerorubigd I'm surprised that xen
containers don't expose a mac address, and I'm sorry that I made an
incorrect assumption here. What if I add a field to PoolConfig which lets
you set your own id for the pool? If not provided, jobs will still default
to the mac address-based id.

Something like:

type PoolConfig struct {
// Id is a unique identifier for the pool. If not provided, jobs will attempt
// to generate an id based on the machine's mac address
Id string
// (additional fields omitted here)
}

I also will try and fix the code so it doesn't panic when the mac address
isn't found. Instead it will return an error message asking you to provide
your own pool id.

Could you share the full stack trace so I can track down what went wrong?


Reply to this email directly or view it on GitHub
#24 (comment).


http://fzero.rubi.gd

from jobs.

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.