Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-5068

[4.13] virtual media provisioning fails when iLO Ironic driver is used

XMLWordPrintable

    • Moderate
    • 3
    • Metal Platform 229, Metal Platform 230
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, when you attempted to deploy an {product-title} cluster node on a server that is configured with the Integrated Lights-Out (iLO) Management Interface Driver, provisioning of the node would fail. You would receive an error message similar to "An auth plugin is required to determine endpoint URL". This issue occurs because of a missing `[ilo]/use_web_server_for_images` configuration parameter in the iLO driver that causes the driver to attempt to use object storage as the default storage mechanism. Object storage is not present in the product. The {product-title} 4.13 version and later versions fix this issue by including `[ilo]/use_web_server_for_images` in the iLO driver's configuration, which ensures that the iLO driver uses a web server running in the metal3 pod. (link:https://issues.redhat.com/browse/OCPBUGS-5068[*OCPBUGS-5068*])
      Show
      Previously, when you attempted to deploy an {product-title} cluster node on a server that is configured with the Integrated Lights-Out (iLO) Management Interface Driver, provisioning of the node would fail. You would receive an error message similar to "An auth plugin is required to determine endpoint URL". This issue occurs because of a missing `[ilo]/use_web_server_for_images` configuration parameter in the iLO driver that causes the driver to attempt to use object storage as the default storage mechanism. Object storage is not present in the product. The {product-title} 4.13 version and later versions fix this issue by including `[ilo]/use_web_server_for_images` in the iLO driver's configuration, which ensures that the iLO driver uses a web server running in the metal3 pod. (link: https://issues.redhat.com/browse/OCPBUGS-5068 [* OCPBUGS-5068 *])
    • Bug Fix
    • Done

      Description of problem:

      virtual media provisioning fails when iLO Ironic driver is used

      Version-Release number of selected component (if applicable):

      4.13

      How reproducible:

      Always

      Steps to Reproduce:

      1. attempt virtual media provisioning on a node configured with ilo-virtualmedia:// drivers
      2.
      3.
      

      Actual results:

      Provisioning fails with "An auth plugin is required to determine endpoint URL" error

      Expected results:

      Provisioning succeeds

      Additional info:

      Relevant log snippet:
      
      3742 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector [None req-e58ac1f2-fac6-4d28-be9e-983fa900a19b - - - - - -] Unable to start managed inspection for node e4445d43-3458-4cee-9cbe-6da1de75      78cd: An auth plugin is required to determine endpoint URL: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
       3743 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector Traceback (most recent call last):
       3744 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/drivers/modules/inspector.py", line 210, in _start_managed_inspection
       3745 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     task.driver.boot.prepare_ramdisk(task, ramdisk_params=params)
       3746 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic_lib/metrics.py", line 59, in wrapped
       3747 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     result = f(*args, **kwargs)
       3748 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/drivers/modules/ilo/boot.py", line 408, in prepare_ramdisk
       3749 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     iso = image_utils.prepare_deploy_iso(task, ramdisk_params,
       3750 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/drivers/modules/image_utils.py", line 624, in prepare_deploy_iso
       3751 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     return prepare_iso_image(inject_files=inject_files)
       3752 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/drivers/modules/image_utils.py", line 537, in _prepare_iso_image
       3753 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     image_url = img_handler.publish_image(
       3754 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/drivers/modules/image_utils.py", line 193, in publish_image
       3755 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     swift_api = swift.SwiftAPI()
       3756 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector   File "/usr/lib/python3.9/site-packages/ironic/common/swift.py", line 66, in __init__
       3757 2022-12-19T19:02:05.997747170Z 2022-12-19 19:02:05.995 1 ERROR ironic.drivers.modules.inspector     endpoint = keystone.get_endpoint('swift', session=session)

            janders@redhat.com Jacob Anders
            janders@redhat.com Jacob Anders
            Jad Haj Yahya Jad Haj Yahya
            Darragh Fitzmaurice Darragh Fitzmaurice
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: