esxi deployment do not get networking and host configuration post deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
focal
maas 3.1.1-10918-
When deploying an ESXi image to an enlisted and ready server, the installation finishes from a VMware installer perspective, however when the machine comes up, it doesn't get the actual IP configuration that was sent via curtin, nor does it get a hostname assigned.
This snippit from the logs shows it was trying to be sent to the ESXi host.
```
cloud-init[1620]: start: cmd-install/
cloud-init[1620]: start: cmd-install/
cloud-init[1620]: start: cmd-install/
cloud-init[1620]: net-meta mode is 'custom'. devices=[]
cloud-init[1620]: writing to file /tmp/tmpu8_
cloud-init[1620]: config:
cloud-init[1620]: - id: enp1s0
cloud-init[1620]: mac_address: 52:54:00:18:13:c4
cloud-init[1620]: mtu: 1500
cloud-init[1620]: name: enp1s0
cloud-init[1620]: subnets:
cloud-init[1620]: - address: 192.168.100.12/24
cloud-init[1620]: dns_nameservers:
cloud-init[1620]: - 192.168.100.10
cloud-init[1620]: dns_search:
cloud-init[1620]: - maas
cloud-init[1620]: gateway: 192.168.100.1
cloud-init[1620]: type: static
cloud-init[1620]: type: physical
cloud-init[1620]: - address:
cloud-init[1620]: - 192.168.100.10
cloud-init[1620]: search:
cloud-init[1620]: - maas
cloud-init[1620]: type: nameserver
cloud-init[1620]: version: 1
cloud-init[1620]: finish: cmd-install/
cloud-init[1620]: finish: cmd-install/
cloud-init[1620]: builtin took 0.250 seconds
cloud-init[1620]: stage_network took 0.250 seconds
cloud-init[1620]: finish: cmd-install/
```
When the machine boots up, it instead gets a DHCP address from MAAS's dynamic pool. And ultimately it goes to a Failed Deployment state, yet still stays up and is usage from an ESXi perspective.
I have tested this with legacy BIOS, UEFI and Secure Boot, all exhibit the same behavior.
Test with ESXi 7 and 8.
Changed in maas: | |
status: | Incomplete → New |
status: | New → Incomplete |
can you access this host and get us the contents of `/var/log/maas.log` ?