Comment #10 on issue 269 by [email protected]: gnt-instance grow-disk does not work in ganeti 2.6.0
http://code.google.com/p/ganeti/issues/detail?id=269

I've tested this again with 2.6.1 on Debian Squeeze (python 2.6.6) with the same config as you: two-disk instance, growing first disk, and at first test it doesn't happen.

What python version do you have? I wonder if this is a changed behaviour in Python related to dictionary changes.

To debug this, it would be helpful to edit the cmdlib file and change the _ExpandCheckDisks function as follows:

      …
      raise errors.ProgrammerError("Can only act on disks belonging to the"
" target instance: %r versus %r" % (disks, instance.disks))

The check looks correct, but if the hashing or something similar changed, just 'issubset' might need redoing.

Reply via email to