Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-9563

rhoso-18 - edpm image 4k sector support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • diskimage-builder
    • 5
    • True
    • Hide

      Waiting for delivery of RELDEL-4872

      Show
      Waiting for delivery of RELDEL-4872
    • False
    • ?
    • rhos-ops-day1day2-hardprov
    • None
    • Hide
      Cause:

      EDPM node disk images only supports a 512 bytes block size, which is incompatible with devices requiring a 4KiB (4096 byte) block size.

      Consequence:

      EDPM nodes fail to to deploy. Post-deployment partitioning validation finds no partitions or structures written to disk after the deployment operation, because the image was based on a 512 Byte layout. The host requires a 4KiB image, but the supplied image cannot be booted from that device.

      Workaround:

      A knowledge base article exists, https://access.redhat.com/articles/7096924, which can be used as the basis of a workaround to craft a custom 4KiB image based upon the existing image. Furthermore, depending on the block device controller block device (RAID or Disk) controller, settings may be available which permits setting a preferred default, but such will be highly vendor and configuration specific.

      Result:

      A modified EDPM image boots on newer hardware supporting only 4kB blocks, but also cannot be used on hardware which requires the 512 Byte block size. These block device required block sizes result in mutually incompatible images
      Show
      Cause: EDPM node disk images only supports a 512 bytes block size, which is incompatible with devices requiring a 4KiB (4096 byte) block size. Consequence: EDPM nodes fail to to deploy. Post-deployment partitioning validation finds no partitions or structures written to disk after the deployment operation, because the image was based on a 512 Byte layout. The host requires a 4KiB image, but the supplied image cannot be booted from that device. Workaround: A knowledge base article exists, https://access.redhat.com/articles/7096924, which can be used as the basis of a workaround to craft a custom 4KiB image based upon the existing image. Furthermore, depending on the block device controller block device (RAID or Disk) controller, settings may be available which permits setting a preferred default, but such will be highly vendor and configuration specific. Result: A modified EDPM image boots on newer hardware supporting only 4kB blocks, but also cannot be used on hardware which requires the 512 Byte block size. These block device required block sizes result in mutually incompatible images
    • Known Issue
    • 2023Q4
    • Important

      OpenStackDataPlaneNodeSet deployment fails on Dell R660 server with the following error:

       Normal ProvisioningError 30m metal3-baremetal-controller Image provisioning failed: Deploy step deploy.write_image failed on node b1376931-5e3b-4b3b-980c-7f07cdb75f01. Unable to find a valid partition table on the disk after writing the image. The image may be corrupted. Error: Unexpected error while running command. Command: parted -s -m /dev/sda unit MiB print Exit code: 1 Stdout: 'BYT;\n/dev/sda:915200MiB:scsi:4096:4096:unknown:DELL RAID:;\n' Stderr: 'Error: /dev/sda: unrecognised disk label\n'

       

      The image being copied is the `edpm-hardened-uefi.qcow2` image and it seems to have valid partitions:

      [cwl@bastion 3.BMH]$ oc -n openstack get csv openstack-operator.v1.0.0 -o yaml | grep harden value: registry.redhat.io/rhoso/edpm-hardened-uefi-rhel9@sha256:0b4384c0e3ddbec6a8e19af336329a2a45299d4a9c38f06a5aba16b0bcdb7c15 - image: registry.redhat.io/rhoso/edpm-hardened-uefi-rhel9@sha256:0b4384c0e3ddbec6a8e19af336329a2a45299d4a9c38f06a5aba16b0bcdb7c15

       

      [cwl@bastion OSP]$ qemu-img convert -f qcow2 -O raw ./edpm-hardened-uefi.qcow2 edpm-hardened-uefi.raw

      [cwl@bastion OSP]$ fdisk -l edpm-hardened-uefi.raw

      Disk edpm-hardened-uefi.raw: 5 GiB, 5368709120 bytes, 10485760 sectors

      Units: sectors of 1 * 512 = 512 bytes

      Sector size (logical/physical): 512 bytes / 512 bytes

      I/O size (minimum/optimal): 512 bytes / 512 bytes

      Disklabel type: gpt

      Disk identifier: F4F2455E-ED54-41F6-8806-90DB34206C23

       

      Device                    Start     End Sectors Size Type

      edpm-hardened-uefi.raw1    2048   411647  409600  200M EFI System

      edpm-hardened-uefi.raw2  411648   428031   16384    8M BIOS boot

      edpm-hardened-uefi.raw3  428032  1452031 1024000  500M Linux extended boot

      edpm-hardened-uefi.raw4 1452032 10483711 9031680  4.3G Linux filesystem

      [cwl@bastion OSP]$

       

      Cluster is running OCP 4.16.5. OpenStack operators were deployed from the stable–v1.0 channel:

      [cwl@bastion OSP]$ oc -n openstack-operators get csv

      NAME                                    DISPLAY                          VERSION               REPLACES                               PHASE

      barbican-operator.v1.0.0                Barbican Operator                1.0.0                                                        Succeeded

      cinder-operator.v1.0.0                  Cinder Operator                  1.0.0                                                        Succeeded

      cluster-observability-operator.0.3.1    Cluster Observability Operator   0.3.1                 cluster-observability-operator.0.2.0   Succeeded

      designate-operator.v1.0.0               Designate Operator               1.0.0                                                        Succeeded

      glance-operator.v1.0.0                  Glance Operator                  1.0.0                                                        Succeeded

      heat-operator.v1.0.0                    Heat Operator                    1.0.0                                                        Succeeded

      horizon-operator.v1.0.0                 Horizon Operator                 1.0.0                                                        Succeeded

      infra-operator.v1.0.0                   OpenStack Infra                  1.0.0                                                        Succeeded

      ironic-operator.v1.0.0                  Ironic Operator                  1.0.0                                                        Succeeded

      keystone-operator.v1.0.0                Keystone Operator                1.0.0                                                        Succeeded

      manila-operator.v1.0.0                  Manila Operator                  1.0.0                                                        Succeeded

      mariadb-operator.v1.0.0                 MariaDB Operator                 1.0.0                                                        Succeeded

      metallb-operator.v4.16.0-202408051837   MetalLB Operator                 4.16.0-202408051837                                          Succeeded

      neutron-operator.v1.0.0                 Neutron Operator                 1.0.0                                                        Succeeded

      nova-operator.v1.0.0                    Nova Operator                    1.0.0                                                        Succeeded

      octavia-operator.v1.0.0                 Octavia Operator                 1.0.0                                                        Succeeded

      openstack-ansibleee-operator.v1.0.0     OpenStackAnsibleEE               1.0.0                                                        Succeeded

      openstack-baremetal-operator.v1.0.0     OpenStack Baremetal Operator     1.0.0                                                        Succeeded

      openstack-operator.v1.0.0               OpenStack                        1.0.0                                                        Succeeded

      ovn-operator.v1.0.0                     OVN Operator                     1.0.0                                                        Succeeded

      placement-operator.v1.0.0               Placement Operator               1.0.0                                                        Succeeded

      rabbitmq-cluster-operator.v1.0.0        RabbitMQ Cluster Operator        1.0.0                                                        Succeeded

      swift-operator.v1.0.0                   Swift operator                   1.0.0                                                        Succeeded

      telemetry-operator.v1.0.0               Telemetry Operator               1.0.0                                                        Succeeded

       

      Attaching journalctl logs from the server as well as sos report from the server with manually deployed RHEL.

              Unassigned Unassigned
              abokhari@redhat.com Ali Bokhari
              rhos-dfg-hardprov
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: