Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-47113

As an Anaconda user, I would like to automate the storage layout from the KS without showing the StorageSpoke

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • anaconda
    • None
    • Low
    • sst_installer
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • All
    • None

      What were you trying to do that didn't work?

      Here is the customer question:

      However when users install our product they often press the "Installation Destination" section on the Anaconda Installation screen. This overwrites the partition configuration defined in the kickstart file and causes the partition configuration to be incorrect if the system is installed. Is it possible to disable the Installation Destination option during the installation process (see attached image) so users are unable to click on it?

      To do so, they use a KS with a specific partition layout and thanks to a product.img they customized `anaconda.conf` with `hidden_spokes = StorageSpoke`.

      The spoke in question is not displayed as expected, but the KS storage directives are ignored like if it was completely missing, making the feature buggy. The issue can also be reproduced with `autopart`.

      Please provide the package NVR for which bug is seen:

      anaconda-33.16.10.5-1.el8

      How reproducible:

      Always

      Steps to reproduce

      1. Mount the squashfs install.img from the ISO, then mount the XFS LiveOS/rootfs.img.
      2. Create a temporary directory `mkdir -p /tmp/product/etc/anaconda`
      3. Copy anaconda.conf from the rootfs.img into the above directory and modify it with `hidden_spokes = StorageSpoke`
      4. Make a gzipped cpio archive from /tmp/product and pass this archive image to the installer by appending inst.updates=<URL_TO_PRODUCT_IMG>

      Expected results

      The StorageSpoke is not displayed AND the KS directives are taken into account.

      Actual results

      $ grep -e StorageSpoke -e Not.enough.space anaconda.logĀ 
      14:25:02,222 INF ui.common: Spoke StorageSpoke will not be displayed because it is hidden by the Anaconda configuration file.
      10:25:20,829 ERR ui.gui.hubs: Not enough space in file systems for the current software selection. 

      It is followed by various traceback because the inst dest is not set.

      Attaching the anaconda's log from my reproducer (did it with el8.8, sorry for that).

        1. anaconda.tgz
          94 kB
          Christophe Besson

            anaconda-maint-list anaconda-maint-list
            rhn-support-cbesson Christophe Besson
            anaconda-maint-list anaconda-maint-list
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: