summaryrefslogtreecommitdiffstats
path: root/textw/partition_text.py
Commit message (Collapse)AuthorAgeFilesLines
* error messages of zFCP on s390: log or pass to the UISteffen Maier2009-07-101-1/+4
|
* Initial FCoE supportHans de Goede2009-07-021-1/+28
| | | | | | | | | | | | | | | This patch adds support for using FCoE during the installation. This patch merely lays the initial ground work, there is more work todo: - The system will not boot without manual help after the install, as dracut / mkinitrd do not support FCoE yet - If FCoE is not used for / but for example for /srv, then information about the nic used for FCoE needs to be written in a to be defined config file in the system, and rc.sysinit needs to be thought to read this file and bring up FCoE SAN's / Fabrics not used for / - kickstart support for FCoE still needs to be done
* Tell booty to rescan for bootable drivers when an extra disks get addedHans de Goede2009-06-181-0/+1
| | | | | When manually adding an iscsi disk it will not show up in the where to install the bootloader dropdown, this patch fixes this.
* Fix discovery of existing raid/lvm for ks install without clearpart ↵Radek Vykydal2009-06-051-1/+5
| | | | | | | | | | | | | | | | | (#503310) (#503681) Default clearPartType to None so that all devices are discovered during storage initialization step, and UI parttype can be set to its default "Replace existing linux system". Also set clearPartType appropriately when going back from partition dialog so that all devices are discovered during storage reset. There is one case that can't be resolved this way: clearpart --all or --linux is set in ks and "Create custom layout" is selected in parttype UI step. Because of ks setting, storage initialization doesn't discover devices (RAID, LVM) on partitions that are to be cleared and therefore they are not present in custom partition dialog. This can be workarounded by going back and than again to custom partitioning dialog. I think we should grey-out type of partitioning combo set to value from ks clearpart command.
* Forward port various iscsi fixes from 5.4 iscsi workHans de Goede2009-05-061-9/+0
| | | | | | | | | | | | | | This patch contains the following small fixes: - There is no need to convert None as username/pass into an empty string pylibiscsi will happily take either - Only set the initiator name from ibft if the ibft flag is present - Show an error when no username is specified, but a password / reverse username / pass is given - Do not backtrace when the following happens: 1) Manually add iscsi disk 2) enter wrong IP / username without pass 3) Fix this *and* change the initiator name initially choosen - Allow having only a reverse password without a reverse username
* Remove the message saying you can make your own layout (#495015).Chris Lumens2009-04-091-1/+1
|
* Make the disk model an attribute of DiskDevice.David Lehman2009-04-021-1/+1
|
* Fix text mode autopartitioning (#491282).Chris Lumens2009-03-201-1/+2
| | | | | (1) We need to use the device's name instead of its path for clearPartDisks. (2) We need to set doAutoPart since text mode is autopart only.
* Don't try to fit the whole StorageDevice.__str__ output into the UI (#490406).Chris Lumens2009-03-181-1/+1
|
* It's clearPartDisks, not clearPartDrives.Chris Lumens2009-03-121-2/+2
|
* Lots of little updates to make things use the new storage module.David Lehman2009-02-241-22/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* Use device property on Disk and Geometry objects.David Cantrell2009-02-121-2/+2
| | | | | The property name for Device objects on a Disk or Geometry is 'device', not 'dev'.
* Removed partedUtils.getDeviceSizeMB(), functionality now in pyparted.David Cantrell2009-02-121-1/+1
| | | | | The parted.Device object now provides a getSize() method to return the size of the device in a human-readable format.
* Rewrite iscsi code using libiscsiHans de Goede2009-02-111-1/+1
| | | | | | | | | | | | | | | | | | | This patch replaces the iscsi.py code with new code using libiscsi, getting rid of the awefull configfile mangling to set auth info hack, and in general making it much cleaner. Fixes: -Report error when we cannot add a disk instead of silently failing (461830) -Report error when trying to use iscsi from kickstart without having an iscsiname directive first (463156) -Better feedback while scanning iscsi disks -Make ibft work with chap and 2-way chap -Make ibft configured disks available for upgrades and in rescue mode -Make ibft boot work even when iscsi-initiator-utils is installed after the kernel in the transaction Note: libiscsi is available in Fedora now
* Remove interactive partitioning. Now you only get autopart.Chris Lumens2009-02-091-1473/+11
| | | | | You can, however, still select the drives to use and the basic layout to use. You can also still use kickstart.
* Completely remove the bootloader step from interactive text mode.Chris Lumens2009-02-091-2/+1
|
* Make text for autopartitioning types clearer (#441350)Jeremy Katz2008-12-011-8/+4
| | | | | We used "default" a lot in the text. Change based on notting's suggestion and make the intro text a little clearer to match
* iscsi do missing value check only onceHans de Goede2008-11-111-18/+0
| | | | | | | Currently the iscsi code checks for giving a password but not a username or vica versa in both the interface and the iscsi code, this patch removes the unneeded check from the interface code, this is a preparation patch for fixing #463156, #461830
* Get the right list elements for the iscsi text interface (#466902).Chris Lumens2008-10-311-1/+1
|
* Don't traceback when displaying error messages (#469372).Chris Lumens2008-10-311-2/+2
|
* Add full CHAP support to iSCSI. (rhbz#432819)Hans de Goede2008-09-151-2/+35
| | | | | Forwart port of rhel-5 patch by pjones, commit-id: e9556f9e39629534b4b44ba64c7fef6b981b4f0e
* Use print() as a function.Peter Jones2008-09-081-1/+1
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-2/+3
| | | | * po/sk.po: Typo fix.
* Add efi to the ignoreable filesystem list.Peter Jones2008-03-141-1/+1
|
* Fix traceback with text mode adding iscsi (#436480)Jeremy Katz2008-03-071-1/+2
|
* Why do we still have this crud?Chris Lumens2008-01-111-3/+3
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ license boilerplates for textw/*.py files.David Cantrell2007-12-171-7/+14
|
* Fix text mode to be able to autopartition (#409301)Jeremy Katz2007-12-101-1/+2
|
* With moving partitioning, we should do a confirmation before we write thingsJeremy Katz2007-11-291-3/+0
| | | | | out to disk so do that check in partitioningComplete(). Therefore remove the queryAutoPartOK() which is superfluous
* no more partitioning.pyJeremy Katz2007-11-061-1/+0
|
* A couple more pychecker error fixes. That should do it for now.Chris Lumens2007-09-191-1/+1
|
* Fix converting UI selections into which drives should be used for partitioningChris Lumens2007-08-071-1/+1
| | | | (#247997, #251150).
* Remove disabled badblocks checking code.Chris Lumens2007-08-031-68/+22
|
* 2007-05-02 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-05-021-1/+4
| | | | | * textw/partition_text.py (PartitionTypeWindow.__call__): Don't traceback if there aren't disks (#238695)
* More intelligently assign RAID minor numbers in the text interface.Chris Lumens2007-04-111-9/+24
|
* * textw/partition_text.py (PartitionTypeWindow): Modify device listDavid Cantrell2007-04-031-9/+13
| | | | to provide size and model information like we do in iw mode.
* String fixes (#203346).Chris Lumens2007-03-151-4/+4
|
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-2/+2
| | | | | | * textw/partition_text.py (PartitionTypeWindow.addIscsiDriveDialog): Mark prompts for translation (#231274)
* Apply a patch to clean up strings (Paul W. Frields <stickster@gmail.com>,Chris Lumens2007-02-271-7/+7
| | | | #204564).
* Fix traceback when cancel is pressed (#229694).Chris Lumens2007-02-221-2/+2
|
* 2007-01-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-031-1/+9
| | | | | * textw/partition_text.py (PartitionWindow.editLVRequest): Don't traceback if they neglect to enter an lvsize (#221253)
* * partedUtils.py (DiskSet.openDevices): Don't always dasdfmt on zSeries,David Cantrell2006-12-131-1/+1
| | | | | | | | | | | | only do that for disks that are flagged to be cleared or if the init all flag is set. * upgrade.py (findExistingRoots): Do not pass anaconda object reference to findExistingRootPartitions(). * iw/autopart_type.py (PartitionTypeWindow): Do not pass intf to checkNoDisks(). * textw/partition_text.py: Likewise.
* 2006-12-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-12-071-0/+3
| | | | | * textw/partition_text.py (PartitionTypeWindow.addDriveDialog): Don't traceback if we don't have iscsi (#218513)
* Set the RAID minor number on new RAID requests (#215231).Chris Lumens2006-11-171-3/+4
|
* 2006-11-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-11-171-1/+4
| | | | | | | | * iscsi.py (has_iscsi): Add a method so that we can find out if iscsi is really available (#216128) * iw/autopart_type.py (PartitionTypeWindow.addDrive): And don't allow trying to add iscsi drives if we don't have iscsi stuff. * textw/partition_text.py: Likewise.
* Forget partitioning changes when going back to the parttype screen (#211255).Chris Lumens2006-10-191-0/+3
|
* Don't check the updates image source by default in the partitioning UI.Chris Lumens2006-09-281-1/+4
|
* 2006-09-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-271-46/+43
| | | | | * textw/partition_text.py (PartitionTypeWindow.__call__): Fix cases where we could traceback (#208101)
* 2006-09-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-261-0/+2
| | | | | * textw/partition_text.py (PartitionTypeWindow.__call__): Fix the help line back