-
Bug
-
Resolution: Done-Errata
-
Major
-
6.10.7
-
1
-
False
-
-
False
-
CLOSED
-
7,800
-
True
-
Rocket
-
Sprint 106, Sprint 107, Sprint 109, Sprint 110, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Important
-
Customer Escalated, Customer Facing
Description of problem:
VMware Image-based Provisioning fails with error-: Could not find virtual machine network interface matching <IP>
Version-Release number of selected component (if applicable):
Satellite 6.10.7
tfm-rubygem-fog-vsphere.noarch 0:3.5.1-1.el7sat
How reproducible:
100% (Customer's env)
Steps to Reproduce:
1. Deploy a fresh satellite (Version: 6.10.7)
2. Add VMware as compute resource and associate an image to the compute resource().
3. Try to deploy the host using the same image (Provisioning method:cloud-init and userdata templates).
Actual results:
Image-based build fails with errors :
-----------------
==> /var/log/foreman/production.log <==
2022-08-19T13:59:21 [D|app|27d12fed] Processing task 'Query instance details for client.example.com' from 'Host::Managed Main'
2022-08-19T13:59:21 [D|app|27d12fed] Orchestration::Compute: Trying to match network interfaces from fog <Fog::Vsphere::Compute::Interfaces
27d12fed | server_id="50269259-a089-3b27-7bbe-9e4af4e03684"
27d12fed | [
27d12fed | <Fog::Vsphere::Compute::Interface
27d12fed | mac="00:50:56:a6:aa:8e",
27d12fed | network="dvportgroup-3567",
27d12fed | name="Network adapter 1",
27d12fed | status="untried",
27d12fed | connected=false,
27d12fed | summary="DVSwitch: e7 e5 0c 50 5f a1 2d e0-cb 19 92 a2 c2 b4 c8 28",
27d12fed | type=RbVmomi::VIM::VirtualVmxnet3,
27d12fed | key=4000,
27d12fed | virtualswitch=nil,
27d12fed | server_id="50269259-a089-3b27-7bbe-9e4af4e03684"
27d12fed | >
27d12fed | ]
27d12fed | >
2022-08-19T13:59:22 [W|app|27d12fed] Orchestration::Compute: Could not match network interface #<Nic::Managed id: nil, mac: nil, ip: "xx.xx.xx.xx", type: "Nic::Managed", name: "client.example.com", host_id: nil, subnet_id: 1, 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:
, execution: true, ip6: "", subnet6_id: nil>
2022-08-19T13:59:22 [W|app|27d12fed] Could not find virtual machine network interface matching "xx.xx.xx.xx"
-----------------
Expected results:
Build system without issues
Additional info:
- external trackers