Re: [openstack-dev] [nova] [libvirt] Debugging blockRebase() - "active block copy not ready for pivot"

2016-10-06 Thread Eric Blake
On 10/06/2016 07:58 AM, Kashyap Chamarthy wrote: > On Thu, Oct 06, 2016 at 01:32:39AM +0200, Kashyap Chamarthy wrote: >> TL;DR >> - >> >> From the debug analysis of the log below, and discussion with Eric Blake >> of upstream QEMU / libvirt resulted in th

Re: [openstack-dev] [nova] Unvalidated user input passed to functions

2015-05-15 Thread Eric Blake
the chains that libvirt is aware of, it cannot know if there are additional restrictions that should be in place at the upper level (such as whether a user is entitled to access the storage locations referenced in the strings, according to nova rules). -- Eric Blake eblake redhat com+1-9

Re: [openstack-dev] [Nova] [Cinder] [Tempest] Regarding deleting snapshot when instance is OFF

2015-04-09 Thread Eric Blake
On 04/08/2015 11:22 PM, Deepak Shetty wrote: > + [Cinder] and [Tempest] in the $subject since this affects them too > > On Thu, Apr 9, 2015 at 4:22 AM, Eric Blake wrote: > >> On 04/08/2015 12:01 PM, Deepak Shetty wrote: >>> >>> Questions: >>> >&g

Re: [openstack-dev] [Nova] Regarding deleting snapshot when instance is OFF

2015-04-08 Thread Eric Blake
e post snap deletion), is this the way to go ? Obviously, it would be nice to get libvirt to support offline snapshot deletion, but until then, upper layers will have to work around libvirt's shortcomings. I don't know if that helps answer your questions, though. -- Eric Blake eblak

Re: [openstack-dev] [libvirt] [nova] The risk of hanging when shutdown instance.

2015-03-30 Thread Eric Blake
empt might be justifiable as a reason to block, but the overall API contract is to NOT block indefinitely. I think that rather than a doc patch, we need to fix the underlying bug, and guarantee that we return after a finite time even when the agent is involved. -- Eric Bl

Re: [openstack-dev] [all] PYTHONDONTWRITEBYTECODE=true in tox.ini

2014-09-15 Thread Eric Blake
On 09/15/2014 03:15 PM, Eric Blake wrote: > On 09/15/2014 03:02 PM, Brant Knudson wrote: > >>>> Good thing that python modules can't have spaces in their names! But for >>>> the future, find has a "-delete" parameter that won't break horribly

Re: [openstack-dev] [all] PYTHONDONTWRITEBYTECODE=true in tox.ini

2014-09-15 Thread Eric Blake
d . -name '*.pyc' -delete >> >> GNU find has that as an extension, but POSIX does not guarantee it, and >> BSD find lacks it. >> >> > The workaround is -print0: find . -name '*.pyc' -print0 | xargs -0 rm -f Alas, both find -print0 and xa

Re: [openstack-dev] [all] PYTHONDONTWRITEBYTECODE=true in tox.ini

2014-09-15 Thread Eric Blake
args rm -f >> exit 0 > > Good thing that python modules can't have spaces in their names! But for > the future, find has a "-delete" parameter that won't break horribly on > strange filenames. > > find . -name '*.pyc' -delete GNU find has tha