Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

TripleO fake_pxe not working on VMWare ESXi

Hi,

I'm trying to setup openstack using tripleO in my lab over my VMWare ESXi infrastructure. I created a VM for the undercloud and configured it, but I'm unsuccessful in trying to get ironic to see the power-status of the other VM's I have.

This is the instackenv.json file I created for this use.

{
 "nodes": [
 {
   "arch": "x86_64",
   "cpu": "2",
   "disk": "20",
   "mac": [
   "00:0c:45:5e:87:60"
   ],
   "memory": "8192",
   "pm_type": "fake_pxe"
 },
  {
   "arch": "x86_64",
   "cpu": "2",
   "disk": "20",
   "mac": [
   "00:0c:45:5e:87:70"
   ],
   "memory": "8192",
   "pm_type": "fake_pxe"
 }
}

After importing the file in ironic using the import command and powering on the VM's from the VMWare ESXi GUI, the state of the VM's remains in "power-off". On top of this, the instance UUID is "None", I'm guessing this is not normal behavior?

[stack@director ~]$ openstack baremetal import --json instackenv.json
[stack@director ~]$ ironic node-list
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| 357b07c5-6b01-4b22-be9d-613ae30fe1b2 | None | None          | power off   | available          | False       |
| e28afb70-9006-47a4-8c79-46cccd07ed80 | None | None          | power off   | available          | False       |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+

The view from VMWare: image description

Regarding the networking, I configured all the VM's with two interfaces - one on a "openstack management network" and one on the "VM network", which is connected to the outside world. I configured the undercloud node to use the management network NIC as br-ctlplane.

Hope it's clear and someone can help me out... Thanks!