Update not enough space messages for fssnapshot master
authorValentina Mukhamedzhanova <vmukhame@redhat.com>
Wed, 12 Aug 2015 10:54:55 +0000 (12:54 +0200)
committerValentina Mukhamedzhanova <vmukhame@redhat.com>
Wed, 12 Aug 2015 10:54:55 +0000 (12:54 +0200)
yum/__init__.py
yumcommands.py

index 48956e9..84bea3e 100644 (file)
@@ -1773,7 +1773,7 @@ much more problems).
             (not self.ts.isTsFlagSet(rpm.RPMTRANS_FLAG_TEST) and
             self.conf.fssnap_automatic_pre)):
             if not self.fssnap.has_space(self.conf.fssnap_percentage):
-                msg = _("Not enough space to create pre. FS snapshot.")
+                msg = _("Not enough space on logical volumes to create pre. FS snapshot.")
                 if self.conf.fssnap_abort_on_errors in ('snapshot-failure', 'any'):
                     raise Errors.YumRPMTransError(msg="Aborting transaction", errors=msg)
                 else:
@@ -1926,7 +1926,7 @@ much more problems).
             (not self.ts.isTsFlagSet(rpm.RPMTRANS_FLAG_TEST) and
             self.conf.fssnap_automatic_post)):
             if not self.fssnap.has_space(self.conf.fssnap_percentage):
-                msg = _("Not enough space to create post trans FS snapshot.")
+                msg = _("Not enough space on logical volumes to create post trans FS snapshot.")
                 self.verbose_logger.critical(msg)
             else:
                 tags = {'*': ['reason=automatic']} # FIXME: post tags
index 4a39ddb..5234260 100644 (file)
@@ -4311,7 +4311,7 @@ class FSSnapshotCommand(YumCommand):
             if base.fssnap.has_space(pc):
                 print _("Space available to take a snapshot.")
             else:
-                print _("Not enough space available to take a snapshot.")
+                print _("Not enough space available on logical volumes to take a snapshot.")
 
         if subcommand == 'create':
             tags = {'*': ['reason=manual']}