Ask Your Question
0

TripleO fake_pxe not working on VMWare ESXi

asked 2017-02-24 15:31:44 -0500

Pieter gravatar image

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: http://i.imgur.com/hbtkMP6.png (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!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-06-16 04:52:18 -0500

As far as I know, fake_pxe doesn't support powering on and off so I would suppose neither power information would be available. Source: https://access.redhat.com/documentati...

edit flag offensive delete link more
0

answered 2017-02-27 01:35:40 -0500

dbaxps gravatar image

updated 2017-02-27 01:37:10 -0500

I am not quite sure that it is correct answer , but per https://www.redhat.com/archives/rdo-l...
Some other notable additions:

- python-virtualbmc (https://github.com/openstack/virtualbmc) VirtualBMC is a proxy that translates IPMI commands to libvirt calls.  This allows projects such as OpenStack Ironic to test IPMI drivers using VMs.

So TripleO VENV relays on Libvirt presence on undercloud VM, which you might miss in VMWare environment. Even before this change coming with RDO Ocata fake-pxe booting was Libvirt dependent feature in TripleO QS either instack-virt-setup ( TripleO VENV classic approach ).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-24 15:30:26 -0500

Seen: 578 times

Last updated: Jun 16