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

Network assignment fails in VMware during provisioning

XMLWordPrintable

    • Important
    • To Do
    • No

      Description of problem:

      Provisioning fails due to failure to find network from FOG.

      Customer is on Satellite 6.11, trying to provision a new host with pxe boot.

      This looks like the same issue from BZ 1731516.

      2022-08-23T11:39:47 [I|app|016ce812] Parameters: {"utf8"=>"✓", "authenticity_token"=>"BedXCmtAyP/yTv371pLPKPKfxJIW2k+BZzEUlNaZstopsmBYq6VWew532hUca5z5VmdmgO8V7qMrvYWbX9eBIw==", "host"=>{"name"=>"jdcutrhel8cg1", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"22", "content_facet_attributes"=>

      {"lifecycle_environment_id"=>"5", "content_view_id"=>"30", "content_source_id"=>"1", "kickstart_repository_id"=>"2306"}

      , "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"", "name"=>"jdcutrhel8cg1", "domain_id"=>"1", "subnet_id"=>"26", "ip"=>"10.140.50.13", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>

      {"type"=>"VirtualVmxnet3", "network"=>"dvportgroup-444"}}}, "compute_attributes"=>{"cpus"=>"4", "corespersocket"=>"1", "memory_mb"=>"8192", "firmware"=>"bios", "cluster"=>"JDC-UNIX-App-Hosting-01", "resource_pool"=>"Resources", "path"=>"/Datacenters/Jackson Data Center/vm", "guest_id"=>"rhel8_64Guest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"1", "cpuHotAddEnabled"=>"1", "add_cdrom"=>"1", "boot_order"=>["network", "disk"], "start"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":true,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"sizeGb\":60,\"storagePod\":\"JDC-UNIX-App-Hosting-01_t0_general\",\"datastore\":null}]}"}, "architecture_id"=>"1", "operatingsystem_id"=>"26", "provision_method"=>"bootdisk", "build"=>"1", "medium_id"=>"", "ptable_id"=>"264", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"37-Users", "enabled"=>"1", "comment"=>"L3-Linux test/development host", "overwrite"=>"false"}, "media_selector"=>"synced_content"}
      2022-08-23T11:39:47 [D|tax|016ce812] Current location set to none
      2022-08-23T11:39:47 [D|tax|016ce812] Current organization set to ENTERGY
      2022-08-23T11:39:47 [D|app|016ce812] Unpermitted parameter: :media_selector
      2022-08-23T11:39:47 [D|app|016ce812] Building token starting with 849d9d SHA256:f5ca97a04db6bac916ad30fe1fe53542dd529eaead0f01a4de9a9986f5fad2fe
      2022-08-23T11:39:47 [D|tax|016ce812] Current organization set to ENTERGY
      2022-08-23T11:39:47 [D|tax|016ce812] Current location set to Jackson
      2022-08-23T11:39:47 [D|tax|016ce812] Current location set to none
      2022-08-23T11:39:47 [D|tax|016ce812] Current organization set to ENTERGY
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Deploy TFTP PXELinux config for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Deploy TFTP PXEGrub2 config for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Deploy TFTP PXEGrub config for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Deploy TFTP iPXE config for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Fetch TFTP boot files for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Set up compute instance jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Query instance details for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Power up compute instance jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Generating ISO image for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Upload ISO image to datastore for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Enqueued task 'Attach ISO image to CDROM drive for jdcutrhel8cg1.prod.entergy.com' to 'Host::Managed Main' queue
      2022-08-23T11:39:47 [D|app|016ce812] Processing task 'Set up compute instance jdcutrhel8cg1.prod.entergy.com' from 'Host::Managed Main'
      2022-08-23T11:39:47 [I|app|016ce812] Adding Compute instance for jdcutrhel8cg1.prod.entergy.com
      2022-08-23T11:39:47 [D|app|016ce812] Reading from compute resource cache: networks
      2022-08-23T11:39:49 [D|app|016ce812] Processing task 'Query instance details for jdcutrhel8cg1.prod.entergy.com' from 'Host::Managed Main'
      2022-08-23T11:39:49 [D|app|016ce812] Orchestration::Compute: Trying to match network interfaces from fog <Fog::Vsphere::Compute::Interfaces
      016ce812 | server_id="50022428-b4a0-e51c-c165-36763e8a3181"
      016ce812 | [
      016ce812 | <Fog::Vsphere::Compute::Interface
      016ce812 | mac="00:50:56:82:78:6e",
      016ce812 | network="dvportgroup-161924",
      016ce812 | name="Network adapter 1",
      016ce812 | status="untried",
      016ce812 | connected=false,
      016ce812 | summary="DVSwitch: 5f 70 22 50 43 d0 52 b0-2c 8d bf 06 94 b6 be 16",
      016ce812 | type=RbVmomi::VIM::VirtualVmxnet3,
      016ce812 | key=4000,
      016ce812 | virtualswitch=nil,
      016ce812 | server_id="50022428-b4a0-e51c-c165-36763e8a3181"
      016ce812 | >
      016ce812 | ]
      016ce812 | >
      2022-08-23T11:39:49 [W|app|016ce812] Orchestration::Compute: Could not match network interface #<Nic::Managed id: nil, mac: nil, ip: "10.140.50.13", type: "Nic::Managed", name: "jdcutrhel8cg1.prod.entergy.com", host_id: nil, subnet_id: 26, domain_id: 1, attrs: {}, created_at: nil, updated_at: nil, provider: nil, username: nil, password: nil, virtual: false, link: true, identifier: "", tag: "", attached_to: "", managed: true, mode: "balance-rr", attached_devices: "", bond_options: "", primary: true, provision: true, compute_attributes: {"type"=>"VirtualVmxnet3", "network"=>"dvportgroup-444"}

      , execution: true, ip6: "", subnet6_id: nil>
      2022-08-23T11:39:49 [W|app|016ce812] Could not find virtual machine network interface matching 10.140.50.13

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

      Satellite 6.11.1 and VMWare 7.0.3.00700

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-gscarbor Gary Scarborough
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: