Hi,

Comments inline.

On 01/25/2018 10:56 PM, Anda Nicolae wrote:
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.

I'm not sure I understand how the bare metal server's interfaces are related here. What you need is two *virtual* networks: one joining the undercloud and the host for controlling the undercloud, the other joining the undercloud and all overcloud nodes for provisioning. You may add more, of course, if you need them. In your pm_addr field you have to use the IP address of the host node in the first virtual network.


My 1st question is: Is it mandatory that the KVM hypervisor for the overcloud VMs and the undercloud are the same machine?

It's not, but making DHCP work across hypervisors may be a difficult task.


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 >

First of all, put your private key somewhere and make sure the following works *from the undercloud* without asking for any passwords:

 ssh -i <path to private key> <hypervisor ip address>

Hope that helps,
Dmitry


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": "<kvm_hypervisor_external_ip_address>",

       "pm_password": "$(cat ~/.ssh/id_rsa)",

       "pm_type": "pxe_ssh"

     }

   ]

}

Do you have any idea what might have gone wrong and how can I progress with my overcloud node registration?

Thanks,

Anda



_______________________________________________
users mailing list
users@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/users

To unsubscribe: users-unsubscr...@lists.rdoproject.org


_______________________________________________
users mailing list
users@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/users

To unsubscribe: users-unsubscr...@lists.rdoproject.org

Reply via email to