[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-10 Thread Serge Hallyn
Thanks, if it turns out there is more that lxc could do please do reply
here or open a github issue.

Doing more in the C api woudl be tough, as we'd presumably need to
allocate memory for the error msg which the caller would need to free.

Returning more in the python API could be doable if it could control the
lxc.logfile and present the output after a failure, but since the caller
may want to set those himself it's not so simple.

Not sure what to do with the status of this bug.  If we re-title it
general failure logging improvements then it definately could be
Confirmed.  Otherwise it may be Invalid, not sure.  Either way, marking
Wishlist for now.


** Changed in: lxc (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1542438

Title:
  Python LXC api needs to be much better at error reporting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1542438/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-08 Thread Christopher Townsend
Ok, thanks, that might work.

I will have to think on how best to parse the log file for any error
messages that are only applicable to the actual LXC Python API call the
application is executing and pass these error messages back to the user
and present them in a meaningful manner.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1542438

Title:
  Python LXC api needs to be much better at error reporting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1542438/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs