How to install OpenStack Platform 10 virtualized

Latest response

Hi there,

I am trying to install Red Hat OpenStack Platform 10 on top of KVM but I can't get Director to register virtual nodes using ssh_pxe with the web GUI. The KVM host has been configured to allow pass-through and nested virtualization on a host with 256GB memory, 48 vCPUs and plenty disk space. The installed Director can register physical nodes with no problem so I guess I am missing something.

Can anyone share a document that tell us how to properly register virtual machines as nodes on OpenStack Platform 10 using Director's web GUI?

Thanks,
Moacir

Responses

So it sounds like the VM is having trouble accessing the host for power management control of the VM. This could be a number of things, but two items pop into my mind:

  • It could be a problem with the network setup you're using. For example, you might be using macvtap to enable passthrough. If so, macvtap has a limitation where the undercloud guest won't be able access the host on that NIC. So if you're trying to access the host through that particular NIC, it'll fail. The way to workaround this is by either creating a separate virtual network and vNIC for the undercloud to access the host, or create a bridge on the host with the physical NIC as a slave, then connect the undercloud's vNIC to the bridge.
  • A fault with the access details/SSH key. Best to double check the details: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/director_installation_and_usage/appe-power_management_drivers#sect-SSH_and_Virsh

I was using the default NATed KVM network (192.168.122.0/24) so the VMs could reach the physical host. Anyway, I found the using the very same environment I can register VM nodes from the CLI. So now the question is: Can anyone install a virtualized lab using the web GUI or am I missing something?

I think there might be something missing during the registration, though I'm not sure what it could be exactly.

Actually, I think it might be the private key. I know with the CLI you have to use escaped newline characters but I think with the UI you shouldn't use the escaped newlines. Have you copying and pasting the SSH key without the escaped characters?

Thank you for your help Daniel. The problem was escaping the new line characters. But honestly, I find it disgusting when we follow exactly the instructions says and it doesn't work. The documentation clear states we must delete the new lines (escape it) and make it a single one. As anyone know, not following the documentation may lead you to loose days of work, like I have done. Now, if the methods are different from CLI to GUI, why it is not documented? I am asking because that is what I would expect from a paid product. If we loose several days to install a Red Hat product to study it, what the benefit is? And yes, sorry for all this "aggression" that for sure shouldn't be addressed to you, that solved my problem, but to Red Hat.

Hi Moacir,

You're absolutely right that it should be documented. I also don't think your comments were all that aggressive and you make some very valid points. Plus, if anything, part of blame should be directed at me since I am one of the technical writers for OpenStack.

I'll work on correcting this ASAP.

Hello Moacir Ferreira,

We are trying to evaluate RHOS 12 in a virtualized environment but hitting a couple of issues. Please, can you share your guideline or steps you used to deploy RHOS 12 in a virtual environment. thanks

Hi Imran,

I might be able to help. What issues are you facing?

Dan

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.