Panic in xen container #24
Comments
@fzerorubigd thanks for bringing this to my attention. Did you mean a xen container? As in http://www.xenproject.org/. |
@albrow Sorry :)))) yes. it is xen. |
@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? |
Thank you. yes, its enough :) On Sun, Jun 21, 2015 at 4:32 AM, Alex Browne notifications@github.com
|
I have a zen container and this is the output of
ip addr show
:This is a default container created using proxmox, and I get a panic on the getHardwareAddr.
Depending on such thing is not a good idea, why not setting the hardware id by a method? developer should take care of uniqueness in the pool .
The text was updated successfully, but these errors were encountered: