i left rootwrap  config parametes in ironic lib as empty  so that whoever uses ironic lib to run disk partitioner code  they have to set the correct values for these config parameters  otherwise the underlying commands  parted etc  will run with the same user permission as that of the service ironic ipa so  i would prefer to leave this code this way  please let me know if you want to change this code 