[openstack-dev] RHOSP 10 registering nodes for the undercloud fails

Anda Nicolae anicolae at lenovo.com
Thu Jan 25 15:01:26 UTC 2018


Hello,

I am trying to deploy OpenStack 10 using OpenStack Platform Director 10.
I am using a bare-metal server with RedHat 7.4, on which I have created 3 VMs: 1st VM is the undercloud node, 2nd VM is the overcloud controller node and the 3rd VM is the overcloud compute node.
The bare-metal server I am using is also my KVM hypervisor for the overcloud.
The bare-metal server has 2 interfaces: an external interface used in instackenv.json for registering the overcloud nodes and a provisioning interface which will be used for provisioning the overcloud nodes.

My 1st question is: Is it mandatory that the KVM hypervisor for the overcloud VMs and the undercloud are the same machine?
As you can see, in my case the undercloud VM and the KVM hypervisor are different machines.
I saw a blog post which used a topology similar to mine: https://keithtenzer.com/2017/04/20/red-hat-openstack-platform-10-newton-installation-and-configuration-guide/

The error I am getting while running:
openstack baremetal import -- json ~/.instackenv.json
is in ironic_conductor.log: Failed to validate power driver interface for node <uuid>. Error: SSH connection cannot be established: Failed to establish SSH connection to host <kvm_hypervisor_external_ip_address >

I have created the instackenv.json file which looks similar to this:

  "arch": "x86_64",
  "host-ip": "kvm_hypervisor_external_ip_address",
  "power_manager": "nova.virt.baremetal.virtual_power_driver.VirtualPowerManager",
  "ssh-user": "stack",
  "ssh-key": "$(cat ~/.ssh/id_rsa)",
  "nodes": [
    {
      "mac": [
        "<overcloud_controller_provisioning_interface_mac_address>"
      ],
      "name": "overcloud-controller",
      "capabilities" : "profile:control",
      "cpu": "4",
      "memory": "6000",
      "disk": "50",
      "arch": "x86_64",
      "pm_user": "stack",
      "pm_addr": "kvm_hypervisor_external_ip_address",
      "pm_password": "$(cat ~/.ssh/id_rsa)",
      "pm_type": "pxe_ssh"
    }
    ,
    {
      "mac": [
        "<overcloud_compute_provisioning_interface_mac_address>"
      ],
      "name": "overcloud-compute",
      "capabilities" : "profile:compute",
      "cpu": "4",
      "memory": "6000",
      "disk": "50",
      "arch": "x86_64",
      "pm_user": "stack",
      "pm_addr": "hypervisor_external_ip_address",
      "pm_password": "$(cat ~/.ssh/id_rsa)",
      "pm_type": "pxe_ssh"
    }
  ]
}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180125/2b95e4ce/attachment.html>


More information about the OpenStack-dev mailing list