If no profile is specified, trying to get its name results in a traceback.
Signed-off-by: Vratislav Podzimek vpodzime@redhat.com --- blivet/devices.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/blivet/devices.py b/blivet/devices.py index 56f8dcc..75afcc2 100644 --- a/blivet/devices.py +++ b/blivet/devices.py @@ -3584,10 +3584,15 @@ class LVMThinPoolDevice(LVMLogicalVolumeDevice): """ Create the device. """ log_method_call(self, self.name, status=self.status) # TODO: chunk size, data/metadata split --> profile + if self.profile: + profile_name = self.profile.name + else: + profile_name = "" + lvm.thinpoolcreate(self.vg.name, self.lvname, self.size, metadatasize=self.metaDataSize, chunksize=self.chunkSize, - profile=self.profile.name) + profile=profile_name)
def dracutSetupArgs(self): return set()
Wasn't enough fast with "Ctlr+C" after hitting ENTER for this version with no project/branch spec. Please ignore.
anaconda-patches@lists.fedorahosted.org