Python Librbd API have default value of "features=0", which is causing the Clone operation to Fail
clone(self, p_ioctx, p_name, p_snapname, c_ioctx, c_name, features=0, order=None, stripe_unit=0, stripe_count=0)
Below are the scenario's:
1. If i pass 0, i am seeing an Error ( That's expected because Clone would need layering support )
2. If i pass 1 or 3, its working fine. (Layering, Striping )
3. If i don't pass any value, i.e.rbd_inst.clone(p_ioctx,Image,snap,c_ioctx,Clone_Name)
Then i am seeing an Error, because feature flag have to be there having value, other than 0 ( Default is 0 )
4. If i pass "None", its invalid because it requires an integer.
The bug is that the Python API should default to None for features --
and if None is specified it shouldn't attempt to set the features so
that the defaults can be used.