Comments (4)
@fzerorubigd thanks for bringing this to my attention. Did you mean a xen container? As in http://www.xenproject.org/.
from jobs.
@albrow Sorry :)))) yes. it is xen.
from jobs.
@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.
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).
from jobs.
Related Issues (20)
- Use go generate to convert lua script files to strings HOT 4
- Use an interface for jobs instead of a non-type-safe handler function (would break backwards-compatibility) HOT 4
- Support redis sentinel HOT 6
- Export job.freq HOT 4
- Reschedule with freq HOT 2
- FindById() doesn't return error for missing jobs HOT 7
- Add a changelog HOT 2
- Job runtime error messages should include a stack trace
- Error when calling Destroy() from within a job handler function HOT 8
- job not exec with panic HOT 8
- FindById and job identifiers/human names HOT 6
- Examples?
- Passing params / string name of job. HOT 2
- Endless loop? HOT 6
- Error Handling? HOT 5
- Application can't start due to error which message is 'jobs: In scanJob: Could not find Type with name = %s' HOT 1
- super slow HOT 1
- Support environmental prefix
- Job status is changed to executing but job has not started execution
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jobs.