kiwi.exceptions

  1# Copyright (c) 2015 SUSE Linux GmbH.  All rights reserved.
  2#
  3# This file is part of kiwi.
  4#
  5# kiwi is free software: you can redistribute it and/or modify
  6# it under the terms of the GNU General Public License as published by
  7# the Free Software Foundation, either version 3 of the License, or
  8# (at your option) any later version.
  9#
 10# kiwi is distributed in the hope that it will be useful,
 11# but WITHOUT ANY WARRANTY; without even the implied warranty of
 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13# GNU General Public License for more details.
 14#
 15# You should have received a copy of the GNU General Public License
 16# along with kiwi.  If not, see <http://www.gnu.org/licenses/>
 17#
 18
 19
 20class KiwiError(Exception):
 21    """
 22    **Base class to handle all known exceptions**
 23
 24    Specific exceptions are implemented as sub classes of KiwiError
 25
 26    Attributes
 27
 28    :param string message: Exception message text
 29    """
 30    def __init__(self, message):
 31        self.message = message
 32
 33    def __str__(self):
 34        return format(self.message)
 35
 36
 37class KiwiArchiveSetupError(KiwiError):
 38    """
 39    Exception raised if an unsupported image archive type is used.
 40    """
 41
 42
 43class KiwiArchiveTarError(KiwiError):
 44    """
 45    Exception raised if impossible to determine which tar command
 46    version is installed on the underlying system
 47    """
 48
 49
 50class KiwiBootImageSetupError(KiwiError):
 51    """
 52    Exception raised if an unsupported initrd system type is used.
 53    """
 54
 55
 56class KiwiBootLoaderConfigSetupError(KiwiError):
 57    """
 58    Exception raised if a configuration for an unsupported
 59    bootloader is requested.
 60    """
 61
 62
 63class KiwiBootLoaderGrubDataError(KiwiError):
 64    """
 65    Exception raised if no grub installation was found.
 66    """
 67
 68
 69class KiwiBootLoaderGrubFontError(KiwiError):
 70    """
 71    Exception raised if no grub unicode font was found.
 72    """
 73
 74
 75class KiwiBootLoaderGrubInstallError(KiwiError):
 76    """
 77    Exception raised if grub install to master boot record has failed.
 78    """
 79
 80
 81class KiwiBootLoaderGrubModulesError(KiwiError):
 82    """
 83    Exception raised if the synchronisation of modules from the
 84    grub installation to the boot space has failed.
 85    """
 86
 87
 88class KiwiBootLoaderGrubPlatformError(KiwiError):
 89    """
 90    Exception raised if an attempt was made to use grub on an
 91    unsupported platform.
 92    """
 93
 94
 95class KiwiBootLoaderGrubSecureBootError(KiwiError):
 96    """
 97    Exception raised if the Microsoft signed shim loader or
 98    grub2 loader could not be found in the image root system
 99    """
100
101
102class KiwiBootLoaderInstallSetupError(KiwiError):
103    """
104    Exception raised if an installation for an unsupported
105    bootloader is requested.
106    """
107
108
109class KiwiBootLoaderTargetError(KiwiError):
110    """
111    Exception raised if the target to read the bootloader path
112    from is not a disk or an iso image.
113    """
114
115
116class KiwiBootLoaderZiplInstallError(KiwiError):
117    """
118    Exception raised if the installation of zipl has failed.
119    """
120
121
122class KiwiBootLoaderZiplPlatformError(KiwiError):
123    """
124    Exception raised if a configuration for an unsupported
125    zipl architecture is requested.
126    """
127
128
129class KiwiBootLoaderZiplSetupError(KiwiError):
130    """
131    Exception raised if the data set to configure the zipl
132    bootloader is incomplete.
133    """
134
135
136class KiwiBootStrapPhaseFailed(KiwiError):
137    """
138    Exception raised if the bootstrap phase of the system prepare
139    command has failed.
140    """
141
142
143class KiwiBundleError(KiwiError):
144    """
145    Exception raised if the system bundle command has failed.
146    """
147
148
149class KiwiCommandError(KiwiError):
150    """
151    Exception raised if an external command called via a Command
152    instance has returned with an exit code != 0 or could not
153    be called at all.
154    """
155
156
157class KiwiCommandNotFound(KiwiError):
158    """
159    Exception raised if any executable command cannot be found in
160    the evironment PATH variable.
161    """
162
163
164class KiwiCommandNotLoaded(KiwiError):
165    """
166    Exception raised if a kiwi command task module could not be
167    loaded.
168    """
169
170
171class KiwiCompressionFormatUnknown(KiwiError):
172    """
173    Exception raised if the compression format of the data could
174    not be detected.
175    """
176
177
178class KiwiConfigFileNotFound(KiwiError):
179    """
180    Exception raised if no kiwi XML description was found.
181    """
182
183
184class KiwiConfigFileFormatNotSupported(KiwiError):
185    """
186    Exception raised if kiwi description file format is not supported.
187    """
188
189
190class KiwiContainerSetupError(KiwiError):
191    """
192    Exception raised if an error in the creation of the
193    container archive happened.
194    """
195
196
197class KiwiContainerImageSetupError(KiwiError):
198    """
199    Exception raised if an attempt to create a container instance
200    for an unsupported container type is performed.
201    """
202
203
204class KiwiDataStructureError(KiwiError):
205    """
206    Exception raised if the XML description failed to parse the
207    data structure.
208    """
209
210
211class KiwiDebianBootstrapError(KiwiError):
212    """
213    Exception raised if the bootstrap installation for Debian
214    based systems has failed
215    """
216
217
218class KiwiDescriptionInvalid(KiwiError):
219    """
220    Exception raised if the XML description failed to validate
221    the XML schema.
222    """
223
224
225class KiwiDeviceProviderError(KiwiError):
226    """
227    Exception raised if a storage provide is asked for its
228    managed device but no such device exists.
229    """
230
231
232class KiwiDiskBootImageError(KiwiError):
233    """
234    Exception raised if a kiwi boot image does not provide the
235    requested data, e.g kernel, or hypervisor files.
236    """
237
238
239class KiwiDiskFormatSetupError(KiwiError):
240    """
241    Exception raised if an attempt was made to create a disk format
242    instance of an unsupported disk format.
243    """
244
245
246class KiwiDiskGeometryError(KiwiError):
247    """
248    Exception raised if the disk geometry (partition table) could
249    not be read or evaluated against their expected geometry and
250    capabilities.
251    """
252
253
254class KiwiDistributionNameError(KiwiError):
255    """
256    Exception raised if the distribution name could not be found.
257    The information is extracted from the boot attribute of the
258    XML description. If no boot attribute is present or does not
259    match the naming conventions the exception is raised.
260    """
261
262
263class KiwiExtensionError(KiwiError):
264    """
265    Exception raised if an extension section of the same namespace
266    is used multiple times as toplevel section within the extension
267    section. Each extension must have a single toplevel entry point
268    qualified by its namespace
269    """
270
271
272class KiwiFileNotFound(KiwiError):
273    """
274    Exception raised if the requested file could not be found.
275    """
276
277
278class KiwiFileSystemSetupError(KiwiError):
279    """
280    Exception raised if an attempt was made to build an
281    unsupported or unspecified filesystem.
282    """
283
284
285class KiwiFileSystemSyncError(KiwiError):
286    """
287    Exception raised if the data sync from the system into the
288    loop mounted filesystem image failed.
289    """
290
291
292class KiwiFormatSetupError(KiwiError):
293    """
294    Exception raised if the requested disk format could not be created.
295    """
296
297
298class KiwiHelpNoCommandGiven(KiwiError):
299    """
300    Exception raised if the request for the help page is
301    executed without a command to show the help for.
302    """
303
304
305class KiwiImageResizeError(KiwiError):
306    """
307    Exception raised if the request to resize a disk image failed.
308    Reasons could be a missing raw disk reference or a wrong size
309    specification.
310    """
311
312
313class KiwiImportDescriptionError(KiwiError):
314    """
315    Exception raised if the XML description data and scripts could
316    not be imported into the root of the image.
317    """
318
319
320class KiwiInstallBootImageError(KiwiError):
321    """
322    Exception raised if the required files to boot an installation
323    image could not be found, e.g kernel or hypervisor.
324    """
325
326
327class KiwiInstallMediaError(KiwiError):
328    """
329    Exception raised if a request for an installation media is made
330    but the system image type is not an oem type.
331    """
332
333
334class KiwiInstallPhaseFailed(KiwiError):
335    """
336    Exception raised if the install phase of a system prepare command
337    has failed.
338    """
339
340
341class KiwiPackagesDeletePhaseFailed(KiwiError):
342    """
343    Exception raised if the packages deletion phase in system prepare
344    fails.
345    """
346
347
348class KiwiIsoMetaDataError(KiwiError):
349    """
350    Exception raised if an inconsistency in the ISO header
351    was found such like invalid eltorito specification or a
352    broken path table.
353    """
354
355
356class KiwiIsoToolError(KiwiError):
357    """
358    Exception raised if an iso helper tool such as isoinfo
359    could not be found on the build system.
360    """
361
362
363class KiwiKernelLookupError(KiwiError):
364    """
365    Exception raised if the search for the kernel image file failed
366    """
367
368
369class KiwiLiveBootImageError(KiwiError):
370    """
371    Exception raised if an attempt was made to use an
372    unsupported live iso type.
373    """
374
375
376class KiwiLuksSetupError(KiwiError):
377    """
378    Exception raised if not enough user data is provided to
379    setup the luks encryption on the given device.
380    """
381
382
383class KiwiLoadCommandUndefined(KiwiError):
384    """
385    Exception raised if no command is specified for a given
386    service on the commandline.
387    """
388
389
390class KiwiLogFileSetupFailed(KiwiError):
391    """
392    Exception raised if the log file could not be created.
393    """
394
395
396class KiwiLogSocketSetupFailed(KiwiError):
397    """
398    Exception raised if the Unix Domain log socket could not be created.
399    """
400
401
402class KiwiLoopSetupError(KiwiError):
403    """
404    Exception raised if not enough user data to create a
405    loop device is specified.
406    """
407
408
409class KiwiMappedDeviceError(KiwiError):
410    """
411    Exception raised if the device to become mapped does not exist.
412    """
413
414
415class KiwiMountKernelFileSystemsError(KiwiError):
416    """
417    Exception raised if a kernel filesystem such as proc or sys
418    could not be mounted.
419    """
420
421
422class KiwiMountSharedDirectoryError(KiwiError):
423    """
424    Exception raised if the host <-> image shared directory
425    could not be mounted.
426    """
427
428
429class KiwiNotImplementedError(KiwiError):
430    """
431    Exception raised if a functionality is not yet implemented.
432    """
433
434
435class KiwiOCIArchiveToolError(KiwiError):
436    """
437    Exception raised if the requested OCI archive tool is not supported
438    """
439
440
441class KiwiOSReleaseImportError(KiwiError):
442    """
443    Exception raised if reading etc/os-release caused an issue
444    """
445
446
447class KiwiEnvImportError(KiwiError):
448    """
449    Exception raised if extending os.environ with another
450    env file caused an issue
451    """
452
453
454class KiwiPackageManagerSetupError(KiwiError):
455    """
456    Exception raised if an attempt was made to create a package
457    manager instance for an unsupported package manager.
458    """
459
460
461class KiwiPartitionerGptFlagError(KiwiError):
462    """
463    Exception raised if an attempt was made to set an unknown
464    partition flag for an entry in the GPT table.
465    """
466
467
468class KiwiPartitionerMsDosFlagError(KiwiError):
469    """
470    Exception raised if an attempt was made to set an unknown
471    partition flag for an entry in the MSDOS table.
472    """
473
474
475class KiwiPartitionerSetupError(KiwiError):
476    """
477    Exception raised if an attempt was made to create an instance
478    of a partitioner for an unsupporte partitioner.
479    """
480
481
482class KiwiPrivilegesError(KiwiError):
483    """
484    Exception raised if root privileges are required but not granted.
485    """
486
487
488class KiwiProfileNotFound(KiwiError):
489    """
490    Exception raised if a specified profile does not exist in the
491    XML configuration.
492    """
493
494
495class KiwiKisBootImageError(KiwiError):
496    """
497    Exception raised if a required boot file e.g the kernel could
498    not be found in the process of building a kis image.
499    """
500
501
502class KiwiEnclaveBootImageError(KiwiError):
503    """
504    Exception raised if no kernel image was found while
505    building an enclave image.
506    """
507
508
509class KiwiRaidSetupError(KiwiError):
510    """
511    Exception raised if invalid or not enough user data is provided
512    to create a raid array on the specified storage device.
513    """
514
515
516class KiwiRepositorySetupError(KiwiError):
517    """
518    Exception raised if an attempt was made to create an instance of
519    a repository for an unsupported package manager.
520    """
521
522
523class KiwiRequestedTypeError(KiwiError):
524    """
525    Exception raised if an attempt was made to build an image for
526    an unsupported image type.
527    """
528
529
530class KiwiRequestError(KiwiError):
531    """
532    Exception raised if a package request could not be processed by
533    the corresponding package manager instance.
534    """
535
536
537class KiwiResizeRawDiskError(KiwiError):
538    """
539    Exception raised if an attempt was made to resize the image disk
540    to a smaller size than the current one. Simply shrinking a disk image
541    file is not possible without data corruption because the partitions
542    were setup to use the entire disk geometry as it fits into the file.
543    A successful shrinking operation would require the filesystems and
544    the partition table to be reduced which is not done by the provided
545    simple storage resize method. In addition without the user overwriting
546    the disk size in the XML setup, kiwi will calculate the minimum
547    required size in order to store the data. Thus in almost all cases
548    it will not be possible to store the data in a smaller disk.
549    """
550
551
552class KiwiResultError(KiwiError):
553    """
554    Exception raised if the image build result pickle information
555    could not be created or loaded.
556    """
557
558
559class KiwiRootDirExists(KiwiError):
560    """
561    Exception raised if the specified image root directory already
562    exists and should not be re-used.
563    """
564
565
566class KiwiRootInitCreationError(KiwiError):
567    """
568    Exception raised if the initialization of a new image root
569    directory has failed.
570    """
571
572
573class KiwiRpmDirNotRemoteError(KiwiError):
574    """
575    Exception raised if the provided rpm-dir repository is not local
576    """
577
578
579class KiwiRuntimeConfigFileError(KiwiError):
580    """
581    Exception raised if the provided custom runtime config
582    file could not be found
583    """
584
585
586class KiwiRuntimeConfigFormatError(KiwiError):
587    """
588    Exception raised if the expected format in the yaml KIWI
589    runtime config file does not match
590    """
591
592
593class KiwiRuntimeError(KiwiError):
594    """
595    Exception raised if a runtime check has failed.
596    """
597
598
599class KiwiSatSolverJobError(KiwiError):
600    """
601    Exception raised if a sat solver job can not be done, e.g because
602    the requested package or collection does not exist in the registered
603    repository metadata
604    """
605
606
607class KiwiSatSolverJobProblems(KiwiError):
608    """
609    Exception raised if the sat solver operations returned with solver
610    problems e.g package conflicts
611    """
612
613
614class KiwiSatSolverPluginError(KiwiError):
615    """
616    Exception raised if the python solv module failed to load.
617    The solv module is provided by SUSE's rpm package python-solv
618    and provides a python binding to the libsolv C library
619    """
620
621
622class KiwiAnyMarkupPluginError(KiwiError):
623    """
624    Exception raised if the python anymarkup module failed to load.
625    """
626
627
628class KiwiMarkupConversionError(KiwiError):
629    """
630    Exception raised if the markup format conversion is not possible.
631    """
632
633
634class KiwiSchemaImportError(KiwiError):
635    """
636    Exception raised if the schema file could not be read
637    by lxml.RelaxNG.
638    """
639
640
641class KiwiScriptFailed(KiwiError):
642    """
643    Exception raised if a user script returned with an exit code != 0.
644    """
645
646
647class KiwiSetupIntermediateConfigError(KiwiError):
648    """
649    Exception raised if the setup of the temporary image system
650    configuration for the duration of the build process has
651    failed.
652    """
653
654
655class KiwiSolverRepositorySetupError(KiwiError):
656    """
657    Exception raised if the repository type is not supported for
658    the creation of a SAT solvable
659    """
660
661
662class KiwiSystemDeletePackagesFailed(KiwiError):
663    """
664    Exception raised if the deletion of a package has failed in
665    the corresponding package manager instance.
666    """
667
668
669class KiwiSystemInstallPackagesFailed(KiwiError):
670    """
671    Exception raised if the installation of a package has failed in
672    the corresponding package manager instance.
673    """
674
675
676class KiwiSystemUpdateFailed(KiwiError):
677    """
678    Exception raised if the package upgrade has failed in
679    the corresponding package manager instance.
680    """
681
682
683class KiwiTargetDirectoryNotFound(KiwiError):
684    """
685    Exception raised if the specified target directory to store
686    the image results was not found.
687    """
688
689
690class KiwiTemplateError(KiwiError):
691    """
692    Exception raised if the substitution of variables in a
693    configuration file template has failed.
694    """
695
696
697class KiwiTypeNotFound(KiwiError):
698    """
699    Exception raised if no build type was found in the XML description.
700    """
701
702
703class KiwiUnknownServiceName(KiwiError):
704    """
705    Exception raised if an unknown service name was provided
706    on the commandline.
707    """
708
709
710class KiwiUriOpenError(KiwiError):
711    """
712    Exception raised if the urllib urlopen request has failed
713    """
714
715
716class KiwiUriStyleUnknown(KiwiError):
717    """
718    Exception raised if an unsupported URI style was used in the
719    source definition of a repository.
720    """
721
722
723class KiwiUriTypeUnknown(KiwiError):
724    """
725    Exception raised if the protocol type of an URI is unknown
726    in the source definition of a repository.
727    """
728
729
730class KiwiValidationError(KiwiError):
731    """
732    Exception raised if the XML validation against the schema has failed.
733    """
734
735
736class KiwiVhdTagError(KiwiError):
737    """
738    Exception raised if the GUID tag is not provided in the
739    expected format.
740    """
741
742
743class KiwiVolumeGroupConflict(KiwiError):
744    """
745    Exception raised if the requested LVM volume group already is
746    in use on the build system.
747    """
748
749
750class KiwiVolumeManagerSetupError(KiwiError):
751    """
752    Exception raised if the preconditions for volume mangement
753    support are not met or an attempt was made to create an
754    instance of a volume manager for an unsupported volume
755    management system.
756    """
757
758
759class KiwiSnapshotManagerSetupError(KiwiError):
760    """
761    Exception raised if an attempt was made to create an
762    instance of a snapshot manager for an unsupported snapshot
763    management system.
764    """
765
766
767class KiwiVolumeRootIDError(KiwiError):
768    """
769    Exception raised if the root volume can not be found. This
770    concept currently exists only for the btrfs subvolume system.
771    """
772
773
774class KiwiRootImportError(KiwiError):
775    """
776    Exception is raised when something fails during the root import
777    procedure.
778    """
779
780
781class KiwiContainerBuilderError(KiwiError):
782    """
783    Exception is raised when something fails during a container image
784    build procedure.
785    """
786
787
788class KiwiSizeError(KiwiError):
789    """
790    Exception is raised when the convertion from a given size in string
791    format to a number.
792    """
793
794
795class KiwiCommandCapabilitiesError(KiwiError):
796    """
797    Exception is raised when some the CommandCapabilities methods fails,
798    usually meaning there is some issue trying to parse some command output.
799    """
800
801
802class KiwiDecodingError(KiwiError):
803    """
804    Exception is raised on decoding literals failure
805    """
806
807
808class KiwiBuildahError(KiwiError):
809    """
810    Exception raised on inconsistent buildah class calls
811    """
812
813
814class KiwiFileAccessError(KiwiError):
815    """
816    Exception raised if accessing a file or its metadata failed
817    """
818
819
820class KiwiShellVariableValueError(KiwiError):
821    """
822    Exception raised if a given python value cannot be converted
823    into a string representation for use in shell scripts
824    """
825
826
827class KiwiIncludFileNotFoundError(KiwiError):
828    """
829    Exception raised if the file reference in an <include>
830    statement could not be found
831    """
832
833
834class KiwiUmountBusyError(KiwiError):
835    """
836    Exception raised if the attempt to umount a resource has failed
837    """
838
839
840class KiwiCustomPartitionConflictError(KiwiError):
841    """
842    Exception raised if the entry in a custom partition setup
843    conflicts with an existing partition table layout setting
844    """
845
846
847class KiwiVolumeTooSmallError(KiwiError):
848    """
849    Exception raised if the specified volume size is smaller
850    than the required bytes to store the data
851    """
852
853
854class KiwiPartitionTooSmallError(KiwiError):
855    """
856    Exception raised if the specified partition size is smaller
857    than the required bytes to store the data
858    """
859
860
861class KiwiCredentialsError(KiwiError):
862    """
863    Exception raised if required credentials information is missing
864    """
865
866
867class KiwiOffsetError(KiwiError):
868    """
869    Exception raised if the offset for a seek operation does not
870    match the expected data to write
871    """
872
873
874class KiwiBootLoaderDiskPasswordError(KiwiError):
875    """
876    Exception raised if the disk password could not be set
877    """
878
879
880class KiwiEnclaveFormatError(KiwiError):
881    """
882    Exception raised if no enclave_format attribute specified
883    for the selected build type
884    """
885
886
887class KiwiCATargetDistributionError(KiwiError):
888    """
889    Exception raised if no CA target distribution can be found
890    but the request to import custom CA certificates was issued
891    """
class KiwiError(builtins.Exception):
21class KiwiError(Exception):
22    """
23    **Base class to handle all known exceptions**
24
25    Specific exceptions are implemented as sub classes of KiwiError
26
27    Attributes
28
29    :param string message: Exception message text
30    """
31    def __init__(self, message):
32        self.message = message
33
34    def __str__(self):
35        return format(self.message)

Base class to handle all known exceptions

Specific exceptions are implemented as sub classes of KiwiError

Attributes

Parameters
  • string message: Exception message text
KiwiError(message)
31    def __init__(self, message):
32        self.message = message
message
class KiwiArchiveSetupError(KiwiError):
38class KiwiArchiveSetupError(KiwiError):
39    """
40    Exception raised if an unsupported image archive type is used.
41    """

Exception raised if an unsupported image archive type is used.

Inherited Members
KiwiError
KiwiError
message
class KiwiArchiveTarError(KiwiError):
44class KiwiArchiveTarError(KiwiError):
45    """
46    Exception raised if impossible to determine which tar command
47    version is installed on the underlying system
48    """

Exception raised if impossible to determine which tar command version is installed on the underlying system

Inherited Members
KiwiError
KiwiError
message
class KiwiBootImageSetupError(KiwiError):
51class KiwiBootImageSetupError(KiwiError):
52    """
53    Exception raised if an unsupported initrd system type is used.
54    """

Exception raised if an unsupported initrd system type is used.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderConfigSetupError(KiwiError):
57class KiwiBootLoaderConfigSetupError(KiwiError):
58    """
59    Exception raised if a configuration for an unsupported
60    bootloader is requested.
61    """

Exception raised if a configuration for an unsupported bootloader is requested.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubDataError(KiwiError):
64class KiwiBootLoaderGrubDataError(KiwiError):
65    """
66    Exception raised if no grub installation was found.
67    """

Exception raised if no grub installation was found.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubFontError(KiwiError):
70class KiwiBootLoaderGrubFontError(KiwiError):
71    """
72    Exception raised if no grub unicode font was found.
73    """

Exception raised if no grub unicode font was found.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubInstallError(KiwiError):
76class KiwiBootLoaderGrubInstallError(KiwiError):
77    """
78    Exception raised if grub install to master boot record has failed.
79    """

Exception raised if grub install to master boot record has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubModulesError(KiwiError):
82class KiwiBootLoaderGrubModulesError(KiwiError):
83    """
84    Exception raised if the synchronisation of modules from the
85    grub installation to the boot space has failed.
86    """

Exception raised if the synchronisation of modules from the grub installation to the boot space has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubPlatformError(KiwiError):
89class KiwiBootLoaderGrubPlatformError(KiwiError):
90    """
91    Exception raised if an attempt was made to use grub on an
92    unsupported platform.
93    """

Exception raised if an attempt was made to use grub on an unsupported platform.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderGrubSecureBootError(KiwiError):
 96class KiwiBootLoaderGrubSecureBootError(KiwiError):
 97    """
 98    Exception raised if the Microsoft signed shim loader or
 99    grub2 loader could not be found in the image root system
100    """

Exception raised if the Microsoft signed shim loader or grub2 loader could not be found in the image root system

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderInstallSetupError(KiwiError):
103class KiwiBootLoaderInstallSetupError(KiwiError):
104    """
105    Exception raised if an installation for an unsupported
106    bootloader is requested.
107    """

Exception raised if an installation for an unsupported bootloader is requested.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderTargetError(KiwiError):
110class KiwiBootLoaderTargetError(KiwiError):
111    """
112    Exception raised if the target to read the bootloader path
113    from is not a disk or an iso image.
114    """

Exception raised if the target to read the bootloader path from is not a disk or an iso image.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderZiplInstallError(KiwiError):
117class KiwiBootLoaderZiplInstallError(KiwiError):
118    """
119    Exception raised if the installation of zipl has failed.
120    """

Exception raised if the installation of zipl has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderZiplPlatformError(KiwiError):
123class KiwiBootLoaderZiplPlatformError(KiwiError):
124    """
125    Exception raised if a configuration for an unsupported
126    zipl architecture is requested.
127    """

Exception raised if a configuration for an unsupported zipl architecture is requested.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderZiplSetupError(KiwiError):
130class KiwiBootLoaderZiplSetupError(KiwiError):
131    """
132    Exception raised if the data set to configure the zipl
133    bootloader is incomplete.
134    """

Exception raised if the data set to configure the zipl bootloader is incomplete.

Inherited Members
KiwiError
KiwiError
message
class KiwiBootStrapPhaseFailed(KiwiError):
137class KiwiBootStrapPhaseFailed(KiwiError):
138    """
139    Exception raised if the bootstrap phase of the system prepare
140    command has failed.
141    """

Exception raised if the bootstrap phase of the system prepare command has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiBundleError(KiwiError):
144class KiwiBundleError(KiwiError):
145    """
146    Exception raised if the system bundle command has failed.
147    """

Exception raised if the system bundle command has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiCommandError(KiwiError):
150class KiwiCommandError(KiwiError):
151    """
152    Exception raised if an external command called via a Command
153    instance has returned with an exit code != 0 or could not
154    be called at all.
155    """

Exception raised if an external command called via a Command instance has returned with an exit code != 0 or could not be called at all.

Inherited Members
KiwiError
KiwiError
message
class KiwiCommandNotFound(KiwiError):
158class KiwiCommandNotFound(KiwiError):
159    """
160    Exception raised if any executable command cannot be found in
161    the evironment PATH variable.
162    """

Exception raised if any executable command cannot be found in the evironment PATH variable.

Inherited Members
KiwiError
KiwiError
message
class KiwiCommandNotLoaded(KiwiError):
165class KiwiCommandNotLoaded(KiwiError):
166    """
167    Exception raised if a kiwi command task module could not be
168    loaded.
169    """

Exception raised if a kiwi command task module could not be loaded.

Inherited Members
KiwiError
KiwiError
message
class KiwiCompressionFormatUnknown(KiwiError):
172class KiwiCompressionFormatUnknown(KiwiError):
173    """
174    Exception raised if the compression format of the data could
175    not be detected.
176    """

Exception raised if the compression format of the data could not be detected.

Inherited Members
KiwiError
KiwiError
message
class KiwiConfigFileNotFound(KiwiError):
179class KiwiConfigFileNotFound(KiwiError):
180    """
181    Exception raised if no kiwi XML description was found.
182    """

Exception raised if no kiwi XML description was found.

Inherited Members
KiwiError
KiwiError
message
class KiwiConfigFileFormatNotSupported(KiwiError):
185class KiwiConfigFileFormatNotSupported(KiwiError):
186    """
187    Exception raised if kiwi description file format is not supported.
188    """

Exception raised if kiwi description file format is not supported.

Inherited Members
KiwiError
KiwiError
message
class KiwiContainerSetupError(KiwiError):
191class KiwiContainerSetupError(KiwiError):
192    """
193    Exception raised if an error in the creation of the
194    container archive happened.
195    """

Exception raised if an error in the creation of the container archive happened.

Inherited Members
KiwiError
KiwiError
message
class KiwiContainerImageSetupError(KiwiError):
198class KiwiContainerImageSetupError(KiwiError):
199    """
200    Exception raised if an attempt to create a container instance
201    for an unsupported container type is performed.
202    """

Exception raised if an attempt to create a container instance for an unsupported container type is performed.

Inherited Members
KiwiError
KiwiError
message
class KiwiDataStructureError(KiwiError):
205class KiwiDataStructureError(KiwiError):
206    """
207    Exception raised if the XML description failed to parse the
208    data structure.
209    """

Exception raised if the XML description failed to parse the data structure.

Inherited Members
KiwiError
KiwiError
message
class KiwiDebianBootstrapError(KiwiError):
212class KiwiDebianBootstrapError(KiwiError):
213    """
214    Exception raised if the bootstrap installation for Debian
215    based systems has failed
216    """

Exception raised if the bootstrap installation for Debian based systems has failed

Inherited Members
KiwiError
KiwiError
message
class KiwiDescriptionInvalid(KiwiError):
219class KiwiDescriptionInvalid(KiwiError):
220    """
221    Exception raised if the XML description failed to validate
222    the XML schema.
223    """

Exception raised if the XML description failed to validate the XML schema.

Inherited Members
KiwiError
KiwiError
message
class KiwiDeviceProviderError(KiwiError):
226class KiwiDeviceProviderError(KiwiError):
227    """
228    Exception raised if a storage provide is asked for its
229    managed device but no such device exists.
230    """

Exception raised if a storage provide is asked for its managed device but no such device exists.

Inherited Members
KiwiError
KiwiError
message
class KiwiDiskBootImageError(KiwiError):
233class KiwiDiskBootImageError(KiwiError):
234    """
235    Exception raised if a kiwi boot image does not provide the
236    requested data, e.g kernel, or hypervisor files.
237    """

Exception raised if a kiwi boot image does not provide the requested data, e.g kernel, or hypervisor files.

Inherited Members
KiwiError
KiwiError
message
class KiwiDiskFormatSetupError(KiwiError):
240class KiwiDiskFormatSetupError(KiwiError):
241    """
242    Exception raised if an attempt was made to create a disk format
243    instance of an unsupported disk format.
244    """

Exception raised if an attempt was made to create a disk format instance of an unsupported disk format.

Inherited Members
KiwiError
KiwiError
message
class KiwiDiskGeometryError(KiwiError):
247class KiwiDiskGeometryError(KiwiError):
248    """
249    Exception raised if the disk geometry (partition table) could
250    not be read or evaluated against their expected geometry and
251    capabilities.
252    """

Exception raised if the disk geometry (partition table) could not be read or evaluated against their expected geometry and capabilities.

Inherited Members
KiwiError
KiwiError
message
class KiwiDistributionNameError(KiwiError):
255class KiwiDistributionNameError(KiwiError):
256    """
257    Exception raised if the distribution name could not be found.
258    The information is extracted from the boot attribute of the
259    XML description. If no boot attribute is present or does not
260    match the naming conventions the exception is raised.
261    """

Exception raised if the distribution name could not be found. The information is extracted from the boot attribute of the XML description. If no boot attribute is present or does not match the naming conventions the exception is raised.

Inherited Members
KiwiError
KiwiError
message
class KiwiExtensionError(KiwiError):
264class KiwiExtensionError(KiwiError):
265    """
266    Exception raised if an extension section of the same namespace
267    is used multiple times as toplevel section within the extension
268    section. Each extension must have a single toplevel entry point
269    qualified by its namespace
270    """

Exception raised if an extension section of the same namespace is used multiple times as toplevel section within the extension section. Each extension must have a single toplevel entry point qualified by its namespace

Inherited Members
KiwiError
KiwiError
message
class KiwiFileNotFound(KiwiError):
273class KiwiFileNotFound(KiwiError):
274    """
275    Exception raised if the requested file could not be found.
276    """

Exception raised if the requested file could not be found.

Inherited Members
KiwiError
KiwiError
message
class KiwiFileSystemSetupError(KiwiError):
279class KiwiFileSystemSetupError(KiwiError):
280    """
281    Exception raised if an attempt was made to build an
282    unsupported or unspecified filesystem.
283    """

Exception raised if an attempt was made to build an unsupported or unspecified filesystem.

Inherited Members
KiwiError
KiwiError
message
class KiwiFileSystemSyncError(KiwiError):
286class KiwiFileSystemSyncError(KiwiError):
287    """
288    Exception raised if the data sync from the system into the
289    loop mounted filesystem image failed.
290    """

Exception raised if the data sync from the system into the loop mounted filesystem image failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiFormatSetupError(KiwiError):
293class KiwiFormatSetupError(KiwiError):
294    """
295    Exception raised if the requested disk format could not be created.
296    """

Exception raised if the requested disk format could not be created.

Inherited Members
KiwiError
KiwiError
message
class KiwiHelpNoCommandGiven(KiwiError):
299class KiwiHelpNoCommandGiven(KiwiError):
300    """
301    Exception raised if the request for the help page is
302    executed without a command to show the help for.
303    """

Exception raised if the request for the help page is executed without a command to show the help for.

Inherited Members
KiwiError
KiwiError
message
class KiwiImageResizeError(KiwiError):
306class KiwiImageResizeError(KiwiError):
307    """
308    Exception raised if the request to resize a disk image failed.
309    Reasons could be a missing raw disk reference or a wrong size
310    specification.
311    """

Exception raised if the request to resize a disk image failed. Reasons could be a missing raw disk reference or a wrong size specification.

Inherited Members
KiwiError
KiwiError
message
class KiwiImportDescriptionError(KiwiError):
314class KiwiImportDescriptionError(KiwiError):
315    """
316    Exception raised if the XML description data and scripts could
317    not be imported into the root of the image.
318    """

Exception raised if the XML description data and scripts could not be imported into the root of the image.

Inherited Members
KiwiError
KiwiError
message
class KiwiInstallBootImageError(KiwiError):
321class KiwiInstallBootImageError(KiwiError):
322    """
323    Exception raised if the required files to boot an installation
324    image could not be found, e.g kernel or hypervisor.
325    """

Exception raised if the required files to boot an installation image could not be found, e.g kernel or hypervisor.

Inherited Members
KiwiError
KiwiError
message
class KiwiInstallMediaError(KiwiError):
328class KiwiInstallMediaError(KiwiError):
329    """
330    Exception raised if a request for an installation media is made
331    but the system image type is not an oem type.
332    """

Exception raised if a request for an installation media is made but the system image type is not an oem type.

Inherited Members
KiwiError
KiwiError
message
class KiwiInstallPhaseFailed(KiwiError):
335class KiwiInstallPhaseFailed(KiwiError):
336    """
337    Exception raised if the install phase of a system prepare command
338    has failed.
339    """

Exception raised if the install phase of a system prepare command has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiPackagesDeletePhaseFailed(KiwiError):
342class KiwiPackagesDeletePhaseFailed(KiwiError):
343    """
344    Exception raised if the packages deletion phase in system prepare
345    fails.
346    """

Exception raised if the packages deletion phase in system prepare fails.

Inherited Members
KiwiError
KiwiError
message
class KiwiIsoMetaDataError(KiwiError):
349class KiwiIsoMetaDataError(KiwiError):
350    """
351    Exception raised if an inconsistency in the ISO header
352    was found such like invalid eltorito specification or a
353    broken path table.
354    """

Exception raised if an inconsistency in the ISO header was found such like invalid eltorito specification or a broken path table.

Inherited Members
KiwiError
KiwiError
message
class KiwiIsoToolError(KiwiError):
357class KiwiIsoToolError(KiwiError):
358    """
359    Exception raised if an iso helper tool such as isoinfo
360    could not be found on the build system.
361    """

Exception raised if an iso helper tool such as isoinfo could not be found on the build system.

Inherited Members
KiwiError
KiwiError
message
class KiwiKernelLookupError(KiwiError):
364class KiwiKernelLookupError(KiwiError):
365    """
366    Exception raised if the search for the kernel image file failed
367    """

Exception raised if the search for the kernel image file failed

Inherited Members
KiwiError
KiwiError
message
class KiwiLiveBootImageError(KiwiError):
370class KiwiLiveBootImageError(KiwiError):
371    """
372    Exception raised if an attempt was made to use an
373    unsupported live iso type.
374    """

Exception raised if an attempt was made to use an unsupported live iso type.

Inherited Members
KiwiError
KiwiError
message
class KiwiLuksSetupError(KiwiError):
377class KiwiLuksSetupError(KiwiError):
378    """
379    Exception raised if not enough user data is provided to
380    setup the luks encryption on the given device.
381    """

Exception raised if not enough user data is provided to setup the luks encryption on the given device.

Inherited Members
KiwiError
KiwiError
message
class KiwiLoadCommandUndefined(KiwiError):
384class KiwiLoadCommandUndefined(KiwiError):
385    """
386    Exception raised if no command is specified for a given
387    service on the commandline.
388    """

Exception raised if no command is specified for a given service on the commandline.

Inherited Members
KiwiError
KiwiError
message
class KiwiLogFileSetupFailed(KiwiError):
391class KiwiLogFileSetupFailed(KiwiError):
392    """
393    Exception raised if the log file could not be created.
394    """

Exception raised if the log file could not be created.

Inherited Members
KiwiError
KiwiError
message
class KiwiLogSocketSetupFailed(KiwiError):
397class KiwiLogSocketSetupFailed(KiwiError):
398    """
399    Exception raised if the Unix Domain log socket could not be created.
400    """

Exception raised if the Unix Domain log socket could not be created.

Inherited Members
KiwiError
KiwiError
message
class KiwiLoopSetupError(KiwiError):
403class KiwiLoopSetupError(KiwiError):
404    """
405    Exception raised if not enough user data to create a
406    loop device is specified.
407    """

Exception raised if not enough user data to create a loop device is specified.

Inherited Members
KiwiError
KiwiError
message
class KiwiMappedDeviceError(KiwiError):
410class KiwiMappedDeviceError(KiwiError):
411    """
412    Exception raised if the device to become mapped does not exist.
413    """

Exception raised if the device to become mapped does not exist.

Inherited Members
KiwiError
KiwiError
message
class KiwiMountKernelFileSystemsError(KiwiError):
416class KiwiMountKernelFileSystemsError(KiwiError):
417    """
418    Exception raised if a kernel filesystem such as proc or sys
419    could not be mounted.
420    """

Exception raised if a kernel filesystem such as proc or sys could not be mounted.

Inherited Members
KiwiError
KiwiError
message
class KiwiMountSharedDirectoryError(KiwiError):
423class KiwiMountSharedDirectoryError(KiwiError):
424    """
425    Exception raised if the host <-> image shared directory
426    could not be mounted.
427    """

Exception raised if the host <-> image shared directory could not be mounted.

Inherited Members
KiwiError
KiwiError
message
class KiwiNotImplementedError(KiwiError):
430class KiwiNotImplementedError(KiwiError):
431    """
432    Exception raised if a functionality is not yet implemented.
433    """

Exception raised if a functionality is not yet implemented.

Inherited Members
KiwiError
KiwiError
message
class KiwiOCIArchiveToolError(KiwiError):
436class KiwiOCIArchiveToolError(KiwiError):
437    """
438    Exception raised if the requested OCI archive tool is not supported
439    """

Exception raised if the requested OCI archive tool is not supported

Inherited Members
KiwiError
KiwiError
message
class KiwiOSReleaseImportError(KiwiError):
442class KiwiOSReleaseImportError(KiwiError):
443    """
444    Exception raised if reading etc/os-release caused an issue
445    """

Exception raised if reading etc/os-release caused an issue

Inherited Members
KiwiError
KiwiError
message
class KiwiEnvImportError(KiwiError):
448class KiwiEnvImportError(KiwiError):
449    """
450    Exception raised if extending os.environ with another
451    env file caused an issue
452    """

Exception raised if extending os.environ with another env file caused an issue

Inherited Members
KiwiError
KiwiError
message
class KiwiPackageManagerSetupError(KiwiError):
455class KiwiPackageManagerSetupError(KiwiError):
456    """
457    Exception raised if an attempt was made to create a package
458    manager instance for an unsupported package manager.
459    """

Exception raised if an attempt was made to create a package manager instance for an unsupported package manager.

Inherited Members
KiwiError
KiwiError
message
class KiwiPartitionerGptFlagError(KiwiError):
462class KiwiPartitionerGptFlagError(KiwiError):
463    """
464    Exception raised if an attempt was made to set an unknown
465    partition flag for an entry in the GPT table.
466    """

Exception raised if an attempt was made to set an unknown partition flag for an entry in the GPT table.

Inherited Members
KiwiError
KiwiError
message
class KiwiPartitionerMsDosFlagError(KiwiError):
469class KiwiPartitionerMsDosFlagError(KiwiError):
470    """
471    Exception raised if an attempt was made to set an unknown
472    partition flag for an entry in the MSDOS table.
473    """

Exception raised if an attempt was made to set an unknown partition flag for an entry in the MSDOS table.

Inherited Members
KiwiError
KiwiError
message
class KiwiPartitionerSetupError(KiwiError):
476class KiwiPartitionerSetupError(KiwiError):
477    """
478    Exception raised if an attempt was made to create an instance
479    of a partitioner for an unsupporte partitioner.
480    """

Exception raised if an attempt was made to create an instance of a partitioner for an unsupporte partitioner.

Inherited Members
KiwiError
KiwiError
message
class KiwiPrivilegesError(KiwiError):
483class KiwiPrivilegesError(KiwiError):
484    """
485    Exception raised if root privileges are required but not granted.
486    """

Exception raised if root privileges are required but not granted.

Inherited Members
KiwiError
KiwiError
message
class KiwiProfileNotFound(KiwiError):
489class KiwiProfileNotFound(KiwiError):
490    """
491    Exception raised if a specified profile does not exist in the
492    XML configuration.
493    """

Exception raised if a specified profile does not exist in the XML configuration.

Inherited Members
KiwiError
KiwiError
message
class KiwiKisBootImageError(KiwiError):
496class KiwiKisBootImageError(KiwiError):
497    """
498    Exception raised if a required boot file e.g the kernel could
499    not be found in the process of building a kis image.
500    """

Exception raised if a required boot file e.g the kernel could not be found in the process of building a kis image.

Inherited Members
KiwiError
KiwiError
message
class KiwiEnclaveBootImageError(KiwiError):
503class KiwiEnclaveBootImageError(KiwiError):
504    """
505    Exception raised if no kernel image was found while
506    building an enclave image.
507    """

Exception raised if no kernel image was found while building an enclave image.

Inherited Members
KiwiError
KiwiError
message
class KiwiRaidSetupError(KiwiError):
510class KiwiRaidSetupError(KiwiError):
511    """
512    Exception raised if invalid or not enough user data is provided
513    to create a raid array on the specified storage device.
514    """

Exception raised if invalid or not enough user data is provided to create a raid array on the specified storage device.

Inherited Members
KiwiError
KiwiError
message
class KiwiRepositorySetupError(KiwiError):
517class KiwiRepositorySetupError(KiwiError):
518    """
519    Exception raised if an attempt was made to create an instance of
520    a repository for an unsupported package manager.
521    """

Exception raised if an attempt was made to create an instance of a repository for an unsupported package manager.

Inherited Members
KiwiError
KiwiError
message
class KiwiRequestedTypeError(KiwiError):
524class KiwiRequestedTypeError(KiwiError):
525    """
526    Exception raised if an attempt was made to build an image for
527    an unsupported image type.
528    """

Exception raised if an attempt was made to build an image for an unsupported image type.

Inherited Members
KiwiError
KiwiError
message
class KiwiRequestError(KiwiError):
531class KiwiRequestError(KiwiError):
532    """
533    Exception raised if a package request could not be processed by
534    the corresponding package manager instance.
535    """

Exception raised if a package request could not be processed by the corresponding package manager instance.

Inherited Members
KiwiError
KiwiError
message
class KiwiResizeRawDiskError(KiwiError):
538class KiwiResizeRawDiskError(KiwiError):
539    """
540    Exception raised if an attempt was made to resize the image disk
541    to a smaller size than the current one. Simply shrinking a disk image
542    file is not possible without data corruption because the partitions
543    were setup to use the entire disk geometry as it fits into the file.
544    A successful shrinking operation would require the filesystems and
545    the partition table to be reduced which is not done by the provided
546    simple storage resize method. In addition without the user overwriting
547    the disk size in the XML setup, kiwi will calculate the minimum
548    required size in order to store the data. Thus in almost all cases
549    it will not be possible to store the data in a smaller disk.
550    """

Exception raised if an attempt was made to resize the image disk to a smaller size than the current one. Simply shrinking a disk image file is not possible without data corruption because the partitions were setup to use the entire disk geometry as it fits into the file. A successful shrinking operation would require the filesystems and the partition table to be reduced which is not done by the provided simple storage resize method. In addition without the user overwriting the disk size in the XML setup, kiwi will calculate the minimum required size in order to store the data. Thus in almost all cases it will not be possible to store the data in a smaller disk.

Inherited Members
KiwiError
KiwiError
message
class KiwiResultError(KiwiError):
553class KiwiResultError(KiwiError):
554    """
555    Exception raised if the image build result pickle information
556    could not be created or loaded.
557    """

Exception raised if the image build result pickle information could not be created or loaded.

Inherited Members
KiwiError
KiwiError
message
class KiwiRootDirExists(KiwiError):
560class KiwiRootDirExists(KiwiError):
561    """
562    Exception raised if the specified image root directory already
563    exists and should not be re-used.
564    """

Exception raised if the specified image root directory already exists and should not be re-used.

Inherited Members
KiwiError
KiwiError
message
class KiwiRootInitCreationError(KiwiError):
567class KiwiRootInitCreationError(KiwiError):
568    """
569    Exception raised if the initialization of a new image root
570    directory has failed.
571    """

Exception raised if the initialization of a new image root directory has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiRpmDirNotRemoteError(KiwiError):
574class KiwiRpmDirNotRemoteError(KiwiError):
575    """
576    Exception raised if the provided rpm-dir repository is not local
577    """

Exception raised if the provided rpm-dir repository is not local

Inherited Members
KiwiError
KiwiError
message
class KiwiRuntimeConfigFileError(KiwiError):
580class KiwiRuntimeConfigFileError(KiwiError):
581    """
582    Exception raised if the provided custom runtime config
583    file could not be found
584    """

Exception raised if the provided custom runtime config file could not be found

Inherited Members
KiwiError
KiwiError
message
class KiwiRuntimeConfigFormatError(KiwiError):
587class KiwiRuntimeConfigFormatError(KiwiError):
588    """
589    Exception raised if the expected format in the yaml KIWI
590    runtime config file does not match
591    """

Exception raised if the expected format in the yaml KIWI runtime config file does not match

Inherited Members
KiwiError
KiwiError
message
class KiwiRuntimeError(KiwiError):
594class KiwiRuntimeError(KiwiError):
595    """
596    Exception raised if a runtime check has failed.
597    """

Exception raised if a runtime check has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiSatSolverJobError(KiwiError):
600class KiwiSatSolverJobError(KiwiError):
601    """
602    Exception raised if a sat solver job can not be done, e.g because
603    the requested package or collection does not exist in the registered
604    repository metadata
605    """

Exception raised if a sat solver job can not be done, e.g because the requested package or collection does not exist in the registered repository metadata

Inherited Members
KiwiError
KiwiError
message
class KiwiSatSolverJobProblems(KiwiError):
608class KiwiSatSolverJobProblems(KiwiError):
609    """
610    Exception raised if the sat solver operations returned with solver
611    problems e.g package conflicts
612    """

Exception raised if the sat solver operations returned with solver problems e.g package conflicts

Inherited Members
KiwiError
KiwiError
message
class KiwiSatSolverPluginError(KiwiError):
615class KiwiSatSolverPluginError(KiwiError):
616    """
617    Exception raised if the python solv module failed to load.
618    The solv module is provided by SUSE's rpm package python-solv
619    and provides a python binding to the libsolv C library
620    """

Exception raised if the python solv module failed to load. The solv module is provided by SUSE's rpm package python-solv and provides a python binding to the libsolv C library

Inherited Members
KiwiError
KiwiError
message
class KiwiAnyMarkupPluginError(KiwiError):
623class KiwiAnyMarkupPluginError(KiwiError):
624    """
625    Exception raised if the python anymarkup module failed to load.
626    """

Exception raised if the python anymarkup module failed to load.

Inherited Members
KiwiError
KiwiError
message
class KiwiMarkupConversionError(KiwiError):
629class KiwiMarkupConversionError(KiwiError):
630    """
631    Exception raised if the markup format conversion is not possible.
632    """

Exception raised if the markup format conversion is not possible.

Inherited Members
KiwiError
KiwiError
message
class KiwiSchemaImportError(KiwiError):
635class KiwiSchemaImportError(KiwiError):
636    """
637    Exception raised if the schema file could not be read
638    by lxml.RelaxNG.
639    """

Exception raised if the schema file could not be read by lxml.RelaxNG.

Inherited Members
KiwiError
KiwiError
message
class KiwiScriptFailed(KiwiError):
642class KiwiScriptFailed(KiwiError):
643    """
644    Exception raised if a user script returned with an exit code != 0.
645    """

Exception raised if a user script returned with an exit code != 0.

Inherited Members
KiwiError
KiwiError
message
class KiwiSetupIntermediateConfigError(KiwiError):
648class KiwiSetupIntermediateConfigError(KiwiError):
649    """
650    Exception raised if the setup of the temporary image system
651    configuration for the duration of the build process has
652    failed.
653    """

Exception raised if the setup of the temporary image system configuration for the duration of the build process has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiSolverRepositorySetupError(KiwiError):
656class KiwiSolverRepositorySetupError(KiwiError):
657    """
658    Exception raised if the repository type is not supported for
659    the creation of a SAT solvable
660    """

Exception raised if the repository type is not supported for the creation of a SAT solvable

Inherited Members
KiwiError
KiwiError
message
class KiwiSystemDeletePackagesFailed(KiwiError):
663class KiwiSystemDeletePackagesFailed(KiwiError):
664    """
665    Exception raised if the deletion of a package has failed in
666    the corresponding package manager instance.
667    """

Exception raised if the deletion of a package has failed in the corresponding package manager instance.

Inherited Members
KiwiError
KiwiError
message
class KiwiSystemInstallPackagesFailed(KiwiError):
670class KiwiSystemInstallPackagesFailed(KiwiError):
671    """
672    Exception raised if the installation of a package has failed in
673    the corresponding package manager instance.
674    """

Exception raised if the installation of a package has failed in the corresponding package manager instance.

Inherited Members
KiwiError
KiwiError
message
class KiwiSystemUpdateFailed(KiwiError):
677class KiwiSystemUpdateFailed(KiwiError):
678    """
679    Exception raised if the package upgrade has failed in
680    the corresponding package manager instance.
681    """

Exception raised if the package upgrade has failed in the corresponding package manager instance.

Inherited Members
KiwiError
KiwiError
message
class KiwiTargetDirectoryNotFound(KiwiError):
684class KiwiTargetDirectoryNotFound(KiwiError):
685    """
686    Exception raised if the specified target directory to store
687    the image results was not found.
688    """

Exception raised if the specified target directory to store the image results was not found.

Inherited Members
KiwiError
KiwiError
message
class KiwiTemplateError(KiwiError):
691class KiwiTemplateError(KiwiError):
692    """
693    Exception raised if the substitution of variables in a
694    configuration file template has failed.
695    """

Exception raised if the substitution of variables in a configuration file template has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiTypeNotFound(KiwiError):
698class KiwiTypeNotFound(KiwiError):
699    """
700    Exception raised if no build type was found in the XML description.
701    """

Exception raised if no build type was found in the XML description.

Inherited Members
KiwiError
KiwiError
message
class KiwiUnknownServiceName(KiwiError):
704class KiwiUnknownServiceName(KiwiError):
705    """
706    Exception raised if an unknown service name was provided
707    on the commandline.
708    """

Exception raised if an unknown service name was provided on the commandline.

Inherited Members
KiwiError
KiwiError
message
class KiwiUriOpenError(KiwiError):
711class KiwiUriOpenError(KiwiError):
712    """
713    Exception raised if the urllib urlopen request has failed
714    """

Exception raised if the urllib urlopen request has failed

Inherited Members
KiwiError
KiwiError
message
class KiwiUriStyleUnknown(KiwiError):
717class KiwiUriStyleUnknown(KiwiError):
718    """
719    Exception raised if an unsupported URI style was used in the
720    source definition of a repository.
721    """

Exception raised if an unsupported URI style was used in the source definition of a repository.

Inherited Members
KiwiError
KiwiError
message
class KiwiUriTypeUnknown(KiwiError):
724class KiwiUriTypeUnknown(KiwiError):
725    """
726    Exception raised if the protocol type of an URI is unknown
727    in the source definition of a repository.
728    """

Exception raised if the protocol type of an URI is unknown in the source definition of a repository.

Inherited Members
KiwiError
KiwiError
message
class KiwiValidationError(KiwiError):
731class KiwiValidationError(KiwiError):
732    """
733    Exception raised if the XML validation against the schema has failed.
734    """

Exception raised if the XML validation against the schema has failed.

Inherited Members
KiwiError
KiwiError
message
class KiwiVhdTagError(KiwiError):
737class KiwiVhdTagError(KiwiError):
738    """
739    Exception raised if the GUID tag is not provided in the
740    expected format.
741    """

Exception raised if the GUID tag is not provided in the expected format.

Inherited Members
KiwiError
KiwiError
message
class KiwiVolumeGroupConflict(KiwiError):
744class KiwiVolumeGroupConflict(KiwiError):
745    """
746    Exception raised if the requested LVM volume group already is
747    in use on the build system.
748    """

Exception raised if the requested LVM volume group already is in use on the build system.

Inherited Members
KiwiError
KiwiError
message
class KiwiVolumeManagerSetupError(KiwiError):
751class KiwiVolumeManagerSetupError(KiwiError):
752    """
753    Exception raised if the preconditions for volume mangement
754    support are not met or an attempt was made to create an
755    instance of a volume manager for an unsupported volume
756    management system.
757    """

Exception raised if the preconditions for volume mangement support are not met or an attempt was made to create an instance of a volume manager for an unsupported volume management system.

Inherited Members
KiwiError
KiwiError
message
class KiwiSnapshotManagerSetupError(KiwiError):
760class KiwiSnapshotManagerSetupError(KiwiError):
761    """
762    Exception raised if an attempt was made to create an
763    instance of a snapshot manager for an unsupported snapshot
764    management system.
765    """

Exception raised if an attempt was made to create an instance of a snapshot manager for an unsupported snapshot management system.

Inherited Members
KiwiError
KiwiError
message
class KiwiVolumeRootIDError(KiwiError):
768class KiwiVolumeRootIDError(KiwiError):
769    """
770    Exception raised if the root volume can not be found. This
771    concept currently exists only for the btrfs subvolume system.
772    """

Exception raised if the root volume can not be found. This concept currently exists only for the btrfs subvolume system.

Inherited Members
KiwiError
KiwiError
message
class KiwiRootImportError(KiwiError):
775class KiwiRootImportError(KiwiError):
776    """
777    Exception is raised when something fails during the root import
778    procedure.
779    """

Exception is raised when something fails during the root import procedure.

Inherited Members
KiwiError
KiwiError
message
class KiwiContainerBuilderError(KiwiError):
782class KiwiContainerBuilderError(KiwiError):
783    """
784    Exception is raised when something fails during a container image
785    build procedure.
786    """

Exception is raised when something fails during a container image build procedure.

Inherited Members
KiwiError
KiwiError
message
class KiwiSizeError(KiwiError):
789class KiwiSizeError(KiwiError):
790    """
791    Exception is raised when the convertion from a given size in string
792    format to a number.
793    """

Exception is raised when the convertion from a given size in string format to a number.

Inherited Members
KiwiError
KiwiError
message
class KiwiCommandCapabilitiesError(KiwiError):
796class KiwiCommandCapabilitiesError(KiwiError):
797    """
798    Exception is raised when some the CommandCapabilities methods fails,
799    usually meaning there is some issue trying to parse some command output.
800    """

Exception is raised when some the CommandCapabilities methods fails, usually meaning there is some issue trying to parse some command output.

Inherited Members
KiwiError
KiwiError
message
class KiwiDecodingError(KiwiError):
803class KiwiDecodingError(KiwiError):
804    """
805    Exception is raised on decoding literals failure
806    """

Exception is raised on decoding literals failure

Inherited Members
KiwiError
KiwiError
message
class KiwiBuildahError(KiwiError):
809class KiwiBuildahError(KiwiError):
810    """
811    Exception raised on inconsistent buildah class calls
812    """

Exception raised on inconsistent buildah class calls

Inherited Members
KiwiError
KiwiError
message
class KiwiFileAccessError(KiwiError):
815class KiwiFileAccessError(KiwiError):
816    """
817    Exception raised if accessing a file or its metadata failed
818    """

Exception raised if accessing a file or its metadata failed

Inherited Members
KiwiError
KiwiError
message
class KiwiShellVariableValueError(KiwiError):
821class KiwiShellVariableValueError(KiwiError):
822    """
823    Exception raised if a given python value cannot be converted
824    into a string representation for use in shell scripts
825    """

Exception raised if a given python value cannot be converted into a string representation for use in shell scripts

Inherited Members
KiwiError
KiwiError
message
class KiwiIncludFileNotFoundError(KiwiError):
828class KiwiIncludFileNotFoundError(KiwiError):
829    """
830    Exception raised if the file reference in an <include>
831    statement could not be found
832    """

Exception raised if the file reference in an statement could not be found

Inherited Members
KiwiError
KiwiError
message
class KiwiUmountBusyError(KiwiError):
835class KiwiUmountBusyError(KiwiError):
836    """
837    Exception raised if the attempt to umount a resource has failed
838    """

Exception raised if the attempt to umount a resource has failed

Inherited Members
KiwiError
KiwiError
message
class KiwiCustomPartitionConflictError(KiwiError):
841class KiwiCustomPartitionConflictError(KiwiError):
842    """
843    Exception raised if the entry in a custom partition setup
844    conflicts with an existing partition table layout setting
845    """

Exception raised if the entry in a custom partition setup conflicts with an existing partition table layout setting

Inherited Members
KiwiError
KiwiError
message
class KiwiVolumeTooSmallError(KiwiError):
848class KiwiVolumeTooSmallError(KiwiError):
849    """
850    Exception raised if the specified volume size is smaller
851    than the required bytes to store the data
852    """

Exception raised if the specified volume size is smaller than the required bytes to store the data

Inherited Members
KiwiError
KiwiError
message
class KiwiPartitionTooSmallError(KiwiError):
855class KiwiPartitionTooSmallError(KiwiError):
856    """
857    Exception raised if the specified partition size is smaller
858    than the required bytes to store the data
859    """

Exception raised if the specified partition size is smaller than the required bytes to store the data

Inherited Members
KiwiError
KiwiError
message
class KiwiCredentialsError(KiwiError):
862class KiwiCredentialsError(KiwiError):
863    """
864    Exception raised if required credentials information is missing
865    """

Exception raised if required credentials information is missing

Inherited Members
KiwiError
KiwiError
message
class KiwiOffsetError(KiwiError):
868class KiwiOffsetError(KiwiError):
869    """
870    Exception raised if the offset for a seek operation does not
871    match the expected data to write
872    """

Exception raised if the offset for a seek operation does not match the expected data to write

Inherited Members
KiwiError
KiwiError
message
class KiwiBootLoaderDiskPasswordError(KiwiError):
875class KiwiBootLoaderDiskPasswordError(KiwiError):
876    """
877    Exception raised if the disk password could not be set
878    """

Exception raised if the disk password could not be set

Inherited Members
KiwiError
KiwiError
message
class KiwiEnclaveFormatError(KiwiError):
881class KiwiEnclaveFormatError(KiwiError):
882    """
883    Exception raised if no enclave_format attribute specified
884    for the selected build type
885    """

Exception raised if no enclave_format attribute specified for the selected build type

Inherited Members
KiwiError
KiwiError
message
class KiwiCATargetDistributionError(KiwiError):
888class KiwiCATargetDistributionError(KiwiError):
889    """
890    Exception raised if no CA target distribution can be found
891    but the request to import custom CA certificates was issued
892    """

Exception raised if no CA target distribution can be found but the request to import custom CA certificates was issued

Inherited Members
KiwiError
KiwiError
message