Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-21034

Provisioning vm host fails with error "Failed to attach ISO image to CDROM drive of instance client.example.com: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on)".

XMLWordPrintable

    • 0
    • False
    • Important
    • None
    • None
    • None
    • None

      Description of problem:

      • Provisioning virtual machines in the VMware platform vSphere 8.0 via satellite version 6.13.4 using the Bootdisk Method (BIOS and UEFI) failed to create the host with the error.

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

      6.13.4

      How reproducible:

      100% (Customer's env)

      Steps to Reproduce:
      1. Provision a host using the Satellite server.
      2. While the host is provisioning, it fails with the error.

      Actual results:

      ==========================
      [W|app|eb9fe95d] Failed to attach ISO image to CDROM drive of instance client.example.com: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
      [I|app|eb9fe95d] Backtrace for 'Failed to attach ISO image to CDROM drive of instance client.example.com: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).' error (RbVmomi::Fault): InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
      eb9fe95d | /usr/share/gems/gems/rbvmomi2-3.6.0/lib/rbvmomi/vim/Task.rb:15:in `wait_for_completion'
      eb9fe95d | /usr/share/gems/gems/fog-vsphere-3.6.2/lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb:10:in `vm_reconfig_hardware'
      eb9fe95d | /usr/share/gems/gems/fog-vsphere-3.6.2/lib/fog/vsphere/requests/compute/vm_reconfig_cdrom.rb:32:in `vm_reconfig_cdrom'
      eb9fe95d | /usr/share/gems/gems/foreman_bootdisk-21.0.3/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb:43:in `iso_attach'
      eb9fe95d | /usr/share/gems/gems/foreman_bootdisk-21.0.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:63:in `bootdisk_attach_iso'
      eb9fe95d | /usr/share/gems/gems/foreman_bootdisk-21.0.3/app/models/concerns/foreman_bootdisk/orchestration/compute.rb:89:in `setAttachIsoImage'
      ==========================

      Expected results:

      The host should be provisioned without any error.

      Additional info:

      Check the attached file for the complete log.

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Shubham Ganar Shubham Ganar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: